Go to the source code of this file.
|
mesh | schemes ().setFluxRequired(p.name()) |
|
autoPtr< incompressible::momentumTransportModel > | turbulence (incompressible::momentumTransportModel::New(U, phi, mixture)) |
|
|
Info<< "Reading field p\"<< 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);Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);mesh.schemes().setFluxRequired(p.name());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);Info<< "Reading phaseProperties\"<< endl;incompressibleTwoPhaseMixture mixture(U, phi);volScalarField &alphav(mixture.alpha1());alphav.oldTime();volScalarField &alphal(mixture.alpha2());Info<< "Creating compressibilityModel\"<< endl;autoPtr< barotropicCompressibilityModel > | psiModel |
|
const volScalarField & | psi = psiModel->psi() |
|
| rho |
|
◆ schemes()
◆ turbulence()
autoPtr<incompressible::momentumTransportModel> turbulence |
( |
incompressible::momentumTransportModel::New(U, phi, mixture) |
| ) |
|
◆ psiModel
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);Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);mesh.schemes().setFluxRequired(p.name());surfaceScalarField rhoPhi( IOobject ( "rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), fvc::interpolate(rho)*phi);Info<< "Reading phaseProperties\n" << endl;incompressibleTwoPhaseMixture mixture(U, phi);volScalarField& alphav(mixture.alpha1());alphav.oldTime();volScalarField& alphal(mixture.alpha2());Info<< "Creating compressibilityModel\n" << endl;autoPtr<barotropicCompressibilityModel> psiModel |
Initial value:=
(
thermodynamicProperties,
alphav
)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Definition at line 72 of file createFields.H.
◆ psi
const volScalarField& psi = psiModel->psi() |
◆ rho
Initial value:(
rhoMin
)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
const volScalarField & psi
Definition at line 81 of file createFields.H.
Referenced by if().