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

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

Destructor: clean up memory allocated by the object.

Destructor. Make sure to clean up all allocated memory, so that multiple instances of the problem don't lead to excessive memory usage.

Definition at line 758 of file static_single_layer.cc.

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

Destructor: clean up memory allocated by the object.

Member Function Documentation

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

Create the contact angle element.

Definition at line 892 of file static_single_layer.cc.

References Global_Physical_Variables::wall_unit_normal_fct().

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

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

Create the contact angle element.

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

Create the free surface elements.

Definition at line 799 of file static_single_layer.cc.

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

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

Create the free surface elements.

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

Create the volume constraint elements.

Definition at line 846 of file static_single_layer.cc.

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

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

Create the volume constraint elements.

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

Doc the solution.

Definition at line 971 of file static_single_layer.cc.

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

Doc the solution.

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.

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

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

The contact angle.

Definition at line 547 of file static_single_layer.cc.

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

Storage for the bulk mesh.

Definition at line 564 of file static_single_layer.cc.

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

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.

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

The Capillary number.

Definition at line 538 of file static_single_layer.cc.

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().

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

Data object whose single value stores the external pressure.

Definition at line 553 of file static_single_layer.cc.

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

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

Storage for the element bounding the free surface.

Definition at line 570 of file static_single_layer.cc.

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

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

Storage for the free surface mesh.

Definition at line 567 of file static_single_layer.cc.

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

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().

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

Trace file.

Definition at line 561 of file static_single_layer.cc.

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

The prescribed volume of the fluid.

Definition at line 541 of file static_single_layer.cc.

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

Storage for the elements that compute the enclosed volume.

Definition at line 573 of file static_single_layer.cc.

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

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

Storage for the volume constraint.

Definition at line 576 of file static_single_layer.cc.

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


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