Info<< "Reading transportProperties\n" << endl;
IOdictionary transportProperties
(
IOobject
"transportProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
Info<< "Calculating field g.h\n" << endl;
volScalarField gh("gh", g & mesh.C());
surfaceScalarField ghf("ghf", g & mesh.Cf());
Info<< "Reading field p_rgh\n" << endl;
volScalarField p_rgh
"p_rgh",
runTime.timeName(),
IOobject::AUTO_WRITE
),
mesh
Info<< "Reading field U\n" << endl;
volVectorField U
"U",
Info<< "Reading field T\n" << endl;
volScalarField T
"T",
# include "createPhi.H"
# include "readTransportProperties.H"
label pRefCell = 0;
scalar pRefValue = 0.0;
setRefCell(p_rgh, simple.dict(), pRefCell, pRefValue);
mesh.schemesDict().setFluxRequired(p_rgh.name());
autoPtr<incompressible::RASModel> turbulence
incompressible::RASModel::New(U, phi, laminarTransport)
# include "attachPatches.H"
Info<< "Reading field kappaEff\n" << endl;
volScalarField kappaEff
"kappaEff",
// Kinematic density for buoyancy force
volScalarField rhok
"rhok",
IOobject::READ_IF_PRESENT,
1.0 - beta*(T - TRef)
Info<< "Creating radiation model\n" << endl;
autoPtr<radiation::radiationModel> radiation
radiation::radiationModel::New(T)