Added rho for the buoyantPressure BC.

This commit is contained in:
henry
2009-07-10 14:42:23 +01:00
parent ccf35fb5b6
commit 5a83c4660c
5 changed files with 32 additions and 8 deletions

View File

@ -46,3 +46,5 @@
<< " Max(alpha) = " << max(alpha).value()
<< endl;
}
rho = alpha*rhoa + beta*rhob;

View File

@ -156,6 +156,16 @@
+ fvc::interpolate(beta)*phib
);
volScalarField rho
(
IOobject
(
"rho",
runTime.timeName(),
mesh
),
alpha*rhoa + beta*rhob
);
#include "createRASTurbulence.H"

View File

@ -52,3 +52,5 @@
<< endl;
}
}
rho = alpha*rhoa + beta*rhob;

View File

@ -145,6 +145,16 @@
fvc::interpolate(alpha)*phia + fvc::interpolate(beta)*phib
);
volScalarField rho
(
IOobject
(
"rho",
runTime.timeName(),
mesh
),
alpha*rhoa + beta*rhob
);
IOdictionary RASProperties
(