Ring problem. More...
Public Member Functions | |
ElasticRingProblem (const unsigned &N, const double &L) | |
Constructor: Number of elements, length of domain, flag for setting Newmark IC directly or consistently. More... | |
OneDLagrangianMesh< ELEMENT > * | mesh_pt () |
Access function for the mesh. More... | |
void | actions_after_newton_solve () |
Update function is empty. More... | |
void | actions_before_newton_solve () |
Update function is empty. More... | |
void | doc_solution (DocInfo &doc_info) |
Doc solution. More... | |
void | unsteady_run () |
Do unsteady run. More... | |
ElasticRingProblem (const unsigned &n_element) | |
Constructor: Number of elements. More... | |
OneDLagrangianMesh< ELEMENT > * | mesh_pt () |
Access function for the specific mesh. More... | |
void | actions_after_newton_solve () |
Update function is empty. More... | |
void | actions_before_newton_solve () |
Update function is empty. More... | |
void | set_initial_conditions () |
Setup initial conditions. More... | |
void | doc_solution (DocInfo &doc_info) |
Doc solution. More... | |
void | unsteady_run () |
Do unsteady run. More... | |
void | dump_it (ofstream &dump_file) |
Dump problem-specific parameter values, then dump generic problem data. More... | |
void | restart (ifstream &restart_file) |
Read problem-specific parameter values, then recover generic problem data. More... | |
Private Attributes | |
double | Length |
Length of domain (in terms of the Lagrangian coordinates) More... | |
ELEMENT * | Displ_control_elem_pt |
In which element are we applying displacement control? (here only used for doc of radius) More... | |
Vector< double > | S_displ_control |
At what local coordinate are we applying displacement control? More... | |
GeomObject * | Undef_geom_pt |
Pointer to geometric object that represents the undeformed shape. More... | |
SolidInitialCondition * | IC_pt |
Pointer to object that specifies the initial condition. More... | |
ofstream | Trace_file |
Trace file for recording control data. More... | |
unsigned | Validation_run_flag |
Flag for validation run: Default: 0 = no validation run. More... | |
bool | Restart_flag |
Restart flag specified via command line? More... | |
Ring problem.
Oscillating ring problem: Compare small-amplitude oscillations against analytical solution of the linearised equations.
Definition at line 75 of file lin_unsteady_ring.cc.
ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem | ( | const unsigned & | N, |
const double & | L | ||
) |
Constructor: Number of elements, length of domain, flag for setting Newmark IC directly or consistently.
Constructor for elastic ring problem.
Definition at line 132 of file lin_unsteady_ring.cc.
ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem | ( | const unsigned & | n_element | ) |
Constructor: Number of elements.
Constructor for elastic ring problem.
Definition at line 162 of file unsteady_ring.cc.
References ElasticRingProblem< ELEMENT, TIMESTEPPER >::doc_solution(), Global_Physical_Variables::H, Global_Physical_Variables::Lambda_sq, and Global_Physical_Variables::press_load().
|
inline |
Update function is empty.
Definition at line 91 of file lin_unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 117 of file unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 94 of file lin_unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 120 of file unsteady_ring.cc.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc solution.
Document solution.
Definition at line 217 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc solution.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::dump_it | ( | ofstream & | dump_file | ) |
Dump problem-specific parameter values, then dump generic problem data.
Dump problem-specific parameter values, then dump generic problem data.
Definition at line 329 of file unsteady_ring.cc.
References Global_Physical_Variables::Pcos.
|
inline |
Access function for the mesh.
Definition at line 85 of file lin_unsteady_ring.cc.
|
inline |
Access function for the specific mesh.
Definition at line 111 of file unsteady_ring.cc.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::restart | ( | ifstream & | restart_file | ) |
Read problem-specific parameter values, then recover generic problem data.
Read problem-specific parameter values, then recover generic problem data.
Definition at line 351 of file unsteady_ring.cc.
References Global_Physical_Variables::Pcos.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::set_initial_conditions | ( | ) |
Setup initial conditions.
Setup initial conditions – either restart from solution specified via command line or impulsive start.
Definition at line 384 of file unsteady_ring.cc.
References Global_Physical_Variables::Alpha, Global_Physical_Variables::Pcos, Global_Physical_Variables::T_kick, and ElasticRingProblem< ELEMENT, TIMESTEPPER >::unsteady_run().
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::unsteady_run | ( | ) |
Do unsteady run.
Solver loop to perform unsteady run.
Label for output
Definition at line 324 of file lin_unsteady_ring.cc.
References Global_Physical_Variables::Consistent_newmark_ic, Global_Physical_Variables::Fixed_timestep_flag, and Global_Physical_Variables::Long_run_flag.
Referenced by main(), and ElasticRingProblem< ELEMENT, TIMESTEPPER >::set_initial_conditions().
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::unsteady_run | ( | ) |
Do unsteady run.
|
private |
In which element are we applying displacement control? (here only used for doc of radius)
Definition at line 109 of file lin_unsteady_ring.cc.
|
private |
Pointer to object that specifies the initial condition.
Definition at line 118 of file lin_unsteady_ring.cc.
|
private |
Length of domain (in terms of the Lagrangian coordinates)
Definition at line 105 of file lin_unsteady_ring.cc.
|
private |
Restart flag specified via command line?
Definition at line 149 of file unsteady_ring.cc.
|
private |
At what local coordinate are we applying displacement control?
Definition at line 112 of file lin_unsteady_ring.cc.
|
private |
Trace file for recording control data.
Definition at line 121 of file lin_unsteady_ring.cc.
|
private |
Pointer to geometric object that represents the undeformed shape.
Definition at line 115 of file lin_unsteady_ring.cc.
|
private |
Flag for validation run: Default: 0 = no validation run.
Definition at line 146 of file unsteady_ring.cc.