/////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// More...
Public Member Functions | |
RefineableConvectionProblem () | |
Constructor. More... | |
~RefineableConvectionProblem () | |
Destructor. Empty. More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
RefineableRectangularQuadMesh< NST_ELEMENT > * | nst_mesh_pt () |
Access function to the NST mesh. Casts the pointer to the base Mesh object to the actual mesh type. More... | |
RefineableRectangularQuadMesh< AD_ELEMENT > * | adv_diff_mesh_pt () |
Access function to the AD mesh. Casts the pointer to the base Mesh object to the actual mesh type. More... | |
void | actions_before_adapt () |
Actions before adapt:(empty) More... | |
void | actions_after_adapt () |
Actions after adaptation, reset all sources, then re-pin a single pressure degree of freedom. More... | |
void | fix_pressure (const unsigned &e, const unsigned &pdof, const double &pvalue) |
Fix pressure in element e at pressure dof pdof and set to pvalue. More... | |
void | enable_imperfection () |
Set the boundary condition on the upper wall to be perturbed slightly to force the solution into the symmetry broken state. More... | |
void | disable_imperfection () |
Set th boundary condition on the upper wall to be unperturbed. More... | |
void | doc_solution () |
Doc the solution. More... | |
RefineableConvectionProblem () | |
Constructor. More... | |
~RefineableConvectionProblem () | |
Destructor. Empty. More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve: More... | |
void | actions_after_newton_solve () |
Update the problem after solve (empty) More... | |
RectangularQuadMesh< ELEMENT > * | mesh_pt () |
Overloaded version of the problem's access function to the mesh. Recasts the pointer to the base Mesh object to the actual mesh type. More... | |
void | actions_before_adapt () |
Actions before adapt:(empty) More... | |
void | actions_after_adapt () |
Actions after adaptation, Re-pin a single pressure degree of freedom. More... | |
void | fix_pressure (const unsigned &e, const unsigned &pdof, const double &pvalue) |
Fix pressure in element e at pressure dof pdof and set to pvalue. More... | |
void | enable_imperfection () |
Set the boundary condition on the upper wall to be perturbed slightly to force the solution into the symmetry broken state. More... | |
void | disable_imperfection () |
Set the boundary condition on the upper wall to be unperturbed. More... | |
void | doc_solution () |
Doc the solution. More... | |
Protected Attributes | |
RefineableRectangularQuadMesh< NST_ELEMENT > * | Nst_mesh_pt |
Navier Stokes mesh. More... | |
RefineableRectangularQuadMesh< AD_ELEMENT > * | Adv_diff_mesh_pt |
Advection diffusion mesh. More... | |
Private Attributes | |
DocInfo | Doc_info |
DocInfo object. More... | |
bool | Imperfect |
Is the boundary condition imperfect or not. More... | |
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
2D Convection problem on two rectangular domains, discretised with refineable Navier-Stokes and Advection-Diffusion elements. The specific type of element is specified via the template parameters.
2D Convection problem on rectangular domain, discretised with refineable elements. The specific type of element is specified via the template parameter.
Definition at line 80 of file multi_domain_ref_b_convection.cc.
RefineableConvectionProblem< ELEMENT >::RefineableConvectionProblem |
Constructor.
Constructor for adaptive thermal convection problem.
Definition at line 186 of file multi_domain_ref_b_convection.cc.
References Global_Physical_Variables::Direction_of_gravity(), Global_Physical_Variables::Inverse_Prandtl, Global_Physical_Variables::Peclet, and Global_Physical_Variables::Rayleigh.
|
inline |
Destructor. Empty.
Definition at line 89 of file multi_domain_ref_b_convection.cc.
RefineableConvectionProblem< NST_ELEMENT, AD_ELEMENT >::RefineableConvectionProblem | ( | ) |
Constructor.
|
inline |
Destructor. Empty.
Definition at line 93 of file refineable_b_convection.cc.
|
inline |
Actions after adaptation, reset all sources, then re-pin a single pressure degree of freedom.
Definition at line 120 of file multi_domain_ref_b_convection.cc.
|
inline |
Actions after adaptation, Re-pin a single pressure degree of freedom.
Definition at line 115 of file refineable_b_convection.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 95 of file multi_domain_ref_b_convection.cc.
|
inline |
Update the problem after solve (empty)
Definition at line 99 of file refineable_b_convection.cc.
|
inline |
Actions before adapt:(empty)
Definition at line 116 of file multi_domain_ref_b_convection.cc.
|
inline |
Actions before adapt:(empty)
Definition at line 111 of file refineable_b_convection.cc.
void RefineableConvectionProblem< ELEMENT >::actions_before_newton_solve |
Update the problem specs before solve:
Update the problem specs before solve: (Re-)set boundary conditions to include an imperfection (or not) depending on the control flag.
Definition at line 364 of file multi_domain_ref_b_convection.cc.
void RefineableConvectionProblem< NST_ELEMENT, AD_ELEMENT >::actions_before_newton_solve | ( | ) |
Update the problem specs before solve:
|
inline |
Access function to the AD mesh. Casts the pointer to the base Mesh object to the actual mesh type.
Definition at line 109 of file multi_domain_ref_b_convection.cc.
|
inline |
Set th boundary condition on the upper wall to be unperturbed.
Definition at line 158 of file multi_domain_ref_b_convection.cc.
|
inline |
Set the boundary condition on the upper wall to be unperturbed.
Definition at line 142 of file refineable_b_convection.cc.
void RefineableConvectionProblem< ELEMENT >::doc_solution |
Doc the solution.
Definition at line 432 of file multi_domain_ref_b_convection.cc.
void RefineableConvectionProblem< NST_ELEMENT, AD_ELEMENT >::doc_solution | ( | ) |
Doc the solution.
|
inline |
Set the boundary condition on the upper wall to be perturbed slightly to force the solution into the symmetry broken state.
Definition at line 154 of file multi_domain_ref_b_convection.cc.
|
inline |
Set the boundary condition on the upper wall to be perturbed slightly to force the solution into the symmetry broken state.
Definition at line 138 of file refineable_b_convection.cc.
|
inline |
Fix pressure in element e at pressure dof pdof and set to pvalue.
Definition at line 139 of file multi_domain_ref_b_convection.cc.
|
inline |
Fix pressure in element e at pressure dof pdof and set to pvalue.
Definition at line 127 of file refineable_b_convection.cc.
|
inline |
Overloaded version of the problem's access function to the mesh. Recasts the pointer to the base Mesh object to the actual mesh type.
Definition at line 104 of file refineable_b_convection.cc.
|
inline |
Access function to the NST mesh. Casts the pointer to the base Mesh object to the actual mesh type.
Definition at line 100 of file multi_domain_ref_b_convection.cc.
|
protected |
Advection diffusion mesh.
Definition at line 177 of file multi_domain_ref_b_convection.cc.
|
private |
DocInfo object.
Definition at line 166 of file multi_domain_ref_b_convection.cc.
|
private |
Is the boundary condition imperfect or not.
Definition at line 169 of file multi_domain_ref_b_convection.cc.
|
protected |
Navier Stokes mesh.
Definition at line 174 of file multi_domain_ref_b_convection.cc.