Public Member Functions | Private Attributes | List of all members
DiskShockWaveProblem< ELEMENT, TIMESTEPPER > Class Template Reference

"Shock" wave propagates through an impulsively loaded circular disk. More...

Inheritance diagram for DiskShockWaveProblem< ELEMENT, TIMESTEPPER >:

Public Member Functions

 DiskShockWaveProblem ()
 Constructor:
 
void run (const unsigned &case_number)
 Run the problem; specify case_number to label output directory.
 
ElasticRefineableQuarterCircleSectorMesh< ELEMENT > *& solid_mesh_pt ()
 Access function for the solid mesh.
 
SolidMesh *& traction_mesh_pt ()
 Access function for the mesh of surface traction elements.
 
void doc_solution ()
 Doc the solution.
 
void actions_after_newton_solve ()
 Update function (empty)
 
void actions_before_newton_solve ()
 Update function (empty)
 
void actions_after_adapt ()
 Actions after adaption: Kill and then re-build the traction elements on boundary 1 and re-assign the equation numbers.
 
void doc_displ_and_veloc (const int &stage=0)
 Doc displacement and velocity: label file with before and after.
 
void dump_it (ofstream &dump_file)
 Dump problem-specific parameters values, then dump generic problem data.
 
void restart (ifstream &restart_file)
 Read problem-specific parameter values, then recover generic problem data.
 

Private Attributes

DocInfo Doc_info
 
ofstream Trace_file
 Trace file.
 
Vector< Node * > Trace_node_pt
 Vector of pointers to nodes whose position we're tracing.
 
ElasticRefineableQuarterCircleSectorMesh< ELEMENT > * Solid_mesh_pt
 Pointer to solid mesh.
 
SolidMesh * Traction_mesh_pt
 Pointer to mesh of traction elements.
 

Detailed Description

template<class ELEMENT, class TIMESTEPPER>
class DiskShockWaveProblem< ELEMENT, TIMESTEPPER >

"Shock" wave propagates through an impulsively loaded circular disk.

Definition at line 207 of file shock_disk.cc.

Constructor & Destructor Documentation

◆ DiskShockWaveProblem()

Member Function Documentation

◆ actions_after_adapt()

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 436 of file shock_disk.cc.

References Global_Physical_Variables::constant_pressure(), ElasticRefineableQuarterCircleSectorMesh< ELEMENT >::ElasticRefineableQuarterCircleSectorMesh(), and ElasticRefineableQuarterCircleSectorMesh< ELEMENT >::remake_traction_element_mesh().

◆ actions_after_newton_solve()

void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::actions_after_newton_solve ( )
inline

Update function (empty)

Definition at line 235 of file shock_disk.cc.

◆ actions_before_newton_solve()

void DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::actions_before_newton_solve ( )
inline

Update function (empty)

Definition at line 238 of file shock_disk.cc.

◆ doc_displ_and_veloc()

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 613 of file shock_disk.cc.

◆ doc_solution()

Doc the solution.

Definition at line 474 of file shock_disk.cc.

◆ dump_it()

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 690 of file shock_disk.cc.

◆ restart()

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 702 of file shock_disk.cc.

◆ run()

Run the problem; specify case_number to label output directory.

Definition at line 714 of file shock_disk.cc.

References ElasticRefineableQuarterCircleSectorMesh< ELEMENT >::ElasticRefineableQuarterCircleSectorMesh(), and Global_Physical_Variables::P.

◆ solid_mesh_pt()

Access function for the solid mesh.

Definition at line 220 of file shock_disk.cc.

References DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::Solid_mesh_pt.

◆ traction_mesh_pt()

SolidMesh *& DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::traction_mesh_pt ( )
inline

Access function for the mesh of surface traction elements.

Definition at line 226 of file shock_disk.cc.

References DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::Traction_mesh_pt.

Member Data Documentation

◆ Doc_info

Definition at line 258 of file shock_disk.cc.

◆ Solid_mesh_pt

Pointer to solid mesh.

Definition at line 267 of file shock_disk.cc.

Referenced by DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::solid_mesh_pt().

◆ Trace_file

Trace file.

Definition at line 261 of file shock_disk.cc.

◆ Trace_node_pt

Vector<Node*> DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::Trace_node_pt
private

Vector of pointers to nodes whose position we're tracing.

Definition at line 264 of file shock_disk.cc.

◆ Traction_mesh_pt

SolidMesh* DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::Traction_mesh_pt
private

Pointer to mesh of traction elements.

Definition at line 270 of file shock_disk.cc.

Referenced by DiskShockWaveProblem< ELEMENT, TIMESTEPPER >::traction_mesh_pt().


The documentation for this class was generated from the following file: