#include "src/finiteVolume/cfdTools/incompressible/createPhi.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 << "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);label pRefCell=0;scalar pRefValue=0.0;setRefCell(p, mesh.solutionDict().subDict("PIMPLE"), pRefCell, pRefValue);singlePhaseTransportModel laminarTransport(U, phi);autoPtr < incompressible::turbulenceModel > | turbulence (incompressible::turbulenceModel::New(U, phi, laminarTransport)) |
Info<< "Reading field p\n" << endl; volScalarField p ( IOobject ( "p", 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 ); label pRefCell = 0; scalar pRefValue = 0.0; setRefCell(p, mesh.solutionDict().subDict("PIMPLE"), pRefCell, pRefValue); singlePhaseTransportModel laminarTransport(U, phi); autoPtr<incompressible::turbulenceModel> turbulence | ( | incompressible::turbulenceModel:: | NewU, phi, laminarTransport ) |