mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: ID 0000028 Inconsistency in nuEffa declaration
This commit is contained in:
@ -4,11 +4,6 @@ fvVectorMatrix UbEqn(Ub, Ub.dimensions()*dimVol/dimTime);
|
||||
{
|
||||
{
|
||||
volTensorField gradUaT = fvc::grad(Ua)().T();
|
||||
volTensorField Rca
|
||||
(
|
||||
"Rca",
|
||||
((2.0/3.0)*I)*(sqr(Ct)*k + nuEffa*tr(gradUaT)) - nuEffa*gradUaT
|
||||
);
|
||||
|
||||
if (kineticTheory.on())
|
||||
{
|
||||
@ -20,6 +15,13 @@ fvVectorMatrix UbEqn(Ub, Ub.dimensions()*dimVol/dimTime);
|
||||
nuEffa = sqr(Ct)*nutb + nua;
|
||||
}
|
||||
|
||||
volTensorField Rca
|
||||
(
|
||||
"Rca",
|
||||
((2.0/3.0)*I)*(sqr(Ct)*k + nuEffa*tr(gradUaT)) - nuEffa*gradUaT
|
||||
);
|
||||
|
||||
|
||||
if (kineticTheory.on())
|
||||
{
|
||||
Rca -= ((kineticTheory.lambda()/rhoa)*tr(gradUaT))*tensor(I);
|
||||
|
||||
Reference in New Issue
Block a user