Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
entropy_viscosity.f90 File Reference

Go to the source code of this file.

Data Types

type  entropy_viscosity::entropy_viscosity_t
 Entropy-based artificial viscosity model for compressible flow. More...
 

Modules

module  entropy_viscosity
 Implements the entropy-based artificial viscosity model.
 

Functions/Subroutines

subroutine entropy_viscosity::entropy_viscosity_init (this, case, json)
 Initialize the entropy viscosity model from a case and JSON parameters.
 
subroutine entropy_viscosity::entropy_viscosity_free (this)
 Free the entropy viscosity model.
 
subroutine entropy_viscosity::entropy_viscosity_preprocess (this, time)
 Compute the artificial viscosity before a time step.
 
subroutine entropy_viscosity::entropy_viscosity_compute_residual (this, tstep, dt, dt_lag)
 Compute the BDF entropy residual.
 
subroutine entropy_viscosity::entropy_viscosity_compute_viscosity (this, tstep)
 Compute and limit the entropy viscosity coefficient.
 
subroutine entropy_viscosity::entropy_viscosity_smooth_viscosity (this)
 Cross-element smoothing via gather-scatter averaging. Averages viscosity values at shared nodes between elements.
 
subroutine entropy_viscosity::entropy_viscosity_apply_element_max (this)
 Replace nodal viscosity values by the maximum in each element.
 
subroutine entropy_viscosity::entropy_viscosity_set_fields (this, p, rho, u, v, w, max_wave_speed, msh, xh, gs, gamma)
 Associate the fields and discretization used by the model.
 
subroutine entropy_viscosity::entropy_viscosity_compute_entropy (this)
 Compute entropy from the current pressure and density.
 
subroutine entropy_viscosity::entropy_viscosity_restart (this, time)
 Reinitialize entropy history from a restarted flow state.
 
subroutine entropy_viscosity::entropy_viscosity_update_lag (this, time)
 Shift the entropy history and compute the new entropy.
 
subroutine entropy_viscosity::entropy_viscosity_col3_vector_cpu (us, vs, ws, u, v, w, s, n)
 Multiply each velocity component by entropy on the CPU.
 
subroutine entropy_viscosity::entropy_viscosity_abs_add_cpu (entropy_residual, div_field, n)
 Add the flux divergence to the residual and take its absolute value.
 
pure real(kind=rp) function entropy_viscosity::entropy_viscosity_low_order (this, i)
 Compute low-order viscosity at one point.
 
subroutine entropy_viscosity::entropy_viscosity_compute_h (this)
 Compute the characteristic mesh size. Adapted from les_model_compute_delta in les_model.f90.