Go to the documentation of this file. 1 Info<<
"Reading field p_rgh\n" <<
endl;
29 #include "createPhi.H"
32 Info<<
"Reading incompressibleTwoPhaseInteractingMixture\n" <<
endl;
33 incompressibleTwoPhaseInteractingMixture
mixture(
U,
phi);
86 CompressibleTurbulenceModel<incompressibleTwoPhaseInteractingMixture>
89 CompressibleTurbulenceModel<incompressibleTwoPhaseInteractingMixture>
94 #include "readGravitationalAcceleration.H"
const dimensionedScalar & rho1
const dimensionedScalar & rho2
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
tmp< surfaceScalarField > talphaPhiCorr0
setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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<< "Creating phaseChangeTwoPhaseMixture\n"<< endl;autoPtr< phaseChangeTwoPhaseMixture > mixture
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< compressible::turbulenceModel > turbulence
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volScalarField & gh
GeometricField< vector, fvPatchField, volMesh > volVectorField
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<< "Reading incompressibleTwoPhaseInteractingMixture\n"<< endl;incompressibleTwoPhaseInteractingMixture mixture(U, phi);volScalarField &alpha1(mixture.alpha1());volScalarField &alpha2(mixture.alpha2());const dimensionedScalar &rho1=mixture.rhod();const dimensionedScalar &rho2=mixture.rhoc();volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mixture.rho());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);autoPtr< relativeVelocityModel > UdmModelPtr(relativeVelocityModel::New(mixture, mixture))
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dictionary & pimple
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), Urel+SRF->U())
relativeVelocityModel & UdmModel(UdmModelPtr())