Loading...
Searching...
No Matches
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "\nReading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);singlePhaseTransportModel laminarTransport(U, phi);dimensionedScalar rhoInfValue("rhoInf", dimDensity, laminarTransport);const dimensionedScalar invRhoInf(dimless/dimDensity, scalar(1)/rhoInfValue.value());volScalarField rhoInf(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, rhoInfValue);volScalarField muc(IOobject("muc", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rhoInf *laminarTransport.nu());Info<< "Creating turbulence model\n"<< endl;autoPtr< incompressible::turbulenceModel > turbulence (incompressible::turbulenceModel::New(U, phi, laminarTransport))
 setRefCell (p, pimple.dict(), pRefCell, pRefValue)
mesh setFluxRequired (p.name())

Variables

label pRefCell = 0
scalar pRefValue = 0.0

Function Documentation

◆ turbulence()

Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "\nReading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);singlePhaseTransportModel laminarTransport(U, phi);dimensionedScalar rhoInfValue("rhoInf", dimDensity, laminarTransport);const dimensionedScalar invRhoInf(dimless/dimDensity, scalar(1)/rhoInfValue.value());volScalarField rhoInf(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, rhoInfValue);volScalarField muc(IOobject("muc", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rhoInf *laminarTransport.nu());Info<< "Creating turbulence model\n"<< endl;autoPtr< incompressible::turbulenceModel > turbulence ( incompressible::turbulenceModel::New(U, phi, laminarTransport) )

References laminarTransport(), phi, and U.

Here is the call graph for this function:

◆ setRefCell()

setRefCell ( p ,
pimple. dict(),
pRefCell ,
pRefValue  )

References p, pimple, pRefCell, and pRefValue.

Referenced by forAll(), and Foam::setRefCell().

Here is the caller graph for this function:

◆ setFluxRequired()

mesh setFluxRequired ( p. name())

References mesh, and p.

Variable Documentation

◆ pRefCell

label pRefCell = 0

Definition at line 80 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 81 of file createFields.H.