two_dim_hex.cc File Reference

Classes

class  CompareNodeCoordinatesX
 
class  CompareNodeCoordinatesY
 
class  HomogenisationProblem< ELEMENT >
 Problem class to simulate viscous inclusion propagating along 2D channel. More...
 

Namespaces

 Problem_Parameter
 Namespace for Problem Parameter.
 

Functions

void Problem_Parameter::bulk_elasticity_tensor_pt (const Vector< double > &x, ElasticityTensor *&E_pt)
 
void Problem_Parameter::fibre_elasticity_tensor_pt (const Vector< double > &x, ElasticityTensor *&E_pt)
 
int main (int argc, char **argv)
 Driver code for moving block problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver code for moving block problem.

819 {
820 
821  // Store command line arguments
822  CommandLineArgs::setup(argc,argv);
823 
824  // Define possible command line arguments and parse the ones that
825  // were actually specified
826 
827  // Validation?
829 
830  // Parse command line
832 
833  // Doc what has actually been specified on the command line
835 
836  {
837  using namespace Problem_Parameter;
838 
839  Vector<double> lame_bulk(2);
840  lame_bulk[0] = P0/M0; lame_bulk[1] = 1.0;
841  E_bulk_pt = new IsotropicElasticityTensor(lame_bulk);
842  Vector<double> lame_fibre(2);
843  lame_fibre[0] = Pr/M0; lame_fibre[1] = Mr/M0;
844  E_fibre_pt = new IsotropicElasticityTensor(lame_fibre);
845  }
846 
847 
848 
849  // Create problem in initial configuration
850  // which solves the required problem
852 
853  problem.doc_solution();
854 
855 } //End of main
Problem class to simulate viscous inclusion propagating along 2D channel.
Definition: two_dim.cc:139
Definition: linear_elasticity/elasticity_tensor.h:160
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Namespace for Problem Parameter.
Definition: two_dim.cc:99
double Pr
Definition: two_dim.cc:105
ElasticityTensor * E_fibre_pt
Definition: two_dim.cc:112
double P0
Definition: two_dim.cc:101
double M0
Definition: two_dim.cc:102
double Mr
Definition: two_dim.cc:106
ElasticityTensor * E_bulk_pt
Definition: two_dim.cc:109
void specify_command_line_flag(const std::string &command_line_flag, const std::string &doc)
Specify possible argument-free command line flag.
Definition: oomph_utilities.cc:451
void parse_and_assign(int argc, char *argv[], const bool &throw_on_unrecognised_args)
Definition: oomph_utilities.cc:760
void doc_specified_flags()
Document specified command line flags.
Definition: oomph_utilities.cc:610
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References oomph::CommandLineArgs::doc_specified_flags(), Problem_Parameter::E_bulk_pt, Problem_Parameter::E_fibre_pt, Problem_Parameter::M0, Problem_Parameter::Mr, Problem_Parameter::P0, oomph::CommandLineArgs::parse_and_assign(), Problem_Parameter::Pr, problem, Flag_definition::setup(), and oomph::CommandLineArgs::specify_command_line_flag().