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

Data Types

type  fluid_scheme_compressible_ns_t

Functions/Subroutines

subroutine fluid_scheme_compressible_ns_init (this, msh, lx, params, numerics_params, user, chkp, output_boundary)
 Boundary condition factory for density.
subroutine fluid_scheme_compressible_ns_free (this)
 Free allocated memory and cleanup.
subroutine fluid_scheme_compressible_ns_step (this, time, dt_controller)
 Advance the fluid simulation one timestep.
subroutine fluid_scheme_compressible_ns_setup_bcs (this, user, params)
 Set up boundary conditions for the fluid scheme.
subroutine fluid_scheme_compressible_ns_restart (this, chkp)
 Restart the simulation from saved state.
subroutine setup_viscous_regularization (this, params)

Function/Subroutine Documentation

◆ fluid_scheme_compressible_ns_free()

subroutine fluid_scheme_compressible_ns::fluid_scheme_compressible_ns_free ( class(fluid_scheme_compressible_ns_t), intent(inout) this)
private
Parameters
thisThe fluid scheme object to destroy

Definition at line 255 of file fluid_scheme_compressible_ns.f90.

◆ fluid_scheme_compressible_ns_init()

subroutine fluid_scheme_compressible_ns::fluid_scheme_compressible_ns_init ( class(fluid_scheme_compressible_ns_t), intent(inout), target this,
type(mesh_t), intent(inout), target msh,
integer, intent(in) lx,
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,
logical, intent(in) output_boundary )

Will mark a mesh zone for the bc and finalize.

Parameters
[in,out]objectThe object to be allocated.
[in]schemeThe fluid_scheme_compressible_ns_t scheme.
[in,out]jsonJSON object for initializing the bc.
[in]coefSEM coefficients.
[in]userThe user interface. Boundary condition factory for pressure.

Will mark a mesh zone for the bc and finalize.

Parameters
[in,out]objectThe object to be allocated.
[in]schemeThe fluid_scheme_compressible_ns_t scheme.
[in,out]jsonJSON object for initializing the bc.
[in]coefSEM coefficients.
[in]userThe user interface. Boundary condition factory for velocity

Will mark a mesh zone for the bc and finalize.

Parameters
[in,out]objectThe object to be allocated.
[in]schemeThe fluid_scheme_compressible_ns_t scheme.
[in,out]jsonJSON object for initializing the bc.
[in]coefSEM coefficients.
[in]userThe user interface. Initialize the compressible Navier-Stokes fluid scheme
thisThe fluid scheme object
mshMesh data structure
lxPolynomial order in x-direction
paramsThe fluid parameters, i.e. case.fluid
numerics_paramsThe numerical parameters, i.e. case.numerics
userUser-defined parameters and functions
chkpCheckpoint to write to
output_boundaryNot supported by this scheme, ignored

Definition at line 170 of file fluid_scheme_compressible_ns.f90.

◆ fluid_scheme_compressible_ns_restart()

subroutine fluid_scheme_compressible_ns::fluid_scheme_compressible_ns_restart ( class(fluid_scheme_compressible_ns_t), intent(inout), target this,
type(chkp_t), intent(inout) chkp )
private
Parameters
thisThe fluid scheme object
dtlagPrevious timestep sizes
tlagPrevious time values

Definition at line 544 of file fluid_scheme_compressible_ns.f90.

◆ fluid_scheme_compressible_ns_setup_bcs()

subroutine fluid_scheme_compressible_ns::fluid_scheme_compressible_ns_setup_bcs ( class(fluid_scheme_compressible_ns_t), intent(inout), target this,
type(user_t), intent(in), target user,
type(json_file), intent(inout) params )
private
Parameters
thisThe fluid scheme object
userUser-defined boundary conditions
paramsConfiguration parameters

Definition at line 433 of file fluid_scheme_compressible_ns.f90.

◆ fluid_scheme_compressible_ns_step()

subroutine fluid_scheme_compressible_ns::fluid_scheme_compressible_ns_step ( class(fluid_scheme_compressible_ns_t), intent(inout), target this,
type(time_state_t), intent(in) time,
type(time_step_controller_t), intent(in) dt_controller )
private
Parameters
thisThe fluid scheme object
timeCurrent simulation time state
ext_bdfTime integration controller
dt_controllerTimestep size controller

Update artificial viscosity

Apply density boundary conditions

Update variables

Apply velocity boundary conditions

Update m_x, m_y, m_z, p and temp (ruvw)

Apply pressure boundary conditions

Update E

Update temperature T = p / (rho * (gamma - 1))

Update maximum wave speed for CFL computation

Definition at line 305 of file fluid_scheme_compressible_ns.f90.

◆ setup_viscous_regularization()

subroutine fluid_scheme_compressible_ns::setup_viscous_regularization ( class(fluid_scheme_compressible_ns_t), intent(inout), target this,
type(json_file), intent(inout) params )
private

Definition at line 549 of file fluid_scheme_compressible_ns.f90.