Go to the documentation of this file.
2 word alphaScheme(
"div(phi,alpha)");
8 tmp<fv::ddtScheme<scalar>> tddtAlpha
13 mesh.ddtScheme(
"ddt(alpha)")
16 const fv::ddtScheme<scalar>&
ddtAlpha = tddtAlpha();
31 <<
"Sub-cycling is not supported "
32 "with the CrankNicolson ddt scheme"
39 ||
mesh.time().timeIndex() >
mesh.time().startTimeIndex() + 1
43 refCast<const fv::CrankNicolsonDdtScheme<scalar>>(
ddtAlpha)
50 <<
"Only Euler and CrankNicolson ddt schemes are supported"
76 surfaceScalarField::Boundary&
phicBf =
77 phic.boundaryFieldRef();
101 #include "alphaSuSp.H"
107 ? fv::localEulerDdtScheme<scalar>(
mesh).fvmDdt(
alpha1)
108 : fv::EulerDdtScheme<scalar>(
mesh).fvmDdt(
alpha1)
110 + fv::gaussConvectionScheme<scalar>
124 Info<<
"Phase-1 volume fraction = "
130 tmp<surfaceScalarField> talphaPhi1UD(alpha1Eqn.flux());
135 Info<<
"Applying the previous iteration compression flux" <<
endl;
160 #include "alphaSuSp.H"
188 talphaPhi1Corr.ref(),
242 word(
mesh.ddtScheme(
"ddt(rho,U)"))
243 == fv::EulerDdtScheme<vector>::typeName
244 || word(
mesh.ddtScheme(
"ddt(rho,U)"))
245 == fv::localEulerDdtScheme<vector>::typeName
263 Info<<
"Phase-1 volume fraction = "
const fv::ddtScheme< scalar > & ddtAlpha
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
surfaceScalarField::Boundary & phicBf
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
forAll(phic.boundaryField(), patchi)
fvsPatchField< scalar > fvsPatchScalarField
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
const volScalarField & alpha1
word alpharScheme("div(phirb,alpha)")
surfaceScalarField rho2f(fvc::interpolate(rho2))
label min(const labelHashSet &set, label minValue=labelMax)
surfaceScalarField phic(mixture.cAlpha() *mag(alphaPhic/mesh.magSf()))
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
surfaceScalarField rho1f(fvc::interpolate(rho1))
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool isType(const Type &t)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
#define FatalErrorInFunction
surfaceScalarField phir(IOobject("phir", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mixture.cAlpha() *mag(phi/mesh.magSf()) *mixture.nHatf())
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
volScalarField alpha10("alpha10", alpha1)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
surfaceScalarField alphaPhiUn(IOobject("alphaPhiUn", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(phi.dimensions(), Zero))
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
tmp< surfaceScalarField > talphaPhi1Corr0
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
tmp< surfaceScalarField > phiCN(alphaPhic)