thermal_fibre.cc File Reference

Classes

class  AxisymFreeSurfaceNozzleAdvDiffRobinProblem< ELEMENT >
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

Vector< doubleGlobal_Physical_Variables::Direction_of_gravity (3)
 Gravity vector. More...
 
void Global_Physical_Variables::viscosity_ratio_function (double &temperature, double &result)
 Viscosity ratio function modeled following a Arrhenius fashion. More...
 
void Global_Physical_Variables::prescribed_beta_on_fixed_r_boundary (const Vector< double > &x_vector, double &beta)
 Beta on a boundary on which r is fixed. More...
 
void Global_Physical_Variables::prescribed_alpha_on_fixed_r_boundary (const Vector< double > &x_vect, double &alpha)
 Alfa on a boundary on which r is fixed. More...
 
int main (int argc, char **argv)
 Driver code for 2D Boussinesq convection problem. More...
 

Variables

double Global_Physical_Variables::Bi = 0.01
 Biot number. More...
 
double Global_Physical_Variables::T_ext = 0.0
 Exterior temperature. More...
 
double Global_Physical_Variables::T_inlet = 1.0
 Inlet temperature. More...
 
double Global_Physical_Variables::eta = 0.0
 Eta factor (exponent of the exponecial function) More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver code for 2D Boussinesq convection problem.

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

709 {
710  // Store command line arguments
711  CommandLineArgs::setup(argc,argv);
712 
713  // # of elements in r-direction
714  unsigned n_r = 8; //20;
715 
716  // # of elements in z-direction
717  unsigned n_z = 22;
718 
719  // Domain length in r-direction
720  double l_r = 1.0;
721 
722  // Domain length in z-direction
723  double h = 11.0;
724 
725  // Store command line arguments
726  CommandLineArgs::setup(argc,argv);
727 
728  //FiniteElement::Accept_negative_jacobian = true;
729 
730  // Set direction of gravity (vertically downwards)
734 
735  //Construct our problem
737  problem(n_r,n_z,l_r,h);
738 
739  // Run the steady simulation
740  problem.steady_run();
741 
742 } // end of main
Definition: thermal_fibre.cc:137
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Vector< double > Direction_of_gravity(2)
Gravity vector.
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Global_Physical_Variables::Direction_of_gravity, problem, and Flag_definition::setup().