ENH: Updated buoyantSimpleFoam to use rhoThermo

This commit is contained in:
andy
2013-01-31 15:36:41 +00:00
parent 6129a9350a
commit f69816fa38
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "fvCFD.H"
#include "psiThermo.H"
#include "rhoThermo.H"
#include "RASModel.H"
#include "radiationModel.H"
#include "simpleControl.H"

View File

@ -1,10 +1,10 @@
Info<< "Reading thermophysical properties\n" << endl;
autoPtr<psiThermo> pThermo
autoPtr<rhoThermo> pThermo
(
psiThermo::New(mesh)
rhoThermo::New(mesh)
);
psiThermo& thermo = pThermo();
rhoThermo& thermo = pThermo();
thermo.validate(args.executable(), "h", "e");
volScalarField rho