mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected the implementation of the spectral function.
This commit is contained in:
@ -108,13 +108,13 @@ spectEddyVisc::spectEddyVisc
|
||||
|
||||
tmp<volScalarField> spectEddyVisc::k() const
|
||||
{
|
||||
volScalarField Eps = 2*nuEff()*magSqr(symm(fvc::grad(U())));
|
||||
volScalarField eps = 2*nuEff()*magSqr(symm(fvc::grad(U())));
|
||||
|
||||
return
|
||||
cK1_*pow(delta(), 2.0/3.0)*pow(Eps, 2.0/3.0)
|
||||
*exp(-cK2_*pow(delta(), -4.0/3.0)*nu()/pow(Eps, 1.0/3.0))
|
||||
- cK3_*pow(Eps*nu(), 1.0/2.0)
|
||||
*erfc(cK4_*pow(delta(), -2.0/3.0)*pow(Eps, -1.0/6.0));
|
||||
cK1_*pow(delta()*eps, 2.0/3.0)
|
||||
*exp(-cK2_*pow(delta(), -4.0/3.0)*nu()/pow(eps, 1.0/3.0))
|
||||
- cK3_*sqrt(eps*nu())
|
||||
*erfc(cK4_*pow(delta(), -2.0/3.0)*sqrt(nu())*pow(eps, -1.0/6.0));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user