Driver code.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
2309 FiniteElement::Accept_negative_jacobian=
true;
2349 #ifdef STRUCTURED_MESH
2375 unsigned max_adapt=1;
2379 for(
unsigned i=0;
i<nstep;
i++)
2385 #ifdef STRUCTURED_MESH
2401 oomph_info <<
"Re-solving for prescr displ amplitude = "
2402 << ampl << std::endl;
2406 problem.newton_solve(max_adapt);
2414 #ifdef STRUCTURED_MESH
2430 unsigned max_adapt=1;
2442 for (
unsigned i=0;
i<nstep;
i++)
2445 oomph_info <<
"Re-solving imposed circle pos for yc="
2450 problem.newton_solve(max_adapt);
2460 for (
unsigned i=0;
i<nstep;
i++)
2463 oomph_info <<
"Re-solving imposed circle pos for element length factor: "
2468 problem.newton_solve(max_adapt);
2483 problem.switch_to_displ_control();
2486 for (
unsigned i=0;
i<nstep;
i++)
2494 problem.newton_solve(max_adapt);
2502 problem.switch_to_force_control();
2511 <<
" and horizontal force: "
2517 problem.newton_solve(max_adapt);
2525 double dweight=0.0001;
2527 for (
unsigned i=0;
i<nstep;
i++)
2532 <<
" and horizontal force: "
2538 problem.newton_solve(max_adapt);
2551 double d_lift_off_ampl=0.0001;
2552 for (
unsigned i=0;
i<nstep;
i++)
2555 double lift_off=0.0;
2557 #ifdef STRUCTURED_MESH
2576 lift_off_amplitude();
2584 <<
" and horizontal force: "
2587 <<
" and lift off: "
2592 problem.newton_solve(max_adapt);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Definition: linear_solid_contact_with_gravity.cc:256
double radius() const
Return radius.
Definition: heated_linear_solid_contact_with_gravity.cc:2052
double y_c() const
Return y coordinate of centre.
Definition: heated_linear_solid_contact_with_gravity.cc:2059
double & lift_off_amplitude()
Lift off amplitude.
Definition: heated_linear_solid_contact_with_gravity.cc:2088
double & ampl()
Access to amplitude.
Definition: heated_linear_solid_contact_with_gravity.cc:2066
Penetrator – here implemented as a circle.
Definition: contact_elements.h:249
Definition: constitutive_laws.h:699
Linear elasticity upgraded to become projectable.
Definition: linear_elasticity_elements.h:617
Definition: pseudosolid_node_update_elements.h:58
Refineable version of the PseudoSolidNodeUpdateELement.
Definition: pseudosolid_node_update_elements.h:585
Class for refineable QLinearElasticityElement elements.
Definition: refineable_linear_elasticity_elements.h:197
Class for refineable QPVDElement elements.
Definition: refineable_solid_elements.h:181
Definition: solid_elements.h:1756
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
WarpedLine Boundary_geom_object(0.0)
GeomObject specifying the shape of the boundary: Initially it's flat.
WarpedLine Boundary_geom_object_contact(1.0e-10, X_contact_end_left, X_contact_end_right)
Penetrator * Penetrator_pt
Penetrator.
Definition: circular_boulder_melt.cc:88
WarpedLine Boundary_geom_object_right(1.0e-10, X_contact_end_right, 1.0)
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
WarpedLine Boundary_geom_object_left(1.0e-10, 0.0, X_contact_end_left)
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