Volume variables for the isothermal single-phase one-equation turbulence model by Spalart-Allmaras.
|
| template<class ElementSolution, class Problem, class Element, class SubControlVolume> |
| void | update (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all quantities for a given control volume.
|
| |
| template<class ElementSolution, class Problem, class Element, class SubControlVolume> |
| void | updateRANSProperties (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all turbulent quantities for a given control volume.
|
| |
| Scalar | calculateEddyViscosity () |
| | Returns the dynamic eddy viscosity \(\mathrm{[Pa s]}\).
|
| |
| Scalar | viscosityTilde () const |
| | Returns the viscosity parameter \( m^2/s \).
|
| |
| Scalar | storedViscosityTilde () const |
| | Returns the viscosity parameter from the last iteration \( m^2/s \).
|
| |
| DimVector | storedViscosityTildeGradient () const |
| | Returns the gradient of the viscosity parameter.
|
| |
| Scalar | stressTensorScalarProduct () const |
| | Returns the scalar product of the stress tensor.
|
| |
| Scalar | fv1 () const |
| | Returns damping function for the eddy viscosity.
|
| |
| Scalar | fv2 () const |
| | Returns a model function.
|
| |
| Scalar | ft2 () const |
| | Returns a model function.
|
| |
| Scalar | fW () const |
| | Returns a model function.
|
| |
| Scalar | g () const |
| | Returns a model function.
|
| |
| Scalar | r () const |
| | Returns a model function.
|
| |
| Scalar | viscosityRatio () const |
| | Returns the ratio of the kinematic viscosity and the viscosity parameter.
|
| |
| Scalar | stressTensorScalarProductTilde () const |
| |
| Scalar | vorticityMagnitude () const |
| | Returns the magnitude of the vorticity.
|
| |
| Scalar | c2 () const |
| | Returns a model constant.
|
| |
| Scalar | c3 () const |
| | Returns a model constant.
|
| |
| Scalar | sigma () const |
| | Returns a model constant.
|
| |
| Scalar | cb1 () const |
| | Returns a model constant.
|
| |
| Scalar | cb2 () const |
| | Returns a model constant.
|
| |
| Scalar | cv1 () const |
| | Returns a model constant.
|
| |
| Scalar | ct3 () const |
| | Returns a model constant.
|
| |
| Scalar | ct4 () const |
| | Returns a model constant.
|
| |
| Scalar | cw1 () const |
| | Returns a model constant.
|
| |
| Scalar | cw2 () const |
| | Returns a model constant.
|
| |
| Scalar | cw3 () const |
| | Returns a model constant.
|
| |
| template<class ElementSolution, class Problem, class Element, class SubControlVolume> |
| void | updateNavierStokesVolVars (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| | Update all quantities for a given control volume.
|
| |
| unsigned int | elementIdx () const |
| | Return the element Idx of the control volume.
|
| |
| DimVector | ccVelocityVector () const |
| | Return the velocity vector \(\mathrm{[m/s]}\) at the control volume center.
|
| |
| DimVector | velocityMaximum () const |
| | Return the maximum velocity vector \(\mathrm{[m/s]}\) of the wall segment.
|
| |
| DimVector | velocityMinimum () const |
| | Return the minimum velocity vector \(\mathrm{[m/s]}\) of the wall segment.
|
| |
| DimMatrix | velocityGradients () const |
| | Return the velocity gradients \(\mathrm{[1/s]}\) at the control volume center.
|
| |
| Scalar | wallDistance () const |
| | Return the wall distance \(\mathrm{[m]}\) of the control volume.
|
| |
| Scalar | karmanConstant () const |
| | Return the Karman constant.
|
| |
| Scalar | uStar () const |
| | Return the wall friction velocity \(\mathrm{[m/s]}\).
|
| |
| Scalar | yPlus () const |
| | Return the dimensionless wall distance \(\mathrm{[-]}\).
|
| |
| Scalar | uPlus () const |
| | Return the dimensionless velocity \(\mathrm{[-]}\).
|
| |
| Scalar | dynamicEddyViscosity () const |
| | Return the dynamic eddy viscosity \(\mathrm{[Pa s]}\) of the flow within the control volume.
|
| |
| Scalar | effectiveViscosity () const |
| | Return the effective dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume.
|
| |
| Scalar | kinematicEddyViscosity () const |
| | Return the kinematic eddy viscosity \(\mathrm{[m^2/s]}\) of the flow within the control volume.
|
| |
| Scalar | kinematicViscosity () const |
| | Return the kinematic viscosity \(\mathrm{[m^2/s]}\) of the fluid within the control volume.
|
| |
| template<class Problem> |
| void | calculateEddyDiffusivity (const Problem &problem) |
| | Calculates the eddy diffusivity \(\mathrm{[m^2/s]}\) based on the kinematic eddy viscosity and the turbulent Schmidt number.
|
| |
| template<class Problem, bool eB = enableEnergyBalance, typename std::enable_if_t< eB, int > = 0> |
| void | calculateEddyThermalConductivity (const Problem &problem) |
| | Calculates the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\) based on the kinematic eddy viscosity and the turbulent Prandtl number.
|
| |
| template<class Problem, bool eB = enableEnergyBalance, typename std::enable_if_t<!eB, int > = 0> |
| void | calculateEddyThermalConductivity (const Problem &problem) |
| | Eddy thermal conductivity is zero for isothermal model.
|
| |
| Scalar | eddyDiffusivity () const |
| | Returns the eddy diffusivity \(\mathrm{[m^2/s]}\).
|
| |
| Scalar | eddyThermalConductivity () const |
| | Returns the eddy thermal conductivity \(\mathrm{[W/(m*K)]}\).
|
| |
| Scalar | effectiveDiffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const |
| | Returns the binary diffusion coefficients for a phase in \([m^2/s]\).
|
| |
| template<bool eB = enableEnergyBalance, typename std::enable_if_t< eB, int > = 0> |
| Scalar | effectiveThermalConductivity () const |
| | Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the fluid-flow in the sub-control volume.
|
| |