two_dim.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...
 

Variables

double Problem_Parameter::P0 = 3.0
 
double Problem_Parameter::M0 = 1.3
 
double Problem_Parameter::Pr = 23.5
 
double Problem_Parameter::Mr = 30.0
 
ElasticityTensorProblem_Parameter::E_bulk_pt
 
ElasticityTensorProblem_Parameter::E_fibre_pt
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver code for moving block problem.

728 {
729 
730  // Store command line arguments
731  CommandLineArgs::setup(argc,argv);
732 
733  // Define possible command line arguments and parse the ones that
734  // were actually specified
735 
736  // Validation?
738 
739  // Parse command line
741 
742  // Doc what has actually been specified on the command line
744 
745  {
746  using namespace Problem_Parameter;
747 
748  Vector<double> lame_bulk(2);
749  lame_bulk[0] = P0/M0; lame_bulk[1] = 1.0;
750  E_bulk_pt = new IsotropicElasticityTensor(lame_bulk);
751  Vector<double> lame_fibre(2);
752  lame_fibre[0] = Pr/M0; lame_fibre[1] = Mr/M0;
753  E_fibre_pt = new IsotropicElasticityTensor(lame_fibre);
754  }
755 
756 
757 
758  // Create problem in initial configuration
759  // which solves the required problem
761 
762 
763 } //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().