|
Neko 1.99.2
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, chkp) |
| Boundary condition factory for density. | |
| subroutine | fluid_scheme_compressible_euler_free (this) |
| Free allocated memory and cleanup. | |
| subroutine | fluid_scheme_compressible_euler_step (this, time, 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, chkp) |
| Restart the simulation from saved state. | |
|
private |
| this | The fluid scheme object |
Definition at line 462 of file fluid_scheme_compressible_euler.f90.
|
private |
| this | The fluid scheme object to destroy |
Definition at line 223 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, | ||
| type(chkp_t), intent(inout), target | chkp | ||
| ) |
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 | |
| chkp | Checkpoint to write to |
Definition at line 151 of file fluid_scheme_compressible_euler.f90.
|
private |
| this | The fluid scheme object |
| dtlag | Previous timestep sizes |
| tlag | Previous time values |
Definition at line 533 of file fluid_scheme_compressible_euler.f90.
|
private |
| this | The fluid scheme object |
| user | User-defined boundary conditions |
| params | Configuration parameters |
Definition at line 354 of file fluid_scheme_compressible_euler.f90.
|
private |
| this | The fluid scheme object |
| time | Current simulation time state |
| 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
Compute entropy S = 1/(gamma-1) * rho * (log(p) - gamma * log(rho))
Update maximum wave speed for CFL computation
Definition at line 246 of file fluid_scheme_compressible_euler.f90.