Functions | Variables
Global_Parameters Namespace Reference

Global variables. More...

Functions

void gravity (const double &time, const Vector< double > &xi, Vector< double > &b)
 Non-dimensional gravity as body force. More...
 
double flux (const double &t)
 Flux increases between Min_flux and Max_flux over period Ramp_period. More...
 
void set_parameters (const string &case_id)
 Set parameters for the various test cases. More...
 

Variables

string Case_ID ="FSI1"
 Default case ID. More...
 
double Re =20.0
 Reynolds number (default assignment for FSI1 test case) More...
 
double St =0.5
 Strouhal number (default assignment for FSI1 test case) More...
 
double ReSt =10.0
 Product of Reynolds and Strouhal numbers (default assignment for FSI1 test case) More...
 
double Q =1.429e-6
 FSI parameter (default assignment for FSI1 test case) More...
 
double Density_ratio =1.0
 Density ratio (solid to fluid; default assignment for FSI1 test case) More...
 
double H =0.2
 Height of flag. More...
 
double Centre_x =2.0
 x position of centre of cylinder More...
 
double Centre_y =2.0
 y position of centre of cylinder More...
 
double Radius =0.5
 Radius of cylinder. More...
 
ConstitutiveLaw * Constitutive_law_pt =0
 Pointer to constitutive law. More...
 
double Lambda_sq =0.0
 Timescale ratio for solid (dependent parameter assigned in set_parameters()) More...
 
double Dt =0.1
 Timestep. More...
 
bool Ignore_fluid_loading =false
 Ignore fluid (default assignment for FSI1 test case) More...
 
double E =1.0
 Elastic modulus. More...
 
double Nu =0.4
 Poisson's ratio. More...
 
double Gravity =0.0
 Non-dim gravity (default assignment for FSI1 test case) More...
 
double Ramp_period =2.0
 Period for ramping up in flux. More...
 
double Min_flux =0.0
 Min. flux. More...
 
double Max_flux =1.0
 Max. flux. More...
 

Detailed Description

Global variables.

Function Documentation

◆ flux()

double Global_Parameters::flux ( const double &  t)

◆ gravity()

void Global_Parameters::gravity ( const double &  time,
const Vector< double > &  xi,
Vector< double > &  b 
)

Non-dimensional gravity as body force.

Definition at line 109 of file turek_flag.cc.

References Gravity.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ set_parameters()

void Global_Parameters::set_parameters ( const string &  case_id)

Set parameters for the various test cases.

Definition at line 143 of file turek_flag.cc.

References Case_ID, Constitutive_law_pt, Density_ratio, Dt, E, Gravity, Ignore_fluid_loading, Lambda_sq, Max_flux, Nu, Q, Ramp_period, Re, ReSt, and St.

Referenced by main().

Variable Documentation

◆ Case_ID

string Global_Parameters::Case_ID ="FSI1"

Default case ID.

Definition at line 55 of file turek_flag.cc.

Referenced by main(), and set_parameters().

◆ Centre_x

double Global_Parameters::Centre_x =2.0

x position of centre of cylinder

Definition at line 78 of file turek_flag.cc.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Centre_y

double Global_Parameters::Centre_y =2.0

y position of centre of cylinder

Definition at line 81 of file turek_flag.cc.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Constitutive_law_pt

ConstitutiveLaw* Global_Parameters::Constitutive_law_pt =0

Pointer to constitutive law.

Definition at line 87 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Density_ratio

double Global_Parameters::Density_ratio =1.0

Density ratio (solid to fluid; default assignment for FSI1 test case)

Definition at line 72 of file turek_flag.cc.

Referenced by set_parameters().

◆ Dt

double Global_Parameters::Dt =0.1

Timestep.

Definition at line 94 of file turek_flag.cc.

Referenced by main(), and set_parameters().

◆ E

double Global_Parameters::E =1.0

Elastic modulus.

Definition at line 100 of file turek_flag.cc.

Referenced by set_parameters().

◆ Gravity

double Global_Parameters::Gravity =0.0

Non-dim gravity (default assignment for FSI1 test case)

Definition at line 106 of file turek_flag.cc.

Referenced by gravity(), and set_parameters().

◆ H

double Global_Parameters::H =0.2

Height of flag.

Definition at line 75 of file turek_flag.cc.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Ignore_fluid_loading

bool Global_Parameters::Ignore_fluid_loading =false

Ignore fluid (default assignment for FSI1 test case)

Definition at line 97 of file turek_flag.cc.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::actions_after_adapt(), set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Lambda_sq

double Global_Parameters::Lambda_sq =0.0

Timescale ratio for solid (dependent parameter assigned in set_parameters())

Definition at line 91 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Max_flux

double Global_Parameters::Max_flux =1.0

Max. flux.

Definition at line 124 of file turek_flag.cc.

Referenced by flux(), and set_parameters().

◆ Min_flux

double Global_Parameters::Min_flux =0.0

Min. flux.

Definition at line 121 of file turek_flag.cc.

Referenced by flux().

◆ Nu

double Global_Parameters::Nu =0.4

Poisson's ratio.

Definition at line 103 of file turek_flag.cc.

Referenced by set_parameters().

◆ Q

double Global_Parameters::Q =1.429e-6

FSI parameter (default assignment for FSI1 test case)

Definition at line 68 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Radius

double Global_Parameters::Radius =0.5

Radius of cylinder.

Definition at line 84 of file turek_flag.cc.

Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ Ramp_period

double Global_Parameters::Ramp_period =2.0

Period for ramping up in flux.

Definition at line 118 of file turek_flag.cc.

Referenced by flux(), and set_parameters().

◆ Re

double Global_Parameters::Re =20.0

Reynolds number (default assignment for FSI1 test case)

Definition at line 58 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ ReSt

double Global_Parameters::ReSt =10.0

Product of Reynolds and Strouhal numbers (default assignment for FSI1 test case)

Definition at line 65 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().

◆ St

double Global_Parameters::St =0.5

Strouhal number (default assignment for FSI1 test case)

Definition at line 61 of file turek_flag.cc.

Referenced by set_parameters(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().