1 Info<< "Reading field alpha\n" << endl;
26 //,alpha.boundaryField().types()
29 Info<< "Reading field p\n" << endl;
43 Info<< "Reading field Ua\n" << endl;
57 Info<< "Reading field Ub\n" << endl;
85 Info<< "Reading transportProperties\n" << endl;
87 IOdictionary transportProperties
91 "transportProperties",
99 dimensionedScalar rhoa
101 transportProperties.lookup("rhoa")
104 dimensionedScalar rhob
106 transportProperties.lookup("rhob")
109 dimensionedScalar nua
111 transportProperties.lookup("nua")
114 dimensionedScalar nub
116 transportProperties.lookup("nub")
121 transportProperties.lookup("da")
126 transportProperties.lookup("db")
129 dimensionedScalar Cvm
131 transportProperties.lookup("Cvm")
136 transportProperties.lookup("Cl")
141 transportProperties.lookup("Ct")
144 #include "createPhia.H"
145 #include "createPhib.H"
147 surfaceScalarField phi
155 fvc::interpolate(alpha)*phia
156 + fvc::interpolate(beta)*phib
167 alpha*rhoa + beta*rhob
170 #include "createRASTurbulence.H"
172 Info<< "Calculating field DDtUa and DDtUb\n" << endl;
174 volVectorField DDtUa =
179 volVectorField DDtUb =
185 Info<< "Calculating field g.h\n" << endl;
186 volScalarField gh("gh", g & mesh.C());
190 scalar pRefValue = 0.0;
191 setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);