Driver code.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
1882 FiniteElement::Accept_negative_jacobian=
true;
1915 #ifdef STRUCTURED_MESH
1937 unsigned max_adapt=1;
1948 for (
unsigned i=0;
i<nstep;
i++)
1951 oomph_info <<
"Re-solving imposed circle pos for yc="
1956 problem.newton_solve(max_adapt);
1965 for (
unsigned i=0;
i<nstep;
i++)
1968 oomph_info <<
"Re-solving imposed circle pos for element length factor: "
1973 problem.newton_solve(max_adapt);
1988 problem.switch_to_displ_control();
1991 for (
unsigned i=0;
i<nstep;
i++)
1999 problem.newton_solve(max_adapt);
2007 problem.switch_to_force_control();
2016 <<
" and horizontal force: "
2022 problem.newton_solve(max_adapt);
2030 double dweight=0.0003;
2032 for (
unsigned i=0;
i<nstep;
i++)
2037 <<
" and horizontal force: "
2043 problem.newton_solve(max_adapt);
2056 for (
unsigned i=0;
i<nstep;
i++)
2064 <<
" and horizontal force: "
2067 <<
" and body force ampl: "
2072 problem.newton_solve(max_adapt);
2084 for (
unsigned i=0;
i<nstep;
i++)
2090 <<
" and horizontal force: "
2093 <<
" and body force ampl: "
2095 <<
" and element length factor: "
2100 problem.newton_solve(max_adapt);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Definition: linear_solid_contact_with_gravity.cc:256
Definition: constitutive_laws.h:699
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Penetrator * Penetrator_pt
Penetrator.
Definition: circular_boulder_melt.cc:88
double Horizontal_force
Horizontal force of penetrator.
Definition: heated_linear_solid_contact_with_gravity.cc:2841
double El_area
Initial/max element area.
Definition: heated_linear_solid_contact_with_gravity.cc:2857
Vector< double > Centre
Position of centre of penetrator.
Definition: circular_boulder_melt.cc:85
double Body_force_amplitude
Body force magnitude.
Definition: linear_solid_contact_with_gravity.cc:888
double Weight
NOTE: WE IMPOSE EITHER THESE ...
Definition: heated_linear_solid_contact_with_gravity.cc:2838
double Element_length_factor
Factor for element length on contact boundary.
Definition: heated_linear_solid_contact_with_gravity.cc:2861
double Radius
Radius of penetrator.
Definition: circular_boulder_melt.cc:79
double Nu
Poisson's ratio.
Definition: unstructured_two_d_curved.cc:65
bool Impose_position_of_centre
Definition: heated_linear_solid_contact_with_gravity.cc:2815
double Y_c
... OR THESE...
Definition: heated_linear_solid_contact_with_gravity.cc:2846
ConstitutiveLaw * Constitutive_law_pt
Pointer to constitutive law.
Definition: circular_boulder_melt.cc:76
bool command_line_flag_has_been_set(const std::string &flag)
Definition: oomph_utilities.cc:501
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
OomphInfo oomph_info
Definition: oomph_definitions.cc:319
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213