Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
fluid_scheme_base Module Reference

Data Types

type  fluid_scheme_base_t
 Base type of all fluid formulations. More...
interface  fluid_base_init_all_intrf
 Initialize all fields. More...
interface  fluid_base_init_common_intrf
 Initialize common data for the current scheme. More...
interface  fluid_base_free_intrf
 Deallocate a fluid formulation. More...
interface  fluid_scheme_base_init_intrf
 Abstract interface to initialize a fluid formulation. More...
interface  fluid_scheme_base_free_intrf
 Abstract interface to dealocate a fluid formulation. More...
interface  fluid_scheme_base_step_intrf
 Abstract interface to compute a time-step. More...
interface  fluid_scheme_base_restart_intrf
 Abstract interface to restart a fluid scheme. More...
interface  fluid_scheme_base_set_user_initial_condition_intrf
 Abstract interface to set the initial condition of a fluid scheme with the user routine. More...
interface  fluid_scheme_setup_bcs_intrf
 Abstract interface to setup boundary conditions. More...
interface  validate_intrf
 Abstract interface to validate the user inflow. More...
interface  update_material_properties
 Abstract interface to sets rho and mu. More...
interface  fluid_scheme_base_compute_cfl_intrf
 Compute the CFL number. More...

Functions/Subroutines

subroutine fluid_scheme_base_set_initial_condition (this, params, user, is_restart)
 Initialise a fluid scheme.

Function/Subroutine Documentation

◆ fluid_scheme_base_set_initial_condition()

subroutine fluid_scheme_base::fluid_scheme_base_set_initial_condition ( class(fluid_scheme_base_t), intent(inout) this,
type(json_file), intent(inout) params,
type(user_t), intent(in) user,
logical, intent(in) is_restart )
private

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
paramsThe fluid parameters, i.e. case.fluid.
userType with user-defined procedures.
is_restartWhether the case is restarting from a checkpoint.

Definition at line 332 of file fluid_scheme_base.f90.

Here is the call graph for this function: