|
Neko 1.99.9
A portable framework for high-order spectral element flow simulations
|


Public Member Functions | |
| procedure | init (this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho) |
| procedure | free (this) |
| procedure | step (this, time, ext_bdf, dt_controller, ksp_results) |
| procedure | restart (this, chkp) |
| procedure, pass(this) | scheme_init (this, msh, c_xh, gs_xh, params, scheme, user, rho) |
| Constructor for the base type. | |
| procedure, pass(this) | scheme_free (this) |
| Destructor for the base type. | |
| procedure, pass(this) | validate (this) |
| Validate successful initialization. | |
| procedure, pass(this) | set_initial_condition (this, user, scalar_index) |
| Set the initial condition. | |
| procedure, pass(this) | register_checkpoint (this, chkp) |
| Register the scheme fields for checkpointing. | |
| procedure, pass(this) | set_material_properties (this, params, user) |
| Set lambda and cp. | |
| procedure, pass(this) | update_material_properties (this, time) |
| Update variable material properties. | |
| procedure(scalar_scheme_init_intrf), deferred, pass | init (this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho) |
| Constructor. | |
| procedure(scalar_scheme_free_intrf), deferred, pass | free (this) |
| Destructor. | |
| procedure(scalar_scheme_step_intrf), deferred, pass | step (this, time, ext_bdf, dt_controller, ksp_results) |
| Solve for the current timestep. | |
| procedure(scalar_scheme_restart_intrf), deferred, pass | restart (this, chkp) |
| Restart from a checkpoint. | |
Public Attributes | |
| character(len=:), allocatable | name |
| A name that can be used to distinguish this solver in e.g. user routines. | |
| type(field_t), pointer | u |
| x-component of Velocity | |
| type(field_t), pointer | v |
| y-component of Velocity | |
| type(field_t), pointer | w |
| z-component of Velocity | |
| type(field_t), pointer | s |
| The scalar. | |
| type(field_series_t) | slag |
| Lag arrays, i.e. solutions at previous timesteps. | |
| type(space_t), pointer | xh |
| Function space \( X_h \). | |
| type(dofmap_t), pointer | dm_xh |
| Dofmap associated with \( X_h \). | |
| type(gs_t), pointer | gs_xh |
| Gather-scatter associated with \( X_h \). | |
| type(coef_t), pointer | c_xh |
| Coefficients associated with \( X_h \). | |
| type(field_t), pointer | f_xh => null() |
| Right-hand side. | |
| type(scalar_source_term_t) | source_term |
| The source term for equation. | |
| class(ksp_t), allocatable | ksp |
| Krylov solver. | |
| integer | ksp_maxiter |
| Max iterations in the Krylov solver. | |
| integer | projection_dim |
| Projection space size. | |
| integer | projection_activ_step |
| class(pc_t), allocatable | pc |
| Preconditioner. | |
| type(bc_list_t) | bcs |
| List of boundary conditions, including the user one. | |
| type(json_file), pointer | params => null() |
| Case parameters. | |
| type(mesh_t), pointer | msh => null() |
| Mesh. | |
| type(chkp_t), pointer | chkp => null() |
| Checkpoint for restarts. | |
| character(len=:), allocatable | nut_field_name |
| The turbulent kinematic viscosity field name. | |
| character(len=:), allocatable | alphat_field_name |
| The turbulent diffusivity field name. | |
| type(field_t), pointer | rho => null() |
| Density. | |
| type(field_t), pointer | lambda => null() |
| Thermal diffusivity. | |
| type(field_t), pointer | cp => null() |
| Specific heat capacity. | |
| type(field_t), pointer | lambda_tot => null() |
| Total diffusivity. | |
| real(kind=rp) | pr_turb |
| Turbulent Prandtl number. | |
| type(field_list_t) | material_properties |
| Field list with cp and lambda. | |
| logical | freeze = .false. |
| Freeze the scheme, i.e. do nothing in step() | |
| logical | svv_enabled = .false. |
| Whether spectral vanishing viscosity is enabled. | |
| type(svv_t), allocatable | svv |
| Spectral vanishing viscosity data. | |
Static Public Attributes | |
| procedure(user_material_properties_intf), pointer, nopass | user_material_properties => null() |
Definition at line 21 of file scalar_scheme_template.f90.
| procedure scalar_scheme_template::scalar_scheme_template_t::free | ( | class(scalar_scheme_template_t), intent(inout) | this | ) |
Definition at line 24 of file scalar_scheme_template.f90.
|
pure virtualinherited |
Definition at line 166 of file scalar_scheme.f90.
| procedure scalar_scheme_template::scalar_scheme_template_t::init | ( | class(scalar_scheme_template_t), intent(inout), target | this, |
| type(mesh_t), intent(in), target | msh, | ||
| type(coef_t), intent(in), target | coef, | ||
| type(gs_t), intent(inout), target | gs, | ||
| type(json_file), intent(inout), target | params, | ||
| type(json_file), intent(inout), target | numerics_params, | ||
| type(user_t), intent(in), target | user, | ||
| type(chkp_t), intent(inout), target | chkp, | ||
| type(field_series_t), intent(in), target | ulag, | ||
| type(field_series_t), intent(in), target | vlag, | ||
| type(field_series_t), intent(in), target | wlag, | ||
| type(time_scheme_controller_t), intent(in), target | time_scheme, | ||
| type(field_t), intent(in), target | rho | ||
| ) |
Definition at line 23 of file scalar_scheme_template.f90.
|
pure virtualinherited |
Definition at line 164 of file scalar_scheme.f90.
|
inherited |
| chkp | Checkpoint object to register with. |
Definition at line 155 of file scalar_scheme.f90.
|
pure virtualinherited |
Definition at line 170 of file scalar_scheme.f90.
|
inherited |
Definition at line 148 of file scalar_scheme.f90.
|
inherited |
| msh | The mesh. |
| c_Xh | The coefficients. |
| gs_Xh | The gather-scatter. |
| params | The parameter dictionary in json. |
| scheme | The name of the scalar scheme. |
| user | Type with user-defined procedures. |
| rho | The density of the fluid. |
Definition at line 146 of file scalar_scheme.f90.
|
inherited |
| user | Type with user-defined procedures. |
| scalar_index | Index of the scalar in a field file. |
Definition at line 152 of file scalar_scheme.f90.
|
inherited |
| params | The case file configuration dictionary. |
| user | The user interface. |
Definition at line 158 of file scalar_scheme.f90.
| procedure scalar_scheme_template::scalar_scheme_template_t::step | ( | class(scalar_scheme_template_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time, | ||
| type(time_scheme_controller_t), intent(in) | ext_bdf, | ||
| type(time_step_controller_t), intent(in) | dt_controller, | ||
| type(ksp_monitor_t), intent(inout) | ksp_results | ||
| ) |
Definition at line 25 of file scalar_scheme_template.f90.
|
pure virtualinherited |
Definition at line 168 of file scalar_scheme.f90.
|
inherited |
| t | Time value. |
| tstep | Current time step. |
Definition at line 161 of file scalar_scheme.f90.
|
inherited |
Definition at line 150 of file scalar_scheme.f90.
|
inherited |
Definition at line 123 of file scalar_scheme.f90.
|
inherited |
Definition at line 113 of file scalar_scheme.f90.
Definition at line 97 of file scalar_scheme.f90.
Definition at line 119 of file scalar_scheme.f90.
Definition at line 129 of file scalar_scheme.f90.
|
inherited |
Definition at line 93 of file scalar_scheme.f90.
Definition at line 99 of file scalar_scheme.f90.
|
inherited |
Definition at line 139 of file scalar_scheme.f90.
Definition at line 95 of file scalar_scheme.f90.
|
inherited |
Definition at line 103 of file scalar_scheme.f90.
|
inherited |
Definition at line 105 of file scalar_scheme.f90.
Definition at line 127 of file scalar_scheme.f90.
Definition at line 131 of file scalar_scheme.f90.
|
inherited |
Definition at line 135 of file scalar_scheme.f90.
Definition at line 117 of file scalar_scheme.f90.
|
inherited |
Definition at line 79 of file scalar_scheme.f90.
|
inherited |
Definition at line 121 of file scalar_scheme.f90.
Definition at line 115 of file scalar_scheme.f90.
|
inherited |
Definition at line 111 of file scalar_scheme.f90.
|
inherited |
Definition at line 133 of file scalar_scheme.f90.
|
inherited |
Definition at line 109 of file scalar_scheme.f90.
|
inherited |
Steps to activate projection for ksp
Definition at line 107 of file scalar_scheme.f90.
Definition at line 125 of file scalar_scheme.f90.
Definition at line 87 of file scalar_scheme.f90.
|
inherited |
Definition at line 89 of file scalar_scheme.f90.
|
inherited |
Definition at line 101 of file scalar_scheme.f90.
|
inherited |
Definition at line 143 of file scalar_scheme.f90.
|
inherited |
Definition at line 141 of file scalar_scheme.f90.
Definition at line 81 of file scalar_scheme.f90.
|
staticinherited |
Definition at line 136 of file scalar_scheme.f90.
Definition at line 83 of file scalar_scheme.f90.
Definition at line 85 of file scalar_scheme.f90.
|
inherited |
Definition at line 91 of file scalar_scheme.f90.