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


Public Member Functions | |
| procedure, pass(this) | init (this, dofmap, coef, json) |
| Constructor from JSON. | |
| procedure, pass(this) | init_from_components (this, dofmap, coef, c_s, nut_name, delta_type) |
| 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, dofmap, coef, nut_name, delta_type) |
| 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, dofmap, coef, 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_s |
| Model constant, defaults to 0.07. | |
| 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 51 of file smagorinsky.f90.
|
pure virtualinherited |
Definition at line 72 of file les_model.f90.
| procedure, pass(this) smagorinsky::smagorinsky_t::compute | ( | class(smagorinsky_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 63 of file smagorinsky.f90.
|
inherited |
Definition at line 66 of file les_model.f90.
|
pure virtualinherited |
Definition at line 70 of file les_model.f90.
Definition at line 61 of file smagorinsky.f90.
|
inherited |
Definition at line 64 of file les_model.f90.
|
pure virtualinherited |
Definition at line 68 of file les_model.f90.
| procedure, pass(this) smagorinsky::smagorinsky_t::init | ( | class(smagorinsky_t), intent(inout) | this, |
| type(dofmap_t), intent(in) | dofmap, | ||
| type(coef_t), intent(in) | coef, | ||
| type(json_file), intent(inout) | json | ||
| ) |
| dofmap | SEM map of degrees of freedom. |
| coef | SEM coefficients. |
| json | A dictionary with parameters. |
Definition at line 56 of file smagorinsky.f90.
|
inherited |
| object | The object to be allocated. |
| type_name | The name of the LES model. |
| dofmap | SEM map of degrees of freedom. |
| coef | SEM coefficients. |
| json | A dictionary with parameters. Constructor for the les_model_t (base) class. |
| dofmap | SEM map of degrees of freedom. |
| coef | SEM coefficients. |
| nu_name | The name of the turbulent viscosity field. |
Definition at line 62 of file les_model.f90.
| procedure, pass(this) smagorinsky::smagorinsky_t::init_from_components | ( | class(smagorinsky_t), intent(inout) | this, |
| type(dofmap_t), intent(in) | dofmap, | ||
| type(coef_t), intent(in) | coef, | ||
| real(kind=rp) | c_s, | ||
| character(len=*), intent(in) | nut_name, | ||
| character(len=*), intent(in) | delta_type | ||
| ) |
| dofmap | SEM map of degrees of freedom. |
| coef | SEM coefficients. |
| c_s | The model constant. |
| nut_name | The name of the SGS viscosity field. |
Definition at line 58 of file smagorinsky.f90.
Definition at line 53 of file smagorinsky.f90.
Definition at line 59 of file les_model.f90.
Definition at line 57 of file les_model.f90.
|
inherited |
Definition at line 55 of file les_model.f90.
Definition at line 53 of file les_model.f90.