|
Neko 1.99.9
A portable framework for high-order spectral element flow simulations
|
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=dp) function | fluid_scheme_compressible_compute_cfl (this, dt) |
| Compute CFL number. | |
| subroutine | fluid_scheme_compressible_set_material_properties (this, params, user) |
| Set material properties mu and rho. | |
| subroutine | fluid_scheme_compressible_update_material_properties (this, time) |
| Update variable material properties. | |
| subroutine | fluid_scheme_compressible_update_physical_flux (this) |
| Refresh the physical-flux switches from the current material properties. | |
| subroutine | fluid_scheme_compressible_compute_max_wave_speed (this) |
| Compute maximum wave speed for compressible flows. | |
| subroutine | fluid_scheme_compressible_log_solver_info (this, params, scheme, lx) |
| Log comprehensive solver information. | |
|
private |
| this | The compressible fluid scheme object |
| dt | Current timestep size |
Definition at line 382 of file fluid_scheme_compressible.f90.
|
private |
| this | The compressible fluid scheme object |
TODO: Add support for SX
Definition at line 510 of file fluid_scheme_compressible.f90.
|
private |
| this | The compressible fluid scheme object to destroy |
Definition at line 249 of file fluid_scheme_compressible.f90.
| 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 | ||
| ) |
| this | The compressible fluid scheme object |
| msh | Mesh data structure |
| lx | Polynomial order in x-direction |
| params | JSON configuration parameters |
| scheme | Name of the numerical scheme |
| user | User-defined parameters and functions |
Definition at line 137 of file fluid_scheme_compressible.f90.

|
private |
| this | The compressible fluid scheme object |
| params | JSON configuration parameters |
| scheme | Name of the numerical scheme |
| lx | Polynomial order in x-direction |
Definition at line 533 of file fluid_scheme_compressible.f90.
|
private |
| this | The compressible fluid scheme object |
| params | The case parameter file |
| user | The user interface |
Definition at line 405 of file fluid_scheme_compressible.f90.
|
private |
| this | The compressible fluid scheme object |
| time | The time state |
Definition at line 452 of file fluid_scheme_compressible.f90.
|
private |
Decides whether the physical Navier-Stokes viscous and heat fluxes have to be evaluated at all, by testing \( \max_i |\mu_i| \) and \( \max_i |\kappa_i| \) against zero.
On a device backend the reduction runs as a kernel over the device resident arrays. Inspecting the host mirrors mux and kappax instead would be wrong as well as slow: field_cfill, and the device_math routines a user file calls, only write x_d, so the host copies stay at their initial zero and the solver would silently degrade to Euler.
The reduction is global, so all ranks agree on the branch taken even when the viscosity is non-zero on only some of them.
| this | The compressible fluid scheme object |
Definition at line 481 of file fluid_scheme_compressible.f90.
|
private |
| this | The 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)
Initialize temperature T = p / (rho * (gamma - 1))
Compute initial maximum wave speed from initial conditions
Definition at line 341 of file fluid_scheme_compressible.f90.
