Go to the documentation of this file.
43 int main(
int argc,
char *argv[])
47 "Transient solver for incompressible laminar flow"
48 " of non-Newtonian fluids."
57 #include "createControl.H"
58 #include "createFields.H"
59 #include "initContinuityErrs.H"
63 Info<<
"\nStarting time loop\n" <<
endl;
69 #include "CourantNo.H"
83 if (
piso.momentumPredictor())
89 while (
piso.correct())
106 while (
piso.correctNonOrthogonal())
117 pEqn.solve(
mesh.solver(
p.select(
piso.finalInnerIter())));
119 if (
piso.finalNonOrthogonalIter())
125 #include "continuityErrs.H"
128 U.correctBoundaryConditions();
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
bool adjustPhi(surfaceScalarField &phi, const volVectorField &U, volScalarField &p)
tmp< volScalarField > rAU
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
fvMatrix< vector > fvVectorMatrix
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Execute application functionObjects to post-process existing results.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)