|
Neko 1.99.6
A portable framework for high-order spectral element flow simulations
|
Go to the source code of this file.
Data Types | |
| type | compressible_res_cpu::compressible_res_cpu_t |
Modules | |
| module | compressible_res_cpu |
| This implements CPU-based residual calculations for the compressible equations. It handles the time advancement of primitive variables using Runge-Kutta methods and evaluates the right-hand side terms of the compressible equations including artificial viscosity. | |
Functions/Subroutines | |
| subroutine | compressible_res_cpu::advance_primitive_variables_cpu (rho_field, m_x, m_y, m_z, e, p, u, v, w, ax, ax_stress, coef, gs, h, artificial_visc, mu, kappa, bcs_vel, time, rk_scheme, dt) |
| Advances the primitive variables (density, momentum, energy) in time using a Runge-Kutta scheme. | |
| subroutine | compressible_res_cpu::evaluate_rhs_cpu (rhs_rho_field, rhs_m_x, rhs_m_y, rhs_m_z, rhs_e, rho_field, m_x, m_y, m_z, e, p, u, v, w, ax, ax_stress, coef, gs, h, artificial_visc, mu, kappa) |
| Evaluates the right-hand side of the compressible equations. Inviscid terms are evaluated through div(). Stabilization is always the existing scalar Laplacian. In navier-stokes mode, physical mu and kappa add a separate compressible Navier-Stokes viscous flux. | |
| subroutine | compressible_res_cpu::add_navier_stokes_flux_cpu (visc_m_x, visc_m_y, visc_m_z, visc_e, rho_field, p, u, v, w, mu, kappa, ax, ax_stress, coef) |
| Add the physical Navier-Stokes flux contribution to the viscous residual. | |
Variables | |
| logical | compressible_res_cpu::compressible_res_cpu_add_physical_flux = .false. |
| Whether physical Navier-Stokes fluxes are active for the current step. | |
| logical | compressible_res_cpu::compressible_res_cpu_add_physical_stress = .false. |
| Whether physical viscous stress is active for the current step. | |
| real(kind=rp), public | compressible_res_cpu::compressible_res_cpu_gamma = 1.4_rp |
| Module variable to store thermodynamic parameter set by factory. | |