BUG: Corrected missing sqrt(2) factors in incompressible kOmegaSST model

This commit is contained in:
andy
2010-11-05 12:52:30 +00:00
parent 1df7148dc1
commit e338bd79ca

View File

@ -246,7 +246,7 @@ kOmegaSST::kOmegaSST
/ max
(
a1_*omega_,
F2()*mag(symm(fvc::grad(U_)))
F2()*sqrt(2.0)*mag(symm(fvc::grad(U_)))
)
);
nut_.correctBoundaryConditions();
@ -400,7 +400,7 @@ void kOmegaSST::correct()
// Re-calculate viscosity
nut_ = a1_*k_/max(a1_*omega_, F2()*sqrt(S2));
nut_ = a1_*k_/max(a1_*omega_, F2()*sqrt(2*S2));
nut_.correctBoundaryConditions();
}