Estimate the time step in a fluid problem to obtain a given Courant number.
More...
#include <estimate_dt_utilities.h>
|
|
| EstimateDtUtility (ModelPart &ModelPart, const double CFL, const double DtMin, const double DtMax) |
| Constructor for CFD-based time step estimation. More...
|
|
| EstimateDtUtility (ModelPart &ModelPart, const double CFL, const double ViscousFourier, const double ThermalFourier, const bool ConsiderArtificialDiffusion, const bool NodalDensityFormulation, const double DtMin, const double DtMax, const bool ConsiderCompressibilityInCFL=false) |
| Complete constructor. More...
|
|
| EstimateDtUtility (ModelPart &ModelPart, Parameters &rParameters) |
| Constructor with Kratos parameters. More...
|
|
| ~EstimateDtUtility () |
| Destructor. More...
|
|
|
void | SetCFL (const double CFL) |
| Set the maximum CFL value allowed This method allows setting the maximum user-defined CFL number. More...
|
|
void | SetViscousFourier (const double ViscousFourier) |
| Set the maximum viscosity Peclet value allowed This method allows setting the maximum user-defined viscosity Peclet number. More...
|
|
void | SetThermalFourier (const double ThermalFourier) |
| Set the maximum conductivity Peclet value allowed This method allows setting the maximum user-defined thermal conductivity Peclet number. More...
|
|
void | SetDtMin (const double DtMin) |
| Set the minimum time step value allowed This method allows setting the minimum user-defined time increment value. More...
|
|
void | SetDtMax (const double DtMax) |
| Set the maximum time step value allowed This method allows setting the maximum user-defined time increment value. More...
|
|
double | EstimateDt () const |
| Calculate the maximum time step that satisfies the CFL user settings This method calculates the maximum time step that satisfies the Courant-Friedrichs-Lewy (CFL) condition according to the user-defined parameters (CFL and maximum/minimum delta time) More...
|
|
Estimate the time step in a fluid problem to obtain a given Courant number.
◆ CFLCalculatorType
◆ ElementSizeFunctionType
Function type for the element size calculator function.
◆ EstimateDtUtility() [1/3]
Constructor for CFD-based time step estimation.
- Parameters
-
ModelPart | The model part containing the problem mesh |
CFL | The user-defined Courant-Friedrichs-Lewy number |
DtMin | user-defined minimum time increment allowed |
DtMax | user-defined maximum time increment allowed |
◆ EstimateDtUtility() [2/3]
Kratos::EstimateDtUtility::EstimateDtUtility |
( |
ModelPart & |
ModelPart, |
|
|
const double |
CFL, |
|
|
const double |
ViscousFourier, |
|
|
const double |
ThermalFourier, |
|
|
const bool |
ConsiderArtificialDiffusion, |
|
|
const bool |
NodalDensityFormulation, |
|
|
const double |
DtMin, |
|
|
const double |
DtMax, |
|
|
const bool |
ConsiderCompressibilityInCFL = false |
|
) |
| |
|
inline |
Complete constructor.
- Parameters
-
ModelPart | The model part containing the problem mesh |
CFL | The user-defined Courant-Friedrichs-Lewy number |
ViscousFourier | The user-defined viscosity Peclet number |
ThermalFourier | The user-defined thermal conductivity Peclet number |
DtMin | user-defined minimum time increment allowed |
DtMax | user-defined maximum time increment allowed |
ConsiderCompressibilityInCFL | user-defined switch to select between compressible or incompressible CFL stability conditions |
◆ EstimateDtUtility() [3/3]
Kratos::EstimateDtUtility::EstimateDtUtility |
( |
ModelPart & |
ModelPart, |
|
|
Parameters & |
rParameters |
|
) |
| |
|
inline |
Constructor with Kratos parameters.
- Parameters
-
ModelPart | The model part containing the problem mesh |
rParameters | Kratos parameters containing the CFL number and max time step |
◆ ~EstimateDtUtility()
Kratos::EstimateDtUtility::~EstimateDtUtility |
( |
| ) |
|
|
inline |
◆ EstimateDt()
double Kratos::EstimateDtUtility::EstimateDt |
( |
| ) |
const |
Calculate the maximum time step that satisfies the CFL user settings This method calculates the maximum time step that satisfies the Courant-Friedrichs-Lewy (CFL) condition according to the user-defined parameters (CFL and maximum/minimum delta time)
- Returns
- double A time step value that satisfies the user CFL condition for the current mesh and velocit field
◆ KRATOS_CLASS_POINTER_DEFINITION()
◆ SetCFL()
void Kratos::EstimateDtUtility::SetCFL |
( |
const double |
CFL | ) |
|
Set the maximum CFL value allowed This method allows setting the maximum user-defined CFL number.
- Parameters
-
CFL | Tue user-defined maximum CFL number |
◆ SetDtMax()
void Kratos::EstimateDtUtility::SetDtMax |
( |
const double |
DtMax | ) |
|
Set the maximum time step value allowed This method allows setting the maximum user-defined time increment value.
- Parameters
-
DtMax | The user-defined maximum delta time |
◆ SetDtMin()
void Kratos::EstimateDtUtility::SetDtMin |
( |
const double |
DtMin | ) |
|
Set the minimum time step value allowed This method allows setting the minimum user-defined time increment value.
- Parameters
-
DtMin | The user-defined minimum delta time |
◆ SetThermalFourier()
void Kratos::EstimateDtUtility::SetThermalFourier |
( |
const double |
ThermalFourier | ) |
|
Set the maximum conductivity Peclet value allowed This method allows setting the maximum user-defined thermal conductivity Peclet number.
- Parameters
-
ThermalFourier | Tue user-defined maximum conductivity Peclet number |
◆ SetViscousFourier()
void Kratos::EstimateDtUtility::SetViscousFourier |
( |
const double |
ViscousFourier | ) |
|
Set the maximum viscosity Peclet value allowed This method allows setting the maximum user-defined viscosity Peclet number.
- Parameters
-
ViscousFourier | Tue user-defined maximum viscosity Peclet number |
The documentation for this class was generated from the following files:
- /home/runner/work/Documentation/Documentation/master/applications/FluidDynamicsApplication/custom_utilities/estimate_dt_utilities.h
- /home/runner/work/Documentation/Documentation/master/applications/FluidDynamicsApplication/custom_utilities/estimate_dt_utilities.cpp