Implements the smagorinsky LES model.
More...
|
| procedure, pass(this) | init (this, fluid, json) |
| | Constructor from JSON.
|
| procedure, pass(this) | init_from_components (this, fluid, c_s, nut_name, delta_type, if_ext) |
| | Constructor from components.
|
| procedure, pass(this) | free (this) |
| | Destructor.
|
| procedure, pass(this) | compute (this, t, tstep) |
| | Compute eddy viscosity.
|
| procedure, pass(this) | init_base (this, fluid, nut_name, delta_type, if_ext) |
| | Constructor for the les_model_t (base) class.
|
| procedure, pass(this) | free_base (this) |
| | Destructor for the les_model_t (base) class.
|
| procedure, pass(this) | compute_delta (this) |
| | Compute the LES length-scale.
|
| procedure(les_model_init), deferred, pass | init (this, fluid, json) |
| | The common constructor.
|
| procedure(les_model_free), deferred, pass | free (this) |
| | Destructor.
|
| procedure(les_model_compute), deferred, pass | compute (this, t, tstep) |
| | Compute eddy viscosity.
|
|
| real(kind=rp) | c_s |
| | Model constant, defaults to 0.17.
|
| type(time_scheme_controller_t), pointer | ext_bdf => null() |
| | Pointer to the extrapolation scheme.
|
| type(field_series_t), pointer | ulag => null() |
| | Pointer to the lag list of the velocities.
|
| type(field_series_t), pointer | vlag => null() |
| type(field_series_t), pointer | wlag => null() |
| class(rhs_maker_sumab_t), allocatable | sumab |
| | Summation of AB/BDF contributions to extrapolate the field.
|
| logical | if_ext = .false. |
| | Logical variable for extrapolation.
|
| type(field_t), pointer | nut => null() |
| | Subgrid kinematic viscosity.
|
| character(len=:), allocatable | delta_type |
| | LES lengthscale type.
|
| type(field_t), pointer | delta => null() |
| | LES lengthscale.
|
| type(coef_t), pointer | coef => null() |
| | SEM coefficients.
|
- Note
- Reference DOI: 10.1175/1520-0493(1963)091<0099:GCEWTP>2.3.CO;2
Definition at line 52 of file smagorinsky.f90.
◆ compute() [1/2]
| procedure(les_model_compute), deferred, pass les_model::les_model_t::compute |
( |
class(les_model_t), intent(inout) | this, |
|
|
real(kind=rp), intent(in) | t, |
|
|
integer, intent(in) | tstep ) |
|
pure virtualinherited |
◆ compute() [2/2]
| procedure, pass(this) smagorinsky::smagorinsky_t::compute |
( |
class(smagorinsky_t), intent(inout) | this, |
|
|
real(kind=rp), intent(in) | t, |
|
|
integer, intent(in) | tstep ) |
- Parameters
-
| t | The time value. |
| tstep | The current time-step. |
Definition at line 64 of file smagorinsky.f90.
◆ compute_delta()
| procedure, pass(this) les_model::les_model_t::compute_delta |
( |
class(les_model_t), intent(inout) | this | ) |
|
|
inherited |
◆ free() [1/2]
| procedure(les_model_free), deferred, pass les_model::les_model_t::free |
( |
class(les_model_t), intent(inout) | this | ) |
|
|
pure virtualinherited |
◆ free() [2/2]
| procedure, pass(this) smagorinsky::smagorinsky_t::free |
( |
class(smagorinsky_t), intent(inout) | this | ) |
|
◆ free_base()
| procedure, pass(this) les_model::les_model_t::free_base |
( |
class(les_model_t), intent(inout) | this | ) |
|
|
inherited |
◆ init() [1/2]
| procedure(les_model_init), deferred, pass les_model::les_model_t::init |
( |
class(les_model_t), intent(inout) | this, |
|
|
class(fluid_scheme_base_t), intent(inout), target | fluid, |
|
|
type(json_file), intent(inout) | json ) |
|
pure virtualinherited |
◆ init() [2/2]
| procedure, pass(this) smagorinsky::smagorinsky_t::init |
( |
class(smagorinsky_t), intent(inout) | this, |
|
|
class(fluid_scheme_base_t), intent(inout), target | fluid, |
|
|
type(json_file), intent(inout) | json ) |
◆ init_base()
| procedure, pass(this) les_model::les_model_t::init_base |
( |
class(les_model_t), intent(inout) | this, |
|
|
class(fluid_scheme_base_t), intent(inout), target | fluid, |
|
|
character(len=*), intent(in) | nut_name, |
|
|
character(len=*), intent(in) | delta_type, |
|
|
logical, intent(in) | if_ext ) |
|
inherited |
- Parameters
-
| fluid | The fluid_scheme_t object. |
| nu_name | The name of the turbulent viscosity field. |
| delta_type | The type of filter size. |
| if_ext | Whether trapolate the velocity. |
Definition at line 85 of file les_model.f90.
◆ init_from_components()
| procedure, pass(this) smagorinsky::smagorinsky_t::init_from_components |
( |
class(smagorinsky_t), intent(inout) | this, |
|
|
class(fluid_scheme_base_t), intent(inout), target | fluid, |
|
|
real(kind=rp) | c_s, |
|
|
character(len=*), intent(in) | nut_name, |
|
|
character(len=*), intent(in) | delta_type, |
|
|
logical, intent(in) | if_ext ) |
- Parameters
-
| fluid | The fluid_scheme_base_t object. |
| c_s | The model constant. |
| nut_name | The name of the SGS viscosity field. |
| delta_type | The type of filter size. |
| if_ext | Whether trapolate the velocity. |
Definition at line 59 of file smagorinsky.f90.
◆ c_s
| real(kind=rp) smagorinsky::smagorinsky_t::c_s |
◆ coef
| type(coef_t), pointer les_model::les_model_t::coef => null() |
|
inherited |
◆ delta
| type(field_t), pointer les_model::les_model_t::delta => null() |
|
inherited |
◆ delta_type
| character(len=:), allocatable les_model::les_model_t::delta_type |
|
inherited |
◆ ext_bdf
| type(time_scheme_controller_t), pointer les_model::les_model_t::ext_bdf => null() |
|
inherited |
◆ if_ext
| logical les_model::les_model_t::if_ext = .false. |
|
inherited |
◆ nut
| type(field_t), pointer les_model::les_model_t::nut => null() |
|
inherited |
◆ sumab
| class(rhs_maker_sumab_t), allocatable les_model::les_model_t::sumab |
|
inherited |
◆ ulag
| type(field_series_t), pointer les_model::les_model_t::ulag => null() |
|
inherited |
◆ vlag
| type(field_series_t), pointer les_model::les_model_t::vlag => null() |
|
inherited |
◆ wlag
| type(field_series_t), pointer les_model::les_model_t::wlag => null() |
|
inherited |
The documentation for this type was generated from the following file: