Functions
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Constructing multiphaseMixtureThermo\n"<< endl;multiphaseMixtureThermo mixture(U, phi);volScalarField &p=mixture.p();volScalarField &T=mixture.T();volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT), mixture.rho());dimensionedScalar pMin("pMin", dimPressure, mixture);mesh.setFluxRequired(p_rgh.name());autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New( rho, U, mixture.rhoPhi(), mixture ))
 

Function Documentation

Info<< "Reading field p_rgh\n" << endl;volScalarField p_rgh( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Constructing multiphaseMixtureThermo\n" << endl;multiphaseMixtureThermo mixture(U, phi);volScalarField& p = mixture.p();volScalarField& T = mixture.T();volScalarField rho( IOobject ( "rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT ), mixture.rho());dimensionedScalar pMin("pMin", dimPressure, mixture);mesh.setFluxRequired(p_rgh.name());autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New( rho, U, mixture.rhoPhi(), mixture )