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

Go to the source code of this file.

Functions

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

Function Documentation

◆ turbulence()

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 compressibleMultiphaseMixture\n" << endl;compressibleMultiphaseMixture mixture(U, phi);const volScalarField& rho = mixture.rho();dimensionedScalar pMin("pMin", dimPressure, mixture);mesh.schemes().setFluxRequired(p_rgh.name());autoPtr<compressible::momentumTransportModel> turbulence ( compressible::momentumTransportModel::New(rho, U, mixture.rhoPhi(), mixture)  )