Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Data Types | |
type | fluid_scheme_compressible_euler_t |
Functions/Subroutines | |
subroutine | fluid_scheme_compressible_euler_init (this, msh, lx, params, user) |
Boundary condition factory for density. | |
subroutine | fluid_scheme_compressible_euler_free (this) |
Free allocated memory and cleanup. | |
subroutine | fluid_scheme_compressible_euler_step (this, t, tstep, dt, ext_bdf, dt_controller) |
Advance the fluid simulation one timestep. | |
subroutine | fluid_scheme_compressible_euler_setup_bcs (this, user, params) |
Set up boundary conditions for the fluid scheme. | |
subroutine | compute_h (this) |
Copied from les_model_compute_delta in les_model.f90 TODO: move to a separate module Compute characteristic mesh size h. | |
subroutine | fluid_scheme_compressible_euler_restart (this, dtlag, tlag) |
Restart the simulation from saved state. | |
|
private |
this | The fluid scheme object |
Definition at line 439 of file fluid_scheme_compressible_euler.f90.
|
private |
this | The fluid scheme object to destroy |
Definition at line 227 of file fluid_scheme_compressible_euler.f90.
subroutine fluid_scheme_compressible_euler::fluid_scheme_compressible_euler_init | ( | class(fluid_scheme_compressible_euler_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 | ||
) |
Will mark a mesh zone for the bc and finalize.
[in,out] | object | The object to be allocated. |
[in] | scheme | The fluid_scheme_compressible_euler_t scheme. |
[in,out] | json | JSON object for initializing the bc. |
[in] | coef | SEM coefficients. |
[in] | user | The user interface. Boundary condition factory for pressure. |
Will mark a mesh zone for the bc and finalize.
[in,out] | object | The object to be allocated. |
[in] | scheme | The fluid_scheme_compressible_euler_t scheme. |
[in,out] | json | JSON object for initializing the bc. |
[in] | coef | SEM coefficients. |
[in] | user | The user interface. Boundary condition factory for velocity |
Will mark a mesh zone for the bc and finalize.
[in,out] | object | The object to be allocated. |
[in] | scheme | The fluid_scheme_compressible_euler_t scheme. |
[in,out] | json | JSON object for initializing the bc. |
[in] | coef | SEM coefficients. |
[in] | user | The user interface. Initialize the compressible Euler fluid scheme |
this | The fluid scheme object | |
msh | Mesh data structure | |
lx | Polynomial order in x-direction | |
params | JSON configuration parameters | |
user | User-defined parameters and functions |
Definition at line 157 of file fluid_scheme_compressible_euler.f90.
|
private |
this | The fluid scheme object |
dtlag | Previous timestep sizes |
tlag | Previous time values |
Definition at line 510 of file fluid_scheme_compressible_euler.f90.
|
private |
this | The fluid scheme object |
user | User-defined boundary conditions |
params | Configuration parameters |
Definition at line 345 of file fluid_scheme_compressible_euler.f90.
|
private |
this | The fluid scheme object |
t | Current simulation time |
tstep | Current timestep number |
dt | Timestep size |
ext_bdf | Time integration controller |
dt_controller | Timestep size controller |
Apply density boundary conditions
Update variables
Apply velocity boundary conditions
Update p = (gamma - 1) * (E - 0.5 * rho * (u^2 + v^2 + w^2))
Apply pressure boundary conditions
TODO: Update maximum wave speed
Definition at line 250 of file fluid_scheme_compressible_euler.f90.