////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// More...
Public Member Functions | |
BrethertonProblem () | |
Constructor: More... | |
void | actions_before_newton_convergence_check () |
Spine heights/lengths are unknowns in the problem so their values get corrected during each Newton step. However, changing their value does not automatically change the nodal positions, so we need to update all of them. More... | |
void | actions_before_newton_solve () |
Update before solve: empty. More... | |
void | actions_after_newton_solve () |
Update after solve can remain empty, because the update is performed automatically after every Newton step. More... | |
void | fix_pressure (const unsigned &e, const unsigned &l, const double &pvalue) |
Fix pressure value l in element e to value p_value. More... | |
void | activate_inflow_dependency () |
Activate the dependency of the inflow velocity on the spine heights at the outflow. More... | |
void | parameter_study (const unsigned &nsteps) |
Run a parameter study; perform specified number of steps. More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. More... | |
Private Attributes | |
ELEMENT * | Control_element_pt |
Pointer to control element. More... | |
ofstream | Trace_file |
Trace file. More... | |
BrethertonSpineMesh< ELEMENT, SpineLineFluidInterfaceElement< ELEMENT > > * | Bulk_mesh_pt |
Pointer to bulk mesh. More... | |
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
Bretherton problem
Definition at line 464 of file bretherton.cc.
BrethertonProblem< ELEMENT >::BrethertonProblem |
Constructor:
Problem constructor.
Definition at line 551 of file bretherton.cc.
References Global_Physical_Variables::Ca, Global_Physical_Variables::G(), Global_Physical_Variables::H_lo_pt, Global_Physical_Variables::H_up_pt, Global_Physical_Variables::Re, Global_Physical_Variables::ReInvFr, Global_Physical_Variables::ReSt, Global_Physical_Variables::Y_lo_pt, and Global_Physical_Variables::Y_up_pt.
|
inline |
Update after solve can remain empty, because the update is performed automatically after every Newton step.
Definition at line 509 of file bretherton.cc.
|
inline |
Spine heights/lengths are unknowns in the problem so their values get corrected during each Newton step. However, changing their value does not automatically change the nodal positions, so we need to update all of them.
Definition at line 477 of file bretherton.cc.
References Global_Physical_Variables::inflow().
|
inline |
Update before solve: empty.
Definition at line 505 of file bretherton.cc.
void BrethertonProblem< ELEMENT >::activate_inflow_dependency |
Activate the dependency of the inflow velocity on the spine heights at the outflow.
Loop over elements on inflow boundary (1)
Definition at line 726 of file bretherton.cc.
References Global_Physical_Variables::inflow().
void BrethertonProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution.
Definition at line 762 of file bretherton.cc.
References Global_Physical_Variables::Ca.
|
inline |
Fix pressure value l in element e to value p_value.
Definition at line 512 of file bretherton.cc.
void BrethertonProblem< ELEMENT >::parameter_study | ( | const unsigned & | nsteps | ) |
Run a parameter study; perform specified number of steps.
Parameter study.
Definition at line 816 of file bretherton.cc.
References Global_Physical_Variables::Ca.
Referenced by main().
|
private |
Pointer to bulk mesh.
Definition at line 542 of file bretherton.cc.
|
private |
Pointer to control element.
Definition at line 535 of file bretherton.cc.
|
private |
Trace file.
Definition at line 538 of file bretherton.cc.