Skip to content
Snippets Groups Projects
Commit e684b767 authored by sergio's avatar sergio
Browse files

BUG: Keeping kOmegaSST compressible and incompressible on the same

formulation for nut and mut
parent 160f1b52
Branches
Tags
No related merge requests found
...@@ -268,7 +268,7 @@ kOmegaSST::kOmegaSST ...@@ -268,7 +268,7 @@ kOmegaSST::kOmegaSST
/ max / max
( (
a1_*omega_, a1_*omega_,
F2()*sqrt(2.0*magSqr(symm(fvc::grad(U_)))) F2()*sqrt(2.0)*mag(symm(fvc::grad(U_)))
) )
); );
mut_.correctBoundaryConditions(); mut_.correctBoundaryConditions();
...@@ -365,7 +365,7 @@ void kOmegaSST::correct() ...@@ -365,7 +365,7 @@ void kOmegaSST::correct()
// Re-calculate viscosity // Re-calculate viscosity
mut_ = mut_ =
a1_*rho_*k_ a1_*rho_*k_
/max(a1_*omega_, F2()*sqrt(2.0*magSqr(symm(fvc::grad(U_))))); /max(a1_*omega_, F2()*sqrt(2.0)*mag(symm(fvc::grad(U_))));
mut_.correctBoundaryConditions(); mut_.correctBoundaryConditions();
// Re-calculate thermal diffusivity // Re-calculate thermal diffusivity
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment