////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// 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... | |
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
Oscillating ring problem: Compare small-amplitude oscillations against analytical solution of the linearised equations.
Ring problem
Definition at line 71 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 127 of file lin_unsteady_ring.cc.
References ElasticRingProblem< ELEMENT, TIMESTEPPER >::Displ_control_elem_pt, ElasticRingProblem< ELEMENT, TIMESTEPPER >::IC_pt, ElasticRingProblem< ELEMENT, TIMESTEPPER >::mesh_pt(), ElasticRingProblem< ELEMENT, TIMESTEPPER >::S_displ_control, and ElasticRingProblem< ELEMENT, TIMESTEPPER >::Undef_geom_pt.
ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem | ( | const unsigned & | n_element | ) |
Constructor: Number of elements.
Constructor for elastic ring problem.
Definition at line 157 of file unsteady_ring.cc.
References Global_Physical_Variables::H, Global_Physical_Variables::Lambda_sq, ElasticRingProblem< ELEMENT, TIMESTEPPER >::mesh_pt(), and Global_Physical_Variables::press_load().
|
inline |
Update function is empty.
Definition at line 87 of file lin_unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 113 of file unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 90 of file lin_unsteady_ring.cc.
|
inline |
Update function is empty.
Definition at line 116 of file unsteady_ring.cc.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | DocInfo & | doc_info | ) |
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.
Definition at line 325 of file unsteady_ring.cc.
References Global_Physical_Variables::Pcos.
|
inline |
Access function for the mesh.
Definition at line 81 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
|
inline |
Access function for the specific mesh.
Definition at line 107 of file unsteady_ring.cc.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::restart | ( | ifstream & | restart_file | ) |
Read problem-specific parameter values, then recover generic problem data.
Definition at line 347 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 380 of file unsteady_ring.cc.
void ElasticRingProblem< ELEMENT, TIMESTEPPER >::unsteady_run |
Do unsteady run.
Solver loop to perform unsteady run.
Label for output
Definition at line 320 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().
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 105 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
|
private |
Pointer to object that specifies the initial condition.
Definition at line 114 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
|
private |
Length of domain (in terms of the Lagrangian coordinates)
Definition at line 101 of file lin_unsteady_ring.cc.
|
private |
Restart flag specified via command line?
Definition at line 145 of file unsteady_ring.cc.
|
private |
At what local coordinate are we applying displacement control?
Definition at line 108 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
|
private |
Trace file for recording control data.
Definition at line 117 of file lin_unsteady_ring.cc.
|
private |
Pointer to geometric object that represents the undeformed shape.
Definition at line 111 of file lin_unsteady_ring.cc.
Referenced by ElasticRingProblem< ELEMENT, TIMESTEPPER >::ElasticRingProblem().
|
private |
Flag for validation run: Default: 0 = no validation run.
Definition at line 142 of file unsteady_ring.cc.