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... | |
Global variables.
double Global_Parameters::flux | ( | const double & | t | ) |
Flux increases between Min_flux and Max_flux over period Ramp_period.
Definition at line 128 of file turek_flag.cc.
References Max_flux, Min_flux, and Ramp_period.
Referenced by TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::actions_before_implicit_timestep(), TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::doc_solution(), and TurekProblem< FLUID_ELEMENT, SOLID_ELEMENT >::TurekProblem().
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().
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().
string Global_Parameters::Case_ID ="FSI1" |
Default case ID.
Definition at line 55 of file turek_flag.cc.
Referenced by main(), and set_parameters().
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().
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().
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().
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().
double Global_Parameters::Dt =0.1 |
double Global_Parameters::E =1.0 |
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().
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().
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().
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().
double Global_Parameters::Max_flux =1.0 |
Max. flux.
Definition at line 124 of file turek_flag.cc.
Referenced by flux(), and set_parameters().
double Global_Parameters::Min_flux =0.0 |
double Global_Parameters::Nu =0.4 |
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().
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().
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().
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().
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().
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().