Public Member Functions | Private Member Functions | Private Attributes | List of all members
PseudoSolidCapProblem< ELEMENT > Class Template Reference

A class that solves the Navier–Stokes equations to compute the shape of a static interface in a rectangular container with imposed contact angle at the boundary. More...

Inheritance diagram for PseudoSolidCapProblem< ELEMENT >:

Public Member Functions

 PseudoSolidCapProblem (const bool &hijack_internal)
 
 ~PseudoSolidCapProblem ()
 Destructor: clean up memory allocated by the object. More...
 
void parameter_study (const string &dir_name)
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 
 PseudoSolidCapProblem (const unsigned &Nx, const unsigned &Nh1, const unsigned &Nh2)
 
 ~PseudoSolidCapProblem ()
 Destructor: clean up memory allocated by the object. More...
 
void parameter_study (const string &dir_name)
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 

Private Member Functions

void create_free_surface_elements ()
 Create the free surface elements. More...
 
void create_volume_constraint_elements ()
 Create the volume constraint elements. More...
 
void create_contact_angle_element ()
 Create the contact angle element. More...
 
void create_free_surface_elements ()
 Create the free surface elements. More...
 
void create_volume_constraint_elements ()
 Create the volume constraint elements. More...
 
void create_contact_angle_element ()
 Create the contact angle element. More...
 

Private Attributes

double Ca
 The Capillary number. More...
 
double Volume
 The prescribed volume of the fluid. More...
 
double Pext
 The external pressure. More...
 
double Angle
 The contact angle. More...
 
ConstitutiveLaw * Constitutive_law_pt
 Constitutive law used to determine the mesh deformation. More...
 
Data * External_pressure_data_pt
 Data object whose single value stores the external pressure. More...
 
Data * Traded_pressure_data_pt
 
ofstream Trace_file
 Trace file. More...
 
Mesh * Bulk_mesh_pt
 Storage for the bulk mesh. More...
 
Mesh * Free_surface_mesh_pt
 Storage for the free surface mesh. More...
 
Mesh * Free_surface_bounding_mesh_pt
 Storage for the element bounding the free surface. More...
 
Mesh * Volume_computation_mesh_pt
 Storage for the elements that compute the enclosed volume. More...
 
Mesh * Volume_constraint_mesh_pt
 Storage for the volume constraint. More...
 
ElasticTwoLayerMesh< ELEMENT > * Bulk_mesh_pt
 Storage for the bulk mesh. More...
 

Detailed Description

template<class ELEMENT>
class PseudoSolidCapProblem< ELEMENT >

A class that solves the Navier–Stokes equations to compute the shape of a static interface in a rectangular container with imposed contact angle at the boundary.

A class that solves the Navier–Stokes equations to compute the shape of a static interface between two fluids in a rectangular container with an imposed contact angle at the boundary.

Definition at line 508 of file static_single_layer.cc.

Constructor & Destructor Documentation

◆ PseudoSolidCapProblem() [1/2]

template<class ELEMENT >
PseudoSolidCapProblem< ELEMENT >::PseudoSolidCapProblem ( const bool &  hijack_internal)

◆ ~PseudoSolidCapProblem() [1/2]

template<class ELEMENT >
PseudoSolidCapProblem< ELEMENT >::~PseudoSolidCapProblem ( )

◆ PseudoSolidCapProblem() [2/2]

template<class ELEMENT >
PseudoSolidCapProblem< ELEMENT >::PseudoSolidCapProblem ( const unsigned &  Nx,
const unsigned &  Nh1,
const unsigned &  Nh2 
)

◆ ~PseudoSolidCapProblem() [2/2]

template<class ELEMENT >
PseudoSolidCapProblem< ELEMENT >::~PseudoSolidCapProblem ( )

Destructor: clean up memory allocated by the object.

Member Function Documentation

◆ create_contact_angle_element() [1/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_contact_angle_element ( )
private

◆ create_contact_angle_element() [2/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_contact_angle_element ( )
private

Create the contact angle element.

◆ create_free_surface_elements() [1/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_free_surface_elements ( )
private

◆ create_free_surface_elements() [2/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_free_surface_elements ( )
private

Create the free surface elements.

◆ create_volume_constraint_elements() [1/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_volume_constraint_elements ( )
private

◆ create_volume_constraint_elements() [2/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::create_volume_constraint_elements ( )
private

Create the volume constraint elements.

◆ doc_solution() [1/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::doc_solution ( DocInfo &  doc_info)

◆ doc_solution() [2/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

◆ parameter_study() [1/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::parameter_study ( const string &  dir_name)

Peform a parameter study: Solve problem for a range of contact angles Pass name of output directory as a string

Perform a parameter study. Pass name of output directory as a string

Definition at line 929 of file static_single_layer.cc.

References PseudoSolidCapProblem< ELEMENT >::Angle, PseudoSolidCapProblem< ELEMENT >::doc_solution(), and PseudoSolidCapProblem< ELEMENT >::Trace_file.

Referenced by PseudoSolidCapProblem< ELEMENT >::PseudoSolidCapProblem().

◆ parameter_study() [2/2]

template<class ELEMENT >
void PseudoSolidCapProblem< ELEMENT >::parameter_study ( const string &  dir_name)

Peform a parameter study: Solve problem for a range of contact angles Pass name of output directory as a string

Member Data Documentation

◆ Angle

template<class ELEMENT >
double PseudoSolidCapProblem< ELEMENT >::Angle
private

◆ Bulk_mesh_pt [1/2]

template<class ELEMENT >
Mesh* PseudoSolidCapProblem< ELEMENT >::Bulk_mesh_pt
private

◆ Bulk_mesh_pt [2/2]

template<class ELEMENT >
ElasticTwoLayerMesh<ELEMENT>* PseudoSolidCapProblem< ELEMENT >::Bulk_mesh_pt
private

Storage for the bulk mesh.

Definition at line 808 of file static_two_layer.cc.

◆ Ca

template<class ELEMENT >
double PseudoSolidCapProblem< ELEMENT >::Ca
private

◆ Constitutive_law_pt

template<class ELEMENT >
ConstitutiveLaw * PseudoSolidCapProblem< ELEMENT >::Constitutive_law_pt
private

Constitutive law used to determine the mesh deformation.

Definition at line 550 of file static_single_layer.cc.

Referenced by PseudoSolidCapProblem< ELEMENT >::PseudoSolidCapProblem(), and PseudoSolidCapProblem< ELEMENT >::~PseudoSolidCapProblem().

◆ External_pressure_data_pt

template<class ELEMENT >
Data* PseudoSolidCapProblem< ELEMENT >::External_pressure_data_pt
private

◆ Free_surface_bounding_mesh_pt

template<class ELEMENT >
Mesh * PseudoSolidCapProblem< ELEMENT >::Free_surface_bounding_mesh_pt
private

◆ Free_surface_mesh_pt

template<class ELEMENT >
Mesh * PseudoSolidCapProblem< ELEMENT >::Free_surface_mesh_pt
private

◆ Pext

template<class ELEMENT >
double PseudoSolidCapProblem< ELEMENT >::Pext
private

The external pressure.

Definition at line 544 of file static_single_layer.cc.

Referenced by PseudoSolidCapProblem< ELEMENT >::PseudoSolidCapProblem().

◆ Trace_file

template<class ELEMENT >
ofstream PseudoSolidCapProblem< ELEMENT >::Trace_file
private

◆ Traded_pressure_data_pt

template<class ELEMENT >
Data * PseudoSolidCapProblem< ELEMENT >::Traded_pressure_data_pt
private

◆ Volume

template<class ELEMENT >
double PseudoSolidCapProblem< ELEMENT >::Volume
private

◆ Volume_computation_mesh_pt

template<class ELEMENT >
Mesh * PseudoSolidCapProblem< ELEMENT >::Volume_computation_mesh_pt
private

◆ Volume_constraint_mesh_pt

template<class ELEMENT >
Mesh * PseudoSolidCapProblem< ELEMENT >::Volume_constraint_mesh_pt
private

The documentation for this class was generated from the following files: