Public Member Functions | |
DiskShockWaveProblem () | |
Constructor: More... | |
void | run (const unsigned &case_number) |
Run the problem; specify case_number to label output directory. More... | |
ElasticRefineableQuarterCircleSectorMesh< ELEMENT > *& | solid_mesh_pt () |
Access function for the solid mesh. More... | |
SolidMesh *& | traction_mesh_pt () |
Access function for the mesh of surface traction elements. More... | |
void | doc_solution () |
Doc the solution. More... | |
void | actions_after_newton_solve () |
Update function (empty) More... | |
void | actions_before_newton_solve () |
Update function (empty) More... | |
void | actions_after_adapt () |
Actions after adaption: Kill and then re-build the traction elements on boundary 1 and re-assign the equation numbers. More... | |
void | doc_displ_and_veloc (const int &stage=0) |
Doc displacement and velocity: label file with before and after. More... | |
void | dump_it (ofstream &dump_file) |
Dump problem-specific parameters 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 | |
DocInfo | Doc_info |
ofstream | Trace_file |
Trace file. More... | |
Vector< Node * > | Trace_node_pt |
Vector of pointers to nodes whose position we're tracing. More... | |
ElasticRefineableQuarterCircleSectorMesh< ELEMENT > * | Solid_mesh_pt |
Pointer to solid mesh. More... | |
SolidMesh * | Traction_mesh_pt |
Pointer to mesh of traction elements. More... | |
"Shock" wave propagates through an impulsively loaded circular disk.
Definition at line 211 of file shock_disk.cc.
DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::DiskShockWaveProblem | ( | ) |
Constructor:
Constructor.
Definition at line 286 of file shock_disk.cc.
References Global_Physical_Variables::constant_pressure(), Global_Physical_Variables::Constitutive_law_pt, and ElasticRefineableQuarterCircleSectorMesh< ELEMENT >::make_traction_element_mesh().
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::actions_after_adapt | ( | ) |
Actions after adaption: Kill and then re-build the traction elements on boundary 1 and re-assign the equation numbers.
Kill and then re-build the traction elements on boundary 1, pin redundant pressure dofs and re-assign the equation numbers.
Definition at line 440 of file shock_disk.cc.
References Global_Physical_Variables::constant_pressure().
|
inline |
Update function (empty)
Definition at line 239 of file shock_disk.cc.
|
inline |
Update function (empty)
Definition at line 242 of file shock_disk.cc.
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::doc_displ_and_veloc | ( | const int & | stage = 0 | ) |
Doc displacement and velocity: label file with before and after.
Doc displacement and veloc in displ_and_veloc*.dat. The int stage defaults to 0, in which case the '*' in the filename is simply the step number specified by the Problem's DocInfo object. If it's +/-1, the word "before" and "after" get inserted. This allows checking of the veloc/displacment interpolation during adaptive mesh refinement.
Definition at line 617 of file shock_disk.cc.
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | ) |
Doc the solution.
Definition at line 478 of file shock_disk.cc.
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::dump_it | ( | ofstream & | dump_file | ) |
Dump problem-specific parameters values, then dump generic problem data.
Dump the solution.
Definition at line 694 of file shock_disk.cc.
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::restart | ( | ifstream & | restart_file | ) |
Read problem-specific parameter values, then recover generic problem data.
Read solution from disk.
Definition at line 706 of file shock_disk.cc.
void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::run | ( | const unsigned & | case_number | ) |
Run the problem; specify case_number to label output directory.
Definition at line 718 of file shock_disk.cc.
References Global_Physical_Variables::P.
Referenced by main().
|
inline |
Access function for the solid mesh.
Definition at line 224 of file shock_disk.cc.
|
inline |
Access function for the mesh of surface traction elements.
Definition at line 230 of file shock_disk.cc.
|
private |
Definition at line 262 of file shock_disk.cc.
|
private |
Pointer to solid mesh.
Definition at line 271 of file shock_disk.cc.
|
private |
Trace file.
Definition at line 265 of file shock_disk.cc.
|
private |
Vector of pointers to nodes whose position we're tracing.
Definition at line 268 of file shock_disk.cc.
|
private |
Pointer to mesh of traction elements.
Definition at line 274 of file shock_disk.cc.