1 Info<< "Reading field pd\n" << endl;
15 Info<< "Reading field alpha1\n" << endl;
29 Info<< "Reading field U\n" << endl;
43 # include "createPhi.H"
45 Info<< "Reading transportProperties\n" << endl;
46 twoPhaseMixture twoPhaseProperties(U, phi, "alpha1");
49 // Need to store rho for ddt(rho, U)
57 IOobject::READ_IF_PRESENT
59 twoPhaseProperties.rho()
64 Info<< "Reading field p\n" << endl;
72 IOobject::READ_IF_PRESENT,
75 pd + rho*(g & mesh.C()),
76 pd.boundaryField().types()
81 scalar pRefValue = 0.0;
82 setRefCell(p, mesh.solutionDict().subDict("PIMPLE"), pRefCell, pRefValue);
83 dimensionedScalar one("one", dimless, 1.0);
85 Info<< "Calculating field g.h\n" << endl;
86 volScalarField gh("gh", g & mesh.C());
87 surfaceScalarField ghf("ghf", g & mesh.Cf());
91 // Construct interface from alpha1 distribution
92 interfaceProperties interface(alpha1, U, twoPhaseProperties);
94 // Construct incompressible turbulence model
95 autoPtr<incompressible::turbulenceModel> turbulence
97 incompressible::turbulenceModel::New(U, phi, twoPhaseProperties)
100 Info<< "Reading field rAU if present\n" << endl;
108 IOobject::READ_IF_PRESENT,
112 dimensionedScalar("dt", dimTime, 1.0),
114 zeroGradientFvPatchScalarField::typeName
117 numericalBeach beach(U);