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

Data Types

type  fluid_scheme_compressible_t
 Base type of compressible fluid formulations. More...
 

Functions/Subroutines

subroutine fluid_scheme_compressible_init (this, msh, lx, params, scheme, user)
 Initialize common data for compressible fluid scheme.
 
subroutine fluid_scheme_compressible_free (this)
 Free allocated memory and cleanup resources.
 
subroutine fluid_scheme_compressible_validate (this)
 Validate field initialization and compute derived quantities.
 
real(kind=rp) function fluid_scheme_compressible_compute_cfl (this, dt)
 Compute CFL number.
 
subroutine fluid_scheme_compressible_update_material_properties (this, time)
 Set rho and mu.
 
subroutine fluid_scheme_compressible_compute_entropy (this)
 Compute entropy field S = 1/(gamma-1) * rho * (log(p) - gamma * log(rho))
 
subroutine fluid_scheme_compressible_compute_max_wave_speed (this)
 Compute maximum wave speed for compressible flows.
 

Function/Subroutine Documentation

◆ fluid_scheme_compressible_compute_cfl()

real(kind=rp) function fluid_scheme_compressible::fluid_scheme_compressible_compute_cfl ( class(fluid_scheme_compressible_t), intent(in this,
real(kind=rp), intent(in dt 
)
private
Parameters
thisThe compressible fluid scheme object
dtCurrent timestep size
Returns
Computed CFL number

Definition at line 285 of file fluid_scheme_compressible.f90.

Here is the call graph for this function:

◆ fluid_scheme_compressible_compute_entropy()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_compute_entropy ( class(fluid_scheme_compressible_t), intent(inout this)
private
Parameters
thisThe compressible fluid scheme object

TODO: Add support for SX

Definition at line 313 of file fluid_scheme_compressible.f90.

◆ fluid_scheme_compressible_compute_max_wave_speed()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_compute_max_wave_speed ( class(fluid_scheme_compressible_t), intent(inout this)
private
Parameters
thisThe compressible fluid scheme object

TODO: Add support for SX

Definition at line 330 of file fluid_scheme_compressible.f90.

◆ fluid_scheme_compressible_free()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_free ( class(fluid_scheme_compressible_t), intent(inout this)
private
Parameters
thisThe compressible fluid scheme object to destroy

Definition at line 201 of file fluid_scheme_compressible.f90.

◆ fluid_scheme_compressible_init()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_init ( class(fluid_scheme_compressible_t), intent(inout), target  this,
type(mesh_t), intent(inout), target  msh,
integer, intent(in lx,
type(json_file), intent(inout), target  params,
character(len=*), intent(in scheme,
type(user_t), intent(in), target  user 
)
Parameters
thisThe compressible fluid scheme object
mshMesh data structure
lxPolynomial order in x-direction
paramsJSON configuration parameters
schemeName of the numerical scheme
userUser-defined parameters and functions

Definition at line 103 of file fluid_scheme_compressible.f90.

Here is the call graph for this function:

◆ fluid_scheme_compressible_update_material_properties()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_update_material_properties ( class(fluid_scheme_compressible_t), intent(inout this,
type(time_state_t), intent(in time 
)
private
Parameters
thisThe compressible fluid scheme object

Definition at line 306 of file fluid_scheme_compressible.f90.

◆ fluid_scheme_compressible_validate()

subroutine fluid_scheme_compressible::fluid_scheme_compressible_validate ( class(fluid_scheme_compressible_t), intent(inout), target  this)
private
Parameters
thisThe compressible fluid scheme object

Initialize the momentum field

Initialize total energy Total energy E := p / (gamma - 1) + 0.5 * rho * (u^2 + v^2 + w^2)

Compute initial maximum wave speed from initial conditions

Definition at line 250 of file fluid_scheme_compressible.f90.

Here is the call graph for this function: