Driver for Lagrange enforced flow preconditioner.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
614 MPI_Helpers::init(argc,argv);
657 oomph_info <<
"Doing simple form" << std::endl;
658 for (
unsigned d = 0; d <
GV::Dim; d++)
665 oomph_info <<
"Doing stress divergence form" << std::endl;
666 for (
unsigned d = 0; d <
GV::Dim; d++)
675 #ifdef OOMPH_HAS_TRILINOS
678 std::ostringstream warning_stream;
679 warning_stream <<
"WARNING: \n"
680 <<
"No trilinos installed, using oomphlib's GMRES solver.\n";
735 std::ofstream some_file;
736 some_file.open(
filename.str().c_str());
740 some_file << num_newton_steps <<
"\n";
741 for (
unsigned stepi = 0; stepi < num_newton_steps; stepi++)
752 MPI_Helpers::finalize();
Definition: two_d_tilted_square.cc:165
Definition: navier_stokes_elements.h:395
Definition: oomph_definitions.h:267
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 physical parameters.
Definition: two_d_tilted_square.cc:59
bool Use_trilinos
Use trilinos?
Definition: two_d_tilted_square.cc:90
double degtorad(const double &ang_deg)
Convert degrees to radians.
Definition: two_d_tilted_square.cc:105
bool Use_lsc
Use LSC preconditioner for the Navier-Stokes block?
Definition: two_d_tilted_square.cc:93
Vector< unsigned > Iterations
Storage for number of iterations during Newton steps.
Definition: two_d_tilted_square.cc:111
double Ang_deg
Tilting angle of the domain with the x-axis.
Definition: two_d_tilted_square.cc:83
unsigned Visc
The viscous term.
Definition: two_d_tilted_square.cc:77
bool Use_amg_for_p
Use Boomer AMG for the pressure block?
Definition: two_d_tilted_square.cc:99
bool Use_amg_for_f
Use Boomer AMG for the momentum block?
Definition: two_d_tilted_square.cc:96
unsigned Noel
Number of elements in 1D.
Definition: two_d_tilted_square.cc:87
static const unsigned Dim
Problem dimension.
Definition: two_d_tilted_square.cc:62
double Ang_rad
Definition: two_d_tilted_square.cc:84
double Re
Reynolds number.
Definition: two_d_tilted_square.cc:80
unsigned Soln_num
Soln number (for doc_solution)
Definition: two_d_tilted_square.cc:102
string filename
Definition: MergeRestartFiles.py:39
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
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213