diff --git a/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H b/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H new file mode 100644 index 0000000000..e988d30737 --- /dev/null +++ b/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H @@ -0,0 +1,11 @@ +{ + alphav = max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0)); + alphal = 1.0 - alphav; + + Info<< "max-min alphav: " << max(alphav).value() + << " " << min(alphav).value() << endl; + + psiModel->correct(); + + //Info<< "min a: " << 1.0/sqrt(max(psi)).value() << endl; +} diff --git a/applications/solvers/multiphase/cavitatingFoam/cavitatingFoam.C b/applications/solvers/multiphase/cavitatingFoam/cavitatingFoam.C index 73e9577029..c4453df391 100644 --- a/applications/solvers/multiphase/cavitatingFoam/cavitatingFoam.C +++ b/applications/solvers/multiphase/cavitatingFoam/cavitatingFoam.C @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) while (pimple.loop()) { #include "rhoEqn.H" - #include "gammaPsi.H" + #include "alphavPsi.H" #include "UEqn.H" // --- Pressure corrector loop diff --git a/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H b/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H index ce618ee40f..14b0ef7786 100644 --- a/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H +++ b/applications/solvers/multiphase/cavitatingFoam/continuityErrs.H @@ -1,5 +1,5 @@ { - volScalarField thermoRho = psi*p + gamma2*rhol0; + volScalarField thermoRho = psi*p + alphal*rhol0; dimensionedScalar totalMass = fvc::domainIntegrate(rho); diff --git a/applications/solvers/multiphase/cavitatingFoam/createFields.H b/applications/solvers/multiphase/cavitatingFoam/createFields.H index 8958dc3c5e..605c0deece 100644 --- a/applications/solvers/multiphase/cavitatingFoam/createFields.H +++ b/applications/solvers/multiphase/cavitatingFoam/createFields.H @@ -44,19 +44,19 @@ Info<< "Reading transportProperties\n" << endl; - incompressibleTwoPhaseMixture twoPhaseProperties(U, phiv, "gamma"); + incompressibleTwoPhaseMixture twoPhaseProperties(U, phiv); - volScalarField& gamma(twoPhaseProperties.alpha1()); - gamma.oldTime(); + volScalarField& alphav(twoPhaseProperties.alpha1()); + alphav.oldTime(); - volScalarField& gamma2(twoPhaseProperties.alpha2()); + volScalarField& alphal(twoPhaseProperties.alpha2()); Info<< "Creating compressibilityModel\n" << endl; autoPtr psiModel = barotropicCompressibilityModel::New ( thermodynamicProperties, - gamma + alphav ); const volScalarField& psi = psiModel->psi(); @@ -64,8 +64,8 @@ rho == max ( psi*p - + gamma2*rhol0 - + ((gamma*psiv + gamma2*psil) - psi)*pSat, + + alphal*rhol0 + + ((alphav*psiv + alphal*psil) - psi)*pSat, rhoMin ); diff --git a/applications/solvers/multiphase/cavitatingFoam/gammaPsi.H b/applications/solvers/multiphase/cavitatingFoam/gammaPsi.H deleted file mode 100644 index 4edda7336d..0000000000 --- a/applications/solvers/multiphase/cavitatingFoam/gammaPsi.H +++ /dev/null @@ -1,11 +0,0 @@ -{ - gamma = max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0)); - gamma2 = 1.0 - gamma; - - Info<< "max-min gamma: " << max(gamma).value() - << " " << min(gamma).value() << endl; - - psiModel->correct(); - - //Info<< "min a: " << 1.0/sqrt(max(psi)).value() << endl; -} diff --git a/applications/solvers/multiphase/cavitatingFoam/pEqn.H b/applications/solvers/multiphase/cavitatingFoam/pEqn.H index b2c7d953b5..da43e67ce7 100644 --- a/applications/solvers/multiphase/cavitatingFoam/pEqn.H +++ b/applications/solvers/multiphase/cavitatingFoam/pEqn.H @@ -4,8 +4,8 @@ p = ( rho - - gamma2*rhol0 - - ((gamma*psiv + gamma2*psil) - psi)*pSat + - alphal*rhol0 + - ((alphav*psiv + alphal*psil) - psi)*pSat )/psi; } @@ -29,7 +29,7 @@ fvScalarMatrix pEqn ( fvm::ddt(psi, p) - - (rhol0 + (psil - psiv)*pSat)*fvc::ddt(gamma) - pSat*fvc::ddt(psi) + - (rhol0 + (psil - psiv)*pSat)*fvc::ddt(alphav) - pSat*fvc::ddt(psi) + fvc::div(phiv, rho) + fvc::div(phiGradp) - fvm::laplacian(rAUf, p) @@ -49,18 +49,18 @@ rho == max ( psi*p - + gamma2*rhol0 - + ((gamma*psiv + gamma2*psil) - psi)*pSat, + + alphal*rhol0 + + ((alphav*psiv + alphal*psil) - psi)*pSat, rhoMin ); - #include "gammaPsi.H" + #include "alphavPsi.H" p = ( rho - - gamma2*rhol0 - - ((gamma*psiv + gamma2*psil) - psi)*pSat + - alphal*rhol0 + - ((alphav*psiv + alphal*psil) - psi)*pSat )/psi; p.correctBoundaryConditions(); diff --git a/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C b/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C index d81f5ccb1f..e9c5322c79 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C +++ b/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C @@ -49,12 +49,12 @@ Foam::twoPhaseMixtureThermo::twoPhaseMixtureThermo thermo2_(NULL) { { - volScalarField T1("T" + phase1Name(), T_); + volScalarField T1(IOobject::groupName("T", phase1Name()), T_); T1.write(); } { - volScalarField T2("T" + phase2Name(), T_); + volScalarField T2(IOobject::groupName("T", phase2Name()), T_); T2.write(); } diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C index 0e9e8ae349..f7cc2eae21 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C @@ -42,11 +42,10 @@ namespace phaseChangeTwoPhaseMixtures Foam::phaseChangeTwoPhaseMixtures::Kunz::Kunz ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ) : - phaseChangeTwoPhaseMixture(typeName, U, phi, alpha1Name), + phaseChangeTwoPhaseMixture(typeName, U, phi), UInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("UInf")), tInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("tInf")), diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.H b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.H index 39ccad5382..f0290efc95 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.H @@ -91,8 +91,7 @@ public: Kunz ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1" + const surfaceScalarField& phi ); diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C index 87c261da9b..72fdb7245e 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C @@ -42,11 +42,10 @@ namespace phaseChangeTwoPhaseMixtures Foam::phaseChangeTwoPhaseMixtures::Merkle::Merkle ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ) : - phaseChangeTwoPhaseMixture(typeName, U, phi, alpha1Name), + phaseChangeTwoPhaseMixture(typeName, U, phi), UInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("UInf")), tInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("tInf")), diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.H b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.H index 7dd8e841c8..e675c83df7 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.H @@ -85,8 +85,7 @@ public: Merkle ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1" + const surfaceScalarField& phi ); diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C index 36cb56a0c2..f157fa75e0 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C @@ -49,11 +49,10 @@ namespace phaseChangeTwoPhaseMixtures Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::SchnerrSauer ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ) : - phaseChangeTwoPhaseMixture(typeName, U, phi, alpha1Name), + phaseChangeTwoPhaseMixture(typeName, U, phi), n_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("n")), dNuc_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("dNuc")), diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.H b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.H index beef7fc7fc..ce096105d9 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.H @@ -98,8 +98,7 @@ public: SchnerrSauer ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1" + const surfaceScalarField& phi ); diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C index 08728c8f92..0a86459705 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C @@ -32,8 +32,7 @@ Foam::autoPtr Foam::phaseChangeTwoPhaseMixture::New ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ) { IOdictionary transportPropertiesDict @@ -73,7 +72,7 @@ Foam::phaseChangeTwoPhaseMixture::New << exit(FatalError); } - return autoPtr(cstrIter()(U, phi, alpha1Name)); + return autoPtr(cstrIter()(U, phi)); } diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C index c08eba9390..d25fbdfec9 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C @@ -39,11 +39,10 @@ Foam::phaseChangeTwoPhaseMixture::phaseChangeTwoPhaseMixture ( const word& type, const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ) : - incompressibleTwoPhaseMixture(U, phi, alpha1Name), + incompressibleTwoPhaseMixture(U, phi), phaseChangeTwoPhaseMixtureCoeffs_(subDict(type + "Coeffs")), pSat_(lookup("pSat")) {} diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H index e05476390b..227768ac8d 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H @@ -91,10 +91,9 @@ public: components, ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name + const surfaceScalarField& phi ), - (U, phi, alpha1Name) + (U, phi) ); @@ -104,8 +103,7 @@ public: static autoPtr New ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1" + const surfaceScalarField& phi ); @@ -116,8 +114,7 @@ public: ( const word& type, const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1" + const surfaceScalarField& phi ); diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/alphaEqn.H b/applications/solvers/multiphase/twoLiquidMixingFoam/alphaEqn.H index c68a0e56c5..adca48e965 100644 --- a/applications/solvers/multiphase/twoLiquidMixingFoam/alphaEqn.H +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/alphaEqn.H @@ -1,5 +1,5 @@ { - word alphaScheme("div(phi,alpha1)"); + word alphaScheme("div(phi,alpha)"); surfaceScalarField phiAlpha ( diff --git a/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.C index 72af0d8d9c..1fcc5feb7d 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.C @@ -39,7 +39,8 @@ Foam::variableHeightFlowRateInletVelocityFvPatchVectorField ) : fixedValueFvPatchField(p, iF), - flowRate_(0) + flowRate_(0), + alphaName_("none") {} @@ -53,7 +54,8 @@ Foam::variableHeightFlowRateInletVelocityFvPatchVectorField ) : fixedValueFvPatchField(ptf, p, iF, mapper), - flowRate_(ptf.flowRate_) + flowRate_(ptf.flowRate_), + alphaName_(ptf.alphaName_) {} @@ -66,7 +68,8 @@ Foam::variableHeightFlowRateInletVelocityFvPatchVectorField ) : fixedValueFvPatchField(p, iF, dict), - flowRate_(readScalar(dict.lookup("flowRate"))) + flowRate_(readScalar(dict.lookup("flowRate"))), + alphaName_(dict.lookup("alpha")) {} @@ -77,7 +80,8 @@ Foam::variableHeightFlowRateInletVelocityFvPatchVectorField ) : fixedValueFvPatchField(ptf), - flowRate_(ptf.flowRate_) + flowRate_(ptf.flowRate_), + alphaName_(ptf.alphaName_) {} @@ -89,7 +93,8 @@ Foam::variableHeightFlowRateInletVelocityFvPatchVectorField ) : fixedValueFvPatchField(ptf, iF), - flowRate_(ptf.flowRate_) + flowRate_(ptf.flowRate_), + alphaName_(ptf.alphaName_) {} @@ -104,7 +109,7 @@ void Foam::variableHeightFlowRateInletVelocityFvPatchVectorField } scalarField alphap = - patch().lookupPatchField("alpha1"); + patch().lookupPatchField(alphaName_); alphap = max(alphap, scalar(0)); alphap = min(alphap, scalar(1)); @@ -129,6 +134,8 @@ void Foam::variableHeightFlowRateInletVelocityFvPatchVectorField::write os.writeKeyword("flowRate") << flowRate_ << token::END_STATEMENT << nl; + os.writeKeyword("alpha") << alphaName_ + << token::END_STATEMENT << nl; writeEntry("value", os); } diff --git a/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.H index 10e6a2c889..34742c7567 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/variableHeightFlowRateInletVelocity/variableHeightFlowRateInletVelocityFvPatchVectorField.H @@ -39,6 +39,7 @@ Description \table Property | Description | Required | Default value flowRate | volumetric flow rate [m3/s] | yes | + alpha | phase-fraction field | yes | \endtable Example of the boundary condition specification: @@ -47,6 +48,7 @@ Description { type variableHeightFlowRateInletVelocity; flowRate 0.2; + alpha alpha.water; value uniform (0 0 0); // placeholder } \endverbatim @@ -87,6 +89,9 @@ class variableHeightFlowRateInletVelocityFvPatchVectorField //- Inlet integral flow rate scalar flowRate_; + //- Name of the phase-fraction field + word alphaName_; + public: diff --git a/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.C b/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.C index 36c9076486..5aa56a1062 100644 --- a/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.C +++ b/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.C @@ -53,9 +53,7 @@ void Foam::incompressibleTwoPhaseMixture::calcNu() Foam::incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name, - const word& alpha2Name + const surfaceScalarField& phi ) : IOdictionary @@ -69,14 +67,14 @@ Foam::incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture IOobject::NO_WRITE ) ), - twoPhaseMixture(U.mesh(), *this, alpha1Name, alpha2Name), + twoPhaseMixture(U.mesh(), *this), nuModel1_ ( viscosityModel::New ( "nu1", - subDict(phase1Name_ == "1" ? "phase1": phase1Name_), + subDict(phase1Name_), U, phi ) @@ -86,7 +84,7 @@ Foam::incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture viscosityModel::New ( "nu2", - subDict(phase2Name_ == "2" ? "phase2": phase2Name_), + subDict(phase2Name_), U, phi ) diff --git a/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.H b/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.H index 8ec33989c9..5c4920e17f 100644 --- a/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.H +++ b/src/transportModels/incompressible/incompressibleTwoPhaseMixture/incompressibleTwoPhaseMixture.H @@ -86,9 +86,7 @@ public: incompressibleTwoPhaseMixture ( const volVectorField& U, - const surfaceScalarField& phi, - const word& alpha1Name = "alpha1", - const word& alpha2Name = "alpha2" + const surfaceScalarField& phi ); diff --git a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.C b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.C index 7b95752f37..253b1092e7 100644 --- a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.C +++ b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.C @@ -31,29 +31,17 @@ License Foam::twoPhaseMixture::twoPhaseMixture ( const fvMesh& mesh, - const dictionary& dict, - const word& alpha1Name, - const word& alpha2Name + const dictionary& dict ) : - phase1Name_ - ( - dict.found("phases") - ? wordList(dict.lookup("phases"))[0] - : "1" - ), - phase2Name_ - ( - dict.found("phases") - ? wordList(dict.lookup("phases"))[1] - : "2" - ), + phase1Name_(wordList(dict.lookup("phases"))[0]), + phase2Name_(wordList(dict.lookup("phases"))[1]), alpha1_ ( IOobject ( - dict.found("phases") ? word("alpha" + phase1Name_) : alpha1Name, + IOobject::groupName("alpha", phase1Name_), mesh.time().timeName(), mesh, IOobject::MUST_READ, @@ -66,7 +54,7 @@ Foam::twoPhaseMixture::twoPhaseMixture ( IOobject ( - dict.found("phases") ? word("alpha" + phase2Name_) : alpha2Name, + IOobject::groupName("alpha", phase2Name_), mesh.time().timeName(), mesh ), diff --git a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H index 668c4f2cfd..aa5ae24d04 100644 --- a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H +++ b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H @@ -67,9 +67,7 @@ public: twoPhaseMixture ( const fvMesh& mesh, - const dictionary& dict, - const word& alpha1Name = "alpha1", - const word& alpha2Name = "alpha2" + const dictionary& dict ); diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/0/alpha1.org b/tutorials/multiphase/LTSInterFoam/wigleyHull/0/alpha.water.org similarity index 100% rename from tutorials/multiphase/LTSInterFoam/wigleyHull/0/alpha1.org rename to tutorials/multiphase/LTSInterFoam/wigleyHull/0/alpha.water.org diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/Allclean b/tutorials/multiphase/LTSInterFoam/wigleyHull/Allclean index 333348ffdf..99318580f3 100755 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/Allclean +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/Allclean @@ -8,7 +8,7 @@ cd ${0%/*} || exit 1 # run from this directory \rm -f constant/triSurface/wigley-scaled-oriented.stl.gz cleanCase -rm 0/alpha1.gz 0/cellLevel.gz 0/pointLevel.gz constant/polyMesh/boundary \ +rm 0/alpha.water.gz 0/cellLevel.gz 0/pointLevel.gz constant/polyMesh/boundary \ > /dev/null 2>&1 # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/Allrun b/tutorials/multiphase/LTSInterFoam/wigleyHull/Allrun index 28fec41b1f..2924a2cd45 100755 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/Allrun +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/Allrun @@ -13,7 +13,7 @@ if [ ! -e log.transformPoints ] then transformPoints -scale '(2 1 1)' > log.transformPoints 2>&1 fi -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/constant/transportProperties b/tutorials/multiphase/LTSInterFoam/wigleyHull/constant/transportProperties index aa9b560484..8c6e7a2008 100644 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/constant/transportProperties +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 1000; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSchemes b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSchemes index 7018c5eaa7..de87355816 100644 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSchemes +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSchemes @@ -55,7 +55,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSolution b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSolution index 76eaf8fd2a..e59fb400df 100644 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSolution +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 1; diff --git a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/setFieldsDict b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/setFieldsDict index b249127996..75a2dfccb8 100644 --- a/tutorials/multiphase/LTSInterFoam/wigleyHull/system/setFieldsDict +++ b/tutorials/multiphase/LTSInterFoam/wigleyHull/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (-100 -100 -100) (100 100 0); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1 b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water similarity index 99% rename from tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1 rename to tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water index 1b5529949c..766d8c1462 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1 +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1.org b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1.org rename to tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water.org index 0f3dcd4639..e1483e3c1e 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha1.org +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/constant/transportProperties b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/constant/transportProperties index ff55cf97da..15e0e327a4 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/constant/transportProperties +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water oir); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-4; rho rho [ 1 -3 0 0 0 0 0 ] 1000; } -phase2 +oir { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-4; diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSchemes b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSchemes index 3827ac6548..568660217f 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSchemes +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSchemes @@ -53,7 +53,7 @@ fluxRequired default no; p_rgh ; pcorr ; - alpha1 ; + alpha.water ; } diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSolution b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSolution index 87856ee3ca..4d0d891558 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSolution +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 2; diff --git a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/setFieldsDict b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/setFieldsDict index 75b90a3695..c5884201fc 100644 --- a/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/setFieldsDict +++ b/tutorials/multiphase/MRFInterFoam/mixerVessel2D/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (0 0 -1) (1 1 1); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/0/gamma b/tutorials/multiphase/cavitatingFoam/les/throttle/0/alpha.vapour similarity index 97% rename from tutorials/multiphase/cavitatingFoam/ras/throttle/0/gamma rename to tutorials/multiphase/cavitatingFoam/les/throttle/0/alpha.vapour index 14593028c1..0adb2cfd3a 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/0/gamma +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/0/alpha.vapour @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object gamma; + object alpha.vapour; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties index b37439a124..c5ea29f7a5 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties @@ -19,14 +19,9 @@ mul mul [ 1 -1 -1 0 0 ] 0.0065; muv muv [ 1 -1 -1 0 0 ] 5.953e-06; -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (vapour water); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; @@ -48,7 +43,7 @@ phase1 } } -phase2 +vapour { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict index 234af680ca..4507e794d2 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict @@ -73,7 +73,7 @@ functions base time; } - gamma + alpha.vapour { mean on; prime2Mean off; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/gamma b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/alpha.vapour similarity index 97% rename from tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/gamma rename to tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/alpha.vapour index 669af89cbf..40cd251c1c 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/gamma +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0.org/alpha.vapour @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object gamma; + object alpha.vapour; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/U b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/U deleted file mode 100644 index 5321455943..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/U +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - inlet - { - type zeroGradient; - value uniform (0 0 0); - } - - outlet - { - type zeroGradient; - value uniform (0 0 0); - } - - walls - { - type fixedValue; - value uniform (0 0 0); - } - - frontBack - { - type fixedValue; - value uniform (0 0 0); - } -} - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/gamma b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/gamma deleted file mode 100644 index 669af89cbf..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/gamma +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object gamma; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - inlet - { - type calculated; - value uniform 0; - } - - outlet - { - type calculated; - value uniform 0; - } - - walls - { - type calculated; - value uniform 0; - } - - frontBack - { - type calculated; - value uniform 0; - } -} - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/k b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/k deleted file mode 100644 index 9df6a831bf..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/k +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object k; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -2 0 0]; - -internalField uniform 10; - -boundaryField -{ - inlet - { - type turbulentIntensityKineticEnergyInlet; - intensity 0.05; - value uniform 0.05; - } - - outlet - { - type zeroGradient; - } - - walls - { - type kqRWallFunction; - value uniform 10; - } - - frontBack - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/nuSgs b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/nuSgs deleted file mode 100644 index c4d32cf2ff..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/nuSgs +++ /dev/null @@ -1,47 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object nuSgs; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -1 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - inlet - { - type calculated; - value uniform 0; - } - outlet - { - type calculated; - value uniform 0; - } - walls - { - type nutUSpaldingWallFunction; - value uniform 0; - } - frontBack - { - type nutUSpaldingWallFunction; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/p b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/p deleted file mode 100644 index 58cc484ff7..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/p +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0]; - -internalField uniform 300e5; - -boundaryField -{ - inlet - { - type totalPressure; - U U; - phi phiv; - rho rho; - psi none; - gamma 1; - p0 uniform 300e5; - } - - outlet - { - type fixedValue; - value uniform 100e5; - } - - walls - { - type zeroGradient; - } - - frontBack - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/rho b/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/rho deleted file mode 100644 index ae5f186cb5..0000000000 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/0/rho +++ /dev/null @@ -1,46 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object rho; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -3 0 0 0]; - -internalField uniform 845; - -boundaryField -{ - inlet - { - type fixedValue; - value uniform 845; - } - - outlet - { - type fixedValue; - value uniform 835; - } - - walls - { - type zeroGradient; - } - - frontBack - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allclean b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allclean index b5c25b61f8..06e40c886c 100755 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allclean +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allclean @@ -6,7 +6,6 @@ cd ${0%/*} || exit 1 # run from this directory rm -rf constant/polyMesh/sets > /dev/null 2>&1 rm -rf 0 > /dev/null 2>&1 -cp -r 0.org 0 rm system/topoSetDict > /dev/null 2>&1 rm -rf processor[0-9] > /dev/null 2>&1 cleanCase diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties index b37439a124..c5ea29f7a5 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties @@ -19,14 +19,9 @@ mul mul [ 1 -1 -1 0 0 ] 0.0065; muv muv [ 1 -1 -1 0 0 ] 5.953e-06; -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (vapour water); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; @@ -48,7 +43,7 @@ phase1 } } -phase2 +vapour { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict index e068adbb61..b78ee601a8 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict @@ -73,7 +73,7 @@ functions base time; } - gamma + alpha.vapour { mean on; prime2Mean off; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/0/gamma b/tutorials/multiphase/cavitatingFoam/ras/throttle/0/alpha.vapour similarity index 97% rename from tutorials/multiphase/cavitatingFoam/les/throttle/0/gamma rename to tutorials/multiphase/cavitatingFoam/ras/throttle/0/alpha.vapour index 14593028c1..0adb2cfd3a 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/0/gamma +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/0/alpha.vapour @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object gamma; + object alpha.vapour; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties index b37439a124..c5ea29f7a5 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties @@ -19,14 +19,9 @@ mul mul [ 1 -1 -1 0 0 ] 0.0065; muv muv [ 1 -1 -1 0 0 ] 5.953e-06; -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (vapour water); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; @@ -48,7 +43,7 @@ phase1 } } -phase2 +vapour { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/alphawater.org b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/alphawater.org rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/0/alpha.water.org index d90b720092..6a1b3d978f 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/alphawater.org +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alphawater; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean index 8821d7e1cc..78f3e40ad8 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean @@ -3,4 +3,4 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases rm -rf processor* -rm -rf 0/p_rgh.gz 0/p.gz 0/alphawater.gz 0/T*.gz +rm -rf 0/p_rgh.gz 0/p.gz 0/alpha.water.gz 0/T*.gz diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allrun b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allrun index ac803d715f..5d2fadf412 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allrun +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allrun @@ -8,7 +8,7 @@ cd ${0%/*} || exit 1 # run from this directory application=`getApplication` runApplication blockMesh -cp 0/alphawater.org 0/alphawater +cp 0/alpha.water.org 0/alpha.water cp 0/p_rgh.org 0/p_rgh cp 0/p.org 0/p cp 0/T.org 0/T diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalPropertiesair b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalProperties.air similarity index 100% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalPropertiesair rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalProperties.air diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalPropertieswater b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalProperties.water similarity index 100% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalPropertieswater rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalProperties.water diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSchemes b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSchemes index 3582eeafa1..b44890f389 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSchemes +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSchemes @@ -31,8 +31,8 @@ divSchemes div(phirb,alpha) Gauss interfaceCompression 1; div(rho*phi,U) Gauss upwind; - div(phi,thermo:rhowater) Gauss upwind; - div(phi,thermo:rhoair) Gauss upwind; + div(phi,thermo:rho.water) Gauss upwind; + div(phi,thermo:rho.air) Gauss upwind; div(rho*phi,T) Gauss upwind; div(rho*phi,K) Gauss upwind; div(phi,p) Gauss upwind; diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSolution b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSolution index 4e1aa83dc7..7a04bf3624 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSolution +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alphawater + alpha.water { nAlphaCorr 1; nAlphaSubCycles 1; diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/setFieldsDict b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/setFieldsDict index f312b4e972..87fd237577 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/setFieldsDict +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alphawater 1 + volScalarFieldValue alpha.water 1 volScalarFieldValue p_rgh 1e5 volScalarFieldValue p 1e5 volScalarFieldValue T 300 @@ -31,7 +31,7 @@ regions radius 0.1; fieldValues ( - volScalarFieldValue alphawater 0 + volScalarFieldValue alpha.water 0 volScalarFieldValue p_rgh 1e6 volScalarFieldValue p 1e6 volScalarFieldValue T 578 @@ -42,7 +42,7 @@ regions box (-10 1 -1) (10 10 1); fieldValues ( - volScalarFieldValue alphawater 0 + volScalarFieldValue alpha.water 0 ); } ); diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.air.gz b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.air.gz new file mode 100644 index 0000000000..df712a5aac Binary files /dev/null and b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.air.gz differ diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.water.gz b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.water.gz new file mode 100644 index 0000000000..e8108f6bab Binary files /dev/null and b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/T.water.gz differ diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/0/alphawater.org b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/alpha.water.org similarity index 100% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/0/alphawater.org rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/0/alpha.water.org diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean index 3ec07f62c5..f33fd89a62 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean @@ -3,6 +3,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases rm -rf processor* -rm -rf 0/p_rgh.gz 0/p.gz 0/alphawater.gz 0/T.gz +rm -rf 0/p_rgh.gz 0/p.gz 0/alpha.water.gz 0/T.gz # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allrun b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allrun index 11b84a3251..33c1da4fd3 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allrun +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allrun @@ -8,7 +8,7 @@ cd ${0%/*} || exit 1 # run from this directory application=`getApplication` runApplication blockMesh -cp 0/alphawater.org 0/alphawater +cp 0/alpha.water.org 0/alpha.water cp 0/p_rgh.org 0/p_rgh cp 0/p.org 0/p cp 0/T.org 0/T diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalPropertiesair b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalProperties.air similarity index 100% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalPropertiesair rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalProperties.air diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalPropertieswater b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalProperties.water similarity index 100% rename from tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalPropertieswater rename to tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/constant/thermophysicalProperties.water diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSchemes b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSchemes index 3582eeafa1..b44890f389 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSchemes +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSchemes @@ -31,8 +31,8 @@ divSchemes div(phirb,alpha) Gauss interfaceCompression 1; div(rho*phi,U) Gauss upwind; - div(phi,thermo:rhowater) Gauss upwind; - div(phi,thermo:rhoair) Gauss upwind; + div(phi,thermo:rho.water) Gauss upwind; + div(phi,thermo:rho.air) Gauss upwind; div(rho*phi,T) Gauss upwind; div(rho*phi,K) Gauss upwind; div(phi,p) Gauss upwind; diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSolution b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSolution index 4e1aa83dc7..7a04bf3624 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSolution +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alphawater + alpha.water { nAlphaCorr 1; nAlphaSubCycles 1; diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/setFieldsDict b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/setFieldsDict index dc90a362c0..2103e99c13 100644 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/setFieldsDict +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alphawater 1 + volScalarFieldValue alpha.water 1 volScalarFieldValue p_rgh 1e5 volScalarFieldValue p 1e5 volScalarFieldValue T 300 @@ -31,7 +31,7 @@ regions radius 0.1; fieldValues ( - volScalarFieldValue alphawater 0 + volScalarFieldValue alpha.water 0 volScalarFieldValue p_rgh 1e6 volScalarFieldValue p 1e6 volScalarFieldValue T 578 @@ -42,7 +42,7 @@ regions box (-10 1 -1) (10 10 1); fieldValues ( - volScalarFieldValue alphawater 0 + volScalarFieldValue alpha.water 0 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water index f1ad15f1c2..e0eda6f9eb 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1 b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1 rename to tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water.org index f1ad15f1c2..e0eda6f9eb 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha1 +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/0.org/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict index 64223ec7b8..f9baf8b3e1 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict @@ -22,7 +22,7 @@ dynamicRefineFvMeshCoeffs // How often to refine refineInterval 1; // Field to be refinement on - field alpha1; + field alpha.water; // Refine field inbetween lower..upper lowerRefineLevel 0.001; upperRefineLevel 0.999; diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/transportProperties index ba430bce29..81106f5ea4 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/transportProperties @@ -15,7 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; @@ -37,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/fvSolution index 63d54a7c3d..f47969d4bf 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/setFieldsDict index 0af0cd2da7..47ad156601 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 volVectorFieldValue U ( 0 0 0 ) ); @@ -28,7 +28,7 @@ regions box ( 0 0 0 ) ( 0.6 0.1875 0.75 ); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha1 b/tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha.water similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha1 rename to tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha.water index c3b0586036..e09e2739bd 100644 --- a/tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha1 +++ b/tutorials/multiphase/interDyMFoam/ras/floatingObject/0.org/alpha.water @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/floatingObject/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/floatingObject/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/floatingObject/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/floatingObject/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/fvSolution index 1202013c58..d3c114226b 100644 --- a/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/fvSolution @@ -29,7 +29,7 @@ solvers mergeLevels 1; } - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/setFieldsDict index 22fcdc05b5..2506a693af 100644 --- a/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/floatingObject/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -25,13 +25,13 @@ regions boxToCell { box ( -100 -100 -100 ) ( 100 100 0.5368 ); - fieldValues ( volScalarFieldValue alpha1 1 ); + fieldValues ( volScalarFieldValue alpha.water 1 ); } boxToCell { box ( 0.7 0.8 -100 ) ( 100 100 0.65 ); - fieldValues ( volScalarFieldValue alpha1 1 ); + fieldValues ( volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha1 b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha.water similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha1 rename to tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha.water index cee67a8884..17678343e2 100644 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha1 +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/0.org/alpha.water @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/constant/transportProperties index c74dee04a7..0d7bbe9e60 100644 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/constant/transportProperties @@ -15,21 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (water air); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 300; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-6; diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/fvSolution index 7e8fa0fb1a..946d84ed62 100644 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 2; diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/setFieldsDict index 7415f2fc76..defca08b47 100644 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); regions @@ -27,7 +27,7 @@ regions box (-4 -4 -1) (4 4 0.74); fieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha.water.org index 452b5dd51c..70366ec29f 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allclean b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allclean index 4ee30b518c..faacf01f18 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allclean @@ -2,6 +2,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases -rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe +rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun index 3b8cb649c2..7ea0ac7744 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSolution index 696ba9cc79..0f9b300499 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/setFieldsDict index ec8d1717d5..410a0a6f10 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box ( -100 -100 -100 ) ( 100 100 0 ); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha.water.org index 452b5dd51c..70366ec29f 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allclean b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allclean index 4ee30b518c..faacf01f18 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allclean @@ -2,6 +2,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases -rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe +rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun index 3b8cb649c2..7ea0ac7744 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/fvSolution index 696ba9cc79..0f9b300499 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/setFieldsDict index ec8d1717d5..410a0a6f10 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box ( -100 -100 -100 ) ( 100 100 0 ); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha.water.org index f40309af2e..bdebcf1ab4 100644 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allclean b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allclean index 4ee30b518c..faacf01f18 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allclean @@ -2,6 +2,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases -rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe +rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun index 3b8cb649c2..7ea0ac7744 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/fvSolution index 696ba9cc79..0f9b300499 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/setFieldsDict index ec8d1717d5..410a0a6f10 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box ( -100 -100 -100 ) ( 100 100 0 ); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha.water.org index f40309af2e..bdebcf1ab4 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allclean b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allclean index 4ee30b518c..faacf01f18 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allclean @@ -2,6 +2,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases -rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe +rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun index 3b8cb649c2..7ea0ac7744 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/fvSolution index 696ba9cc79..0f9b300499 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/setFieldsDict index ec8d1717d5..410a0a6f10 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box ( -100 -100 -100 ) ( 100 100 0 ); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha.water.org index f40309af2e..bdebcf1ab4 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allclean b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allclean index 4ee30b518c..faacf01f18 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allclean @@ -2,6 +2,6 @@ cd ${0%/*} || exit 1 # run from this directory foamCleanTutorials cases -rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe +rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun index 3b8cb649c2..7ea0ac7744 100755 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/fvSolution index 696ba9cc79..0f9b300499 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/setFieldsDict index 7ff571c6d1..5ea2a37352 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -25,7 +25,7 @@ regions boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ); - fieldValues ( volScalarFieldValue alpha1 1 ); + fieldValues ( volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha1.org b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha1.org rename to tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha.water.org index f40309af2e..bdebcf1ab4 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/0/alpha1.org +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allclean b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allclean index 82e093ec03..5874c7a050 100755 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allclean @@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase -rm -rf 0/alpha1 +rm -rf 0/alpha.water # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun index 0f2a6dea43..4e10bfcacc 100755 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/constant/transportProperties b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/constant/transportProperties index 02287f422b..3729fc7648 100644 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/fvSolution b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/fvSolution index 54f20e5253..39d907fa79 100644 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/setFieldsDict index 8229dc2582..3b3ed7f998 100644 --- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -25,7 +25,7 @@ regions boxToCell { box ( -100 -100 -100 ) ( 100 100 -0.0025); - fieldValues ( volScalarFieldValue alpha1 1 ); + fieldValues ( volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/laminar/Allclean b/tutorials/multiphase/interFoam/laminar/Allclean index 909068ce6c..d5d1e50d10 100755 --- a/tutorials/multiphase/interFoam/laminar/Allclean +++ b/tutorials/multiphase/interFoam/laminar/Allclean @@ -9,7 +9,7 @@ loseCases="damBreakFine" for case in $keepCases do - (cd $case && foamCleanTutorials && rm -rf 0/alpha1) + (cd $case && foamCleanTutorials && rm -rf 0/alpha.water) done for case in $loseCases diff --git a/tutorials/multiphase/interFoam/laminar/Allrun b/tutorials/multiphase/interFoam/laminar/Allrun index 510e4498db..c0e6661c4b 100755 --- a/tutorials/multiphase/interFoam/laminar/Allrun +++ b/tutorials/multiphase/interFoam/laminar/Allrun @@ -28,7 +28,7 @@ setDamBreakFine () cd damBreak || exit runApplication blockMesh - cp 0/alpha1.org 0/alpha1 + cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` ) @@ -44,7 +44,7 @@ cloneCase damBreak damBreakFine # And execute runApplication blockMesh - cp ../damBreak/0/alpha1.org 0/alpha1 + cp ../damBreak/0/alpha.water.org 0/alpha.water runApplication setFields runApplication decomposePar runParallel `getApplication` 4 @@ -56,7 +56,7 @@ cloneCase damBreak damBreakFine cd capillaryRise || exit runApplication blockMesh - cp 0/alpha1.org 0/alpha1 + cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication `getApplication` ) diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/0/alpha1.org b/tutorials/multiphase/interFoam/laminar/capillaryRise/0/alpha.water.org similarity index 100% rename from tutorials/multiphase/interFoam/laminar/capillaryRise/0/alpha1.org rename to tutorials/multiphase/interFoam/laminar/capillaryRise/0/alpha.water.org diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties index 2b39cb45eb..73d4778c97 100644 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties @@ -15,7 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 1e-06; @@ -36,7 +38,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSchemes index 2a580ed9eb..aded32f195 100644 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSchemes +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSchemes @@ -53,7 +53,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSolution b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSolution index 6bea572056..36156e8614 100644 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSolution +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 2; diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/setFieldsDict index b6a5cdd65a..91bd115659 100644 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -28,7 +28,7 @@ regions fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/alpha1.org b/tutorials/multiphase/interFoam/laminar/damBreak/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interFoam/ras/damBreak/0/alpha1.org rename to tutorials/multiphase/interFoam/laminar/damBreak/0/alpha.water.org index df85d65055..b2319f1aa5 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/alpha1.org +++ b/tutorials/multiphase/interFoam/laminar/damBreak/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties index ba430bce29..81106f5ea4 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties @@ -15,7 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; @@ -37,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes index 986a20eebe..1d9632b674 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes @@ -53,7 +53,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution index 6bea572056..36156e8614 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 2; diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict index 3152d48347..2a577a3c7d 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (0 0 -1) (0.1461 0.292 1); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha1 b/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha.fuel similarity index 97% rename from tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha1 rename to tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha.fuel index 94befdfae8..baf41e0bb3 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha1 +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/0/alpha.fuel @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.fuel; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties index fa41fd38c3..c74376aa3f 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties @@ -15,14 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (fuel air); -phase1 +fuel { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 5.952e-06; @@ -44,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 8.5e-07; diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution index d7383123a6..479dee58a2 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.fuel { nAlphaCorr 1; nAlphaSubCycles 4; diff --git a/tutorials/multiphase/interFoam/ras/Allclean b/tutorials/multiphase/interFoam/ras/Allclean index 63a607fe3f..f76151df3d 100755 --- a/tutorials/multiphase/interFoam/ras/Allclean +++ b/tutorials/multiphase/interFoam/ras/Allclean @@ -13,12 +13,12 @@ do if [ "$case" = "damBreak" ] then - cp $case/0/alpha1.org $case/0/alpha1 + cp $case/0/alpha.water.org $case/0/alpha.water fi if [ "$case" = "damBreakPorousBaffle" ] then - cp $case/0/alpha1.org $case/0/alpha1 + cp $case/0/alpha.water.org $case/0/alpha.water fi done diff --git a/tutorials/multiphase/interFoam/ras/Allrun b/tutorials/multiphase/interFoam/ras/Allrun index f130490987..0378faad39 100755 --- a/tutorials/multiphase/interFoam/ras/Allrun +++ b/tutorials/multiphase/interFoam/ras/Allrun @@ -23,9 +23,6 @@ setDamBreakFine () mv temp.$$ $controlDict } -# Do damBreakPorousBaffle -(cd damBreakPorousBaffle && foamRunTutorials) - # Do damBreak (cd damBreak && foamRunTutorials) @@ -37,7 +34,7 @@ cloneCase damBreak damBreakFine # Modify case setDamBreakFine - cp ../damBreak/0/alpha1.org 0/alpha1 + cp ../damBreak/0/alpha.water.org 0/alpha.water # And execute runApplication blockMesh runApplication setFields diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/alpha1 b/tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water similarity index 97% rename from tutorials/multiphase/interFoam/ras/damBreak/0/alpha1 rename to tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water index df85d65055..b2319f1aa5 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/alpha1 +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/0/alpha1.org b/tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interFoam/laminar/damBreak/0/alpha1.org rename to tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water.org index 5dc1b6e2d0..b2319f1aa5 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/0/alpha1.org +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties b/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties index ef3e8c7b4b..81106f5ea4 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties @@ -15,14 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (water air); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; @@ -44,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution index a30ce4ddb8..f6725a947b 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 4; diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict index 3152d48347..2a577a3c7d 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (0 0 -1) (0.1461 0.292 1); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1 b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water similarity index 97% rename from tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1 rename to tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water index bf6106677f..e083c1f792 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1 +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1.org; + object alpha.water.org; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1.org b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water.org similarity index 97% rename from tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1.org rename to tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water.org index bf6106677f..e083c1f792 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha1.org +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/alpha.water.org @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1.org; + object alpha.water.org; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/epsilon b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/epsilon index e8f209f7c1..3142dc8a64 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/epsilon +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/epsilon @@ -24,6 +24,7 @@ boundaryField leftWall { type epsilonWallFunction; + value uniform 0.1; Cmu 0.09; kappa 0.41; E 9.8; @@ -32,6 +33,7 @@ boundaryField rightWall { type epsilonWallFunction; + value uniform 0.1; Cmu 0.09; kappa 0.41; E 9.8; @@ -40,6 +42,7 @@ boundaryField lowerWall { type epsilonWallFunction; + value uniform 0.1; Cmu 0.09; kappa 0.41; E 9.8; diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/p_rgh b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/p_rgh index cb36fb3b7d..0b3ae667f0 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/p_rgh +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/0/p_rgh @@ -25,16 +25,19 @@ boundaryField { type fixedFluxPressure; gradient uniform 0; + value uniform 0; } rightWall { type fixedFluxPressure; gradient uniform 0; + value uniform 0; } lowerWall { type fixedFluxPressure; gradient uniform 0; + value uniform 0; } atmosphere { diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/constant/transportProperties b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/constant/transportProperties index ef3e8c7b4b..81106f5ea4 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/constant/transportProperties +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/constant/transportProperties @@ -15,14 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (water air); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; @@ -44,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/fvSolution b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/fvSolution index 96c64a2a1c..a7103f6d62 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 4; diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/setFieldsDict index 3152d48347..2a577a3c7d 100644 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (0 0 -1) (0.1461 0.292 1); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/0/alpha1.org b/tutorials/multiphase/interFoam/ras/waterChannel/0/alpha.water.org similarity index 100% rename from tutorials/multiphase/interFoam/ras/waterChannel/0/alpha1.org rename to tutorials/multiphase/interFoam/ras/waterChannel/0/alpha.water.org diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/Allclean b/tutorials/multiphase/interFoam/ras/waterChannel/Allclean index 0c04649fe1..72f44cb9ea 100755 --- a/tutorials/multiphase/interFoam/ras/waterChannel/Allclean +++ b/tutorials/multiphase/interFoam/ras/waterChannel/Allclean @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory # Source tutorial clean functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions -rm 0/alpha1.gz 0/alpha1 2>/dev/null +rm 0/alpha.water.gz 0/alpha.water 2>/dev/null rm -rf *Flux cleanCase diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/Allrun b/tutorials/multiphase/interFoam/ras/waterChannel/Allrun index 813ad03d79..7eef6a06be 100755 --- a/tutorials/multiphase/interFoam/ras/waterChannel/Allrun +++ b/tutorials/multiphase/interFoam/ras/waterChannel/Allrun @@ -17,7 +17,7 @@ while [ "$i" -lt 3 ] ; do i=`expr $i + 1` done -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields runApplication $application diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSchemes b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSchemes index 7018c5eaa7..de87355816 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSchemes +++ b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSchemes @@ -55,7 +55,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSolution b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSolution index 62774a7610..cc69de4db5 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/setFieldsDict index 468fd9778b..0caad94498 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/waterChannel/LTSInterFoam/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (0 0 0) (50 130 27); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } @@ -36,7 +36,7 @@ regions box (0 0 0) (50 10.0001 24); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/constant/transportProperties b/tutorials/multiphase/interFoam/ras/waterChannel/constant/transportProperties index c90677dd56..b86717bf8d 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/constant/transportProperties +++ b/tutorials/multiphase/interFoam/ras/waterChannel/constant/transportProperties @@ -15,14 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 +phases (water air); + +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 1000; } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSchemes b/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSchemes index bb536c017c..40a4e9640d 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSchemes +++ b/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSchemes @@ -56,7 +56,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSolution b/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSolution index e2db3124d4..d2428017c4 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/waterChannel/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 3; diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/waterChannel/system/setFieldsDict index f4f1c44476..2258df9f4f 100644 --- a/tutorials/multiphase/interFoam/ras/waterChannel/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/waterChannel/system/setFieldsDict @@ -17,7 +17,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions box (-10 -20 -10) (200 20 4); fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/U b/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/U index 92b06fe0a6..6c087afc7d 100644 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/U +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/U @@ -26,6 +26,7 @@ boundaryField { type variableHeightFlowRateInletVelocity; flowRate $inletFlowRate; + alpha alpha.water; value uniform (0 0 0); } diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha1.org b/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha.water.org similarity index 98% rename from tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha1.org rename to tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha.water.org index deeaf2f3df..180c83d03e 100644 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha1.org +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/0.org/alpha.water.org @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun b/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun index da58c047f1..858f388243 100755 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun @@ -7,7 +7,7 @@ cp -r 0.org 0 > /dev/null 2>&1 runApplication blockMesh -cp 0/alpha1.org 0/alpha1 +cp 0/alpha.water.org 0/alpha.water runApplication setFields diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/constant/transportProperties b/tutorials/multiphase/interFoam/ras/weirOverflow/constant/transportProperties index ef3e8c7b4b..81106f5ea4 100644 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/constant/transportProperties +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/constant/transportProperties @@ -15,14 +15,9 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -twoPhase -{ - transportModel twoPhase; - phase1 phase1; - phase2 phase2; -} +phases (water air); -phase1 +water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; @@ -44,7 +39,7 @@ phase1 } } -phase2 +air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/system/fvSolution b/tutorials/multiphase/interFoam/ras/weirOverflow/system/fvSolution index 3693fa3dfe..dc48e429db 100644 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/system/fvSolution @@ -16,7 +16,7 @@ FoamFile solvers { - alpha1 + alpha.water { nAlphaCorr 1; nAlphaSubCycles 2; diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/weirOverflow/system/setFieldsDict index 26d6b7f2a6..76fa077e7f 100644 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/system/setFieldsDict @@ -16,7 +16,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.water 0 ); regions @@ -27,7 +27,7 @@ regions fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.water 1 ); } ); diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha1 b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha.water similarity index 97% rename from tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha1 rename to tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha.water index a2e32cc8e8..3a2097df24 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha1 +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/0.org/alpha.water @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties index 92e543ecce..be3d97f20a 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties @@ -15,20 +15,22 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +phases (water vapour); + phaseChangeTwoPhaseMixture SchnerrSauer; pSat pSat [1 -1 -2 0 0] 2300; // saturation pressure sigma sigma [1 0 -2 0 0 0 0] 0.07; -phase1 +water { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 9e-07; rho rho [1 -3 0 0 0 0 0] 1000; } -phase2 +vapour { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 4.273e-04; diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSchemes b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSchemes index 733980447c..e60864d7f5 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSchemes +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSchemes @@ -60,7 +60,7 @@ fluxRequired default no; p_rgh; pcorr; - alpha1; + alpha.water; } diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSolution b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSolution index 8673ec2625..e7a73630a8 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSolution +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/fvSolution @@ -16,7 +16,7 @@ FoamFile solvers { - alpha1 + alpha.water { cAlpha 0; nAlphaCorr 2; diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha1 b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha.water similarity index 97% rename from tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha1 rename to tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha.water index c3754beb68..6ca929b855 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha1 +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/0/alpha.water @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1; + object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties index c78a74d48d..a9e6e6525d 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties @@ -14,20 +14,22 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +phases (water vapour); + phaseChangeTwoPhaseMixture SchnerrSauer; pSat pSat [1 -1 -2 0 0] 2300; // saturation pressure sigma sigma [1 0 -2 0 0 0 0] 0.07; -phase1 +water { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 9e-07; rho rho [1 -3 0 0 0 0 0] 1000; } -phase2 +vapour { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 4.273e-04; diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSchemes b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSchemes index 8ddd1fe903..ded24b94b6 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSchemes +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSchemes @@ -56,7 +56,7 @@ fluxRequired default none; p_rgh; pcorr; - alpha1; + alpha.water; } // ************************************************************************* // diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSolution b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSolution index a1f8f8ffd5..41c0ac39c6 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSolution +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/fvSolution @@ -16,7 +16,7 @@ FoamFile solvers { - alpha1 + alpha.water { cAlpha 0; nAlphaCorr 2; diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha1 b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha.sludge similarity index 97% rename from tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha1 rename to tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha.sludge index 65b89ea284..0b43750be0 100644 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha1 +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/0.org/alpha.sludge @@ -11,7 +11,7 @@ FoamFile format ascii; class volScalarField; location "0"; - object alpha1; + object alpha.sludge; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/constant/transportProperties b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/constant/transportProperties index df0c151c83..5c4f2ad6c6 100644 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/constant/transportProperties +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/constant/transportProperties @@ -18,14 +18,16 @@ FoamFile Dab Dab [0 2 -1 0 0 0 0] 1e-06; alphatab alphatab [0 0 0 0 0 0 0] 1; -phase1 +phases (sludge water); + +sludge { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 1e-06; rho rho [1 -3 0 0 0 0 0] 1000; } -phase2 +water { transportModel Newtonian; nu nu [0 2 -1 0 0 0 0] 1e-06; diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSchemes b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSchemes index 35930b9203..c4837bb39f 100644 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSchemes +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSchemes @@ -31,7 +31,7 @@ divSchemes default none; div(rho*phi,U) Gauss linear; - div(phi,alpha1) Gauss vanLeer; + div(phi,alpha) Gauss vanLeer; div(phi,k) Gauss limitedLinear 1; div((muEff*dev(T(grad(U))))) Gauss linear; } @@ -55,7 +55,7 @@ fluxRequired { default no; p_rgh; - alpha1; + alpha.sludge; } diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSolution b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSolution index af87b0880f..6ad387f715 100644 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSolution +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - "alpha1.*" + "alpha.sludge.*" { nAlphaSubCycles 2; nAlphaCorr 1; diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/setFieldsDict b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/setFieldsDict index 2c45b1faae..12f879946c 100644 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/setFieldsDict +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/system/setFieldsDict @@ -16,7 +16,7 @@ FoamFile defaultFieldValues ( - volScalarFieldValue alpha1 0 + volScalarFieldValue alpha.sludge 0 volVectorFieldValue U (0 0 0) ); @@ -28,7 +28,7 @@ regions fieldValues ( - volScalarFieldValue alpha1 1 + volScalarFieldValue alpha.sludge 1 ); } );