Definition in file createFields.H.
#include "src/finiteVolume/cfdTools/incompressible/createPhiv.H"
#include "src/finiteVolume/cfdTools/compressible/compressibleCreatePhi.H"
Go to the source code of this file.
Functions | |
Info<< "Reading field U\n" << endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info << "Reading transportProperties\n"<< endl;twoPhaseMixture twoPhaseProperties(U, phiv,"gamma");autoPtr < incompressible::turbulenceModel > | turbulence (incompressible::turbulenceModel::New(U, phiv, twoPhaseProperties)) |
Variables | |
Info<< "Reading field p\n" << endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField gamma(IOobject("gamma", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), max(min((rho-rholSat)/(rhovSat-rholSat), scalar(1)), scalar(0)));gamma.oldTime();Info << "Creating compressibilityModel\n"<< endl;autoPtr < barotropicCompressibilityModel > | psiModel |
const volScalarField & | psi = psiModel->psi() |
rho |
Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading transportProperties\n" << endl; twoPhaseMixture twoPhaseProperties(U, phiv, "gamma"); autoPtr<incompressible::turbulenceModel> turbulence | ( | incompressible::turbulenceModel:: | NewU, phiv, twoPhaseProperties ) |
Info<< "Reading field p\n" << endl; volScalarField p ( IOobject ( "p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volScalarField rho ( IOobject ( "rho", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volScalarField gamma ( IOobject ( "gamma", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0)) ); gamma.oldTime(); Info<< "Creating compressibilityModel\n" << endl; autoPtr<barotropicCompressibilityModel> psiModel |
barotropicCompressibilityModel::New ( thermodynamicProperties, gamma )
Definition at line 43 of file createFields.H.
Definition at line 50 of file createFields.H.