|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
Implements the deardorff LES model. More...


Public Member Functions | |
| procedure, pass(this) | init (this, fluid, json) |
| Constructor from JSON. | |
| procedure, pass(this) | init_from_components (this, fluid, c_k, t0, temperature_field_name, tke_field_name, nut_name, temperature_alphat_name, tke_alphat_name, tke_source_name, g, 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. | |
Public Attributes | |
| real(kind=rp) | c_k |
| Model constant, defaults to 0.10. | |
| real(kind=rp) | t0 |
| The reference temperature. | |
| real(kind=rp), dimension(3) | g |
| The gravitational acceleration. | |
| character(len=:), allocatable | temperature_field_name |
| Temperature field name. | |
| character(len=:), allocatable | tke_field_name |
| TKE field name. | |
| type(field_t), pointer | temperature_alphat => null() |
| Eddy diffusivity for temperature and TKE. | |
| type(field_t), pointer | tke_alphat => null() |
| type(field_t), pointer | tke_source => null() |
| Source term for TKE equation. | |
| 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. | |
Definition at line 53 of file deardorff.f90.
| procedure, pass(this) deardorff::deardorff_t::compute | ( | class(deardorff_t), intent(inout) | this, |
| real(kind=rp), intent(in) | t, | ||
| integer, intent(in) | tstep | ||
| ) |
| t | The time value. |
| tstep | The current time-step. |
Definition at line 78 of file deardorff.f90.
|
pure virtualinherited |
Definition at line 95 of file les_model.f90.
|
inherited |
Definition at line 89 of file les_model.f90.
Definition at line 76 of file deardorff.f90.
|
pure virtualinherited |
Definition at line 93 of file les_model.f90.
|
inherited |
Definition at line 87 of file les_model.f90.
| procedure, pass(this) deardorff::deardorff_t::init | ( | class(deardorff_t), intent(inout) | this, |
| class(fluid_scheme_base_t), intent(inout), target | fluid, | ||
| type(json_file), intent(inout) | json | ||
| ) |
| fluid | The fluid_scheme_base_t object. |
| json | A dictionary with parameters. |
Definition at line 71 of file deardorff.f90.
|
pure virtualinherited |
Definition at line 91 of file les_model.f90.
|
inherited |
| 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.
| procedure, pass(this) deardorff::deardorff_t::init_from_components | ( | class(deardorff_t), intent(inout) | this, |
| class(fluid_scheme_base_t), intent(inout), target | fluid, | ||
| real(kind=rp), intent(in) | c_k, | ||
| real(kind=rp), intent(in) | t0, | ||
| character(len=*), intent(in) | temperature_field_name, | ||
| character(len=*), intent(in) | tke_field_name, | ||
| character(len=*), intent(in) | nut_name, | ||
| character(len=*), intent(in) | temperature_alphat_name, | ||
| character(len=*), intent(in) | tke_alphat_name, | ||
| character(len=*), intent(in) | tke_source_name, | ||
| real(kind=rp), dimension(3), intent(in) | g, | ||
| character(len=*), intent(in) | delta_type, | ||
| logical, intent(in) | if_ext | ||
| ) |
| fluid | The fluid_scheme_base_t object. |
| c_k | The deardorff model constant. |
| T0 | The reference temperature. |
| temperature_field_name | The name of the temperature field. |
| TKE_field_name | The name of the TKE field. |
| nut_name | The name of the eddy viscosity field. |
| temperature_alphat_name | The name of the eddy diffusivity field for temperature. |
| TKE_alphat_name | The name of the eddy diffusivity field for TKE. |
| TKE_source_name | The name of the source term in the TKE equation |
| g | The gravitational acceleration vector. |
| delta_type | The type of filter size. |
| if_ext | Whether to extrapolate the velocity. |
Definition at line 73 of file deardorff.f90.
Definition at line 55 of file deardorff.f90.
Definition at line 82 of file les_model.f90.
Definition at line 80 of file les_model.f90.
|
inherited |
Definition at line 78 of file les_model.f90.
Definition at line 66 of file les_model.f90.
Definition at line 59 of file deardorff.f90.
|
inherited |
Definition at line 74 of file les_model.f90.
Definition at line 76 of file les_model.f90.
|
inherited |
Definition at line 72 of file les_model.f90.
Definition at line 57 of file deardorff.f90.
Definition at line 65 of file deardorff.f90.
| character(len=:), allocatable deardorff::deardorff_t::temperature_field_name |
Definition at line 61 of file deardorff.f90.
Definition at line 66 of file deardorff.f90.
| character(len=:), allocatable deardorff::deardorff_t::tke_field_name |
Definition at line 63 of file deardorff.f90.
Definition at line 68 of file deardorff.f90.
Definition at line 68 of file les_model.f90.
Definition at line 69 of file les_model.f90.
Definition at line 70 of file les_model.f90.