Base type of all fluid formulations.
More...
|
| procedure(fluid_scheme_base_init_intrf), deferred, pass | init (this, msh, lx, params, user, chkp) |
| | Constructor.
|
| procedure(fluid_scheme_base_free_intrf), deferred, pass | free (this) |
| | Destructor.
|
| procedure(fluid_scheme_base_step_intrf), deferred, pass | step (this, time, dt_controller) |
| | Advance one step in time.
|
| procedure(fluid_scheme_base_restart_intrf), deferred, pass | restart (this, chkp) |
| | Restart from a checkpoint.
|
| procedure, pass(this) | set_initial_condition (this, user, is_restart) |
| | Set the initial condition.
|
| procedure, pass(this) | set_initial_condition_base (this, user, is_restart) |
| | Set the initial condition, for overrides of set_initial_condition.
|
| procedure(fluid_scheme_base_set_user_initial_condition_intrf), deferred, pass | set_user_initial_condition (this, user) |
| | Set the initial condition with the user routine.
|
| procedure(fluid_scheme_setup_bcs_intrf), deferred, pass | setup_bcs (this, user, params) |
| procedure(validate_intrf), deferred, pass | validate (this) |
| | Set the user inflow.
|
| procedure(fluid_scheme_base_compute_cfl_intrf), deferred, pass | compute_cfl (this, dt) |
| | Compute the CFL number.
|
| procedure(update_material_properties), deferred, pass | update_material_properties (this, time) |
| | Set rho and mu.
|
|
| character(len=:), allocatable | name |
| | A name that can be used to distinguish this solver in e.g. user routines.
|
| type(space_t) | xh |
| | Function space \( X_h \).
|
| type(dofmap_t) | dm_xh |
| | Dofmap associated with \( X_h \).
|
| type(gs_t) | gs_xh |
| | Gather-scatter associated with \( X_h \).
|
| type(coef_t) | c_xh |
| | Coefficients associated with \( X_h \).
|
| type(time_scheme_controller_t), allocatable | ext_bdf |
| type(field_t), pointer | u => null() |
| | The velocity field.
|
| type(field_t), pointer | v => null() |
| | y-component of Velocity
|
| type(field_t), pointer | w => null() |
| | z-component of Velocity
|
| type(field_t), pointer | p => null() |
| | Pressure.
|
| type(field_series_t) | ulag |
| type(field_series_t) | vlag |
| type(field_series_t) | wlag |
| | fluid field (lag)
|
| type(chkp_t), pointer | chkp => null() |
| | Checkpoint.
|
| type(field_t), pointer | f_x => null() |
| | X-component of the right-hand side.
|
| type(field_t), pointer | f_y => null() |
| | Y-component of the right-hand side.
|
| type(field_t), pointer | f_z => null() |
| | Z-component of the right-hand side.
|
| type(bc_list_t) | bcs_prs |
| | Boundary conditions.
|
| type(bc_list_t) | bcs_vel |
| type(json_file), pointer | params |
| | Parameters.
|
| type(mesh_t), pointer | msh => null() |
| | Mesh.
|
| character(len=neko_msh_max_zlbl_len), dimension(:), allocatable | bc_labels |
| | Boundary condition labels (if any).
|
| type(field_t), pointer | rho => null() |
| | Density field.
|
| type(field_t), pointer | mu => null() |
| | The dynamic viscosity.
|
| type(field_list_t) | material_properties |
| | A helper that packs material properties to pass to the user routine.
|
| logical | freeze = .false. |
| | Is the fluid frozen at the moment.
|
Definition at line 60 of file fluid_scheme_base.f90.
◆ compute_cfl()
◆ free()
◆ init()
| procedure(fluid_scheme_base_init_intrf), deferred, pass fluid_scheme_base::fluid_scheme_base_t::init |
( |
class(fluid_scheme_base_t), intent(inout), target | this, |
|
|
type(mesh_t), intent(inout), target | msh, |
|
|
integer, intent(in) | lx, |
|
|
type(json_file), intent(inout), target | params, |
|
|
type(user_t), intent(in), target | user, |
|
|
type(chkp_t), intent(inout), target | chkp ) |
|
pure virtual |
◆ restart()
◆ set_initial_condition()
| procedure, pass(this) fluid_scheme_base::fluid_scheme_base_t::set_initial_condition |
( |
class(fluid_scheme_base_t), intent(inout) | this, |
|
|
type(user_t), intent(in) | user, |
|
|
logical, intent(in) | is_restart ) |
Set the initial condition of the velocity and pressure. A built-in initial condition is set here, a user one by set_user_initial_condition.
- Parameters
-
| user | Type with user-defined procedures. |
| is_restart | Whether the case is restarting from a checkpoint. |
Definition at line 126 of file fluid_scheme_base.f90.
◆ set_initial_condition_base()
| procedure, pass(this) fluid_scheme_base::fluid_scheme_base_t::set_initial_condition_base |
( |
class(fluid_scheme_base_t), intent(inout) | this, |
|
|
type(user_t), intent(in) | user, |
|
|
logical, intent(in) | is_restart ) |
Set the initial condition of the velocity and pressure. A built-in initial condition is set here, a user one by set_user_initial_condition.
- Parameters
-
| user | Type with user-defined procedures. |
| is_restart | Whether the case is restarting from a checkpoint. |
Definition at line 129 of file fluid_scheme_base.f90.
◆ set_user_initial_condition()
◆ setup_bcs()
◆ step()
◆ update_material_properties()
| procedure(update_material_properties), deferred, pass fluid_scheme_base::fluid_scheme_base_t::update_material_properties |
( |
class(fluid_scheme_base_t), intent(inout) | this, |
|
|
type(time_state_t), intent(in) | time ) |
|
pure virtual |
◆ validate()
◆ bc_labels
| character(len=neko_msh_max_zlbl_len), dimension(:), allocatable fluid_scheme_base::fluid_scheme_base_t::bc_labels |
◆ bcs_prs
| type(bc_list_t) fluid_scheme_base::fluid_scheme_base_t::bcs_prs |
◆ bcs_vel
| type(bc_list_t) fluid_scheme_base::fluid_scheme_base_t::bcs_vel |
◆ c_xh
| type(coef_t) fluid_scheme_base::fluid_scheme_base_t::c_xh |
◆ chkp
| type(chkp_t), pointer fluid_scheme_base::fluid_scheme_base_t::chkp => null() |
◆ dm_xh
| type(dofmap_t) fluid_scheme_base::fluid_scheme_base_t::dm_xh |
◆ ext_bdf
◆ f_x
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::f_x => null() |
◆ f_y
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::f_y => null() |
◆ f_z
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::f_z => null() |
◆ freeze
| logical fluid_scheme_base::fluid_scheme_base_t::freeze = .false. |
◆ gs_xh
| type(gs_t) fluid_scheme_base::fluid_scheme_base_t::gs_xh |
◆ material_properties
| type(field_list_t) fluid_scheme_base::fluid_scheme_base_t::material_properties |
◆ msh
| type(mesh_t), pointer fluid_scheme_base::fluid_scheme_base_t::msh => null() |
◆ mu
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::mu => null() |
◆ name
| character(len=:), allocatable fluid_scheme_base::fluid_scheme_base_t::name |
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::p => null() |
◆ params
| type(json_file), pointer fluid_scheme_base::fluid_scheme_base_t::params |
◆ rho
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::rho => null() |
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::u => null() |
◆ ulag
◆ user_material_properties
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::v => null() |
◆ vlag
| type(field_t), pointer fluid_scheme_base::fluid_scheme_base_t::w => null() |
◆ wlag
◆ xh
| type(space_t) fluid_scheme_base::fluid_scheme_base_t::xh |
The documentation for this type was generated from the following file: