1 Info<< "Reading field p\n" << endl;
15 Info<< "Reading field U\n" << endl;
29 #include "createPhi.H"
33 scalar pRefValue = 0.0;
34 setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue);
37 Info<< "Reading field pa\n" << endl;
51 Info<< "Reading field Ua\n" << endl;
65 #include "createPhia.H"
69 scalar paRefValue = 0.0;
73 mesh.solutionDict().subDict("SIMPLE"),
79 singlePhaseTransportModel laminarTransport(U, phi);
81 autoPtr<incompressible::RASModel> turbulence
83 incompressible::RASModel::New(U, phi, laminarTransport)
87 dimensionedScalar zeroSensitivity("0", dimVelocity*dimVelocity, 0.0);
88 dimensionedScalar zeroAlpha("0", dimless/dimTime, 0.0);
90 dimensionedScalar lambda(laminarTransport.lookup("lambda"));
91 dimensionedScalar alphaMax(laminarTransport.lookup("alphaMax"));
93 const labelList& inletCells = mesh.boundary()["inlet"].faceCells();
94 //const labelList& outletCells = mesh.boundary()["outlet"].faceCells();
103 IOobject::READ_IF_PRESENT,
106 lambda*max(Ua & U, zeroSensitivity)
108 zeroCells(alpha, inletCells);
109 //zeroCells(alpha, outletCells);