Go to the documentation of this file.
48 int main(
int argc,
char *argv[])
52 "Transient solver for incompressible, laminar flow"
53 " of Newtonian fluids in liquid film formulation."
59 #include "createFaMesh.H"
60 #include "readGravitationalAcceleration.H"
61 #include "readTransportProperties.H"
62 #include "createFaFields.H"
66 Info<<
"\nStarting time loop\n" <<
endl;
74 #include "setDeltaT.H"
102 Us.correctBoundaryConditions();
128 h.primitiveFieldRef() =
max
134 *
pos(
h0.value() -
h.primitiveField())
140 ps.correctBoundaryConditions();
144 Us.correctBoundaryConditions();
149 vsm.mapToVolume(
h,
H.boundaryFieldRef());
150 vsm.mapToVolume(
Us,
U.boundaryFieldRef());
faMatrix< vector > faVectorMatrix
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
volScalarField H(IOobject("H", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimLength, Zero))
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
Template specialisation for scalar faMatrix.
dimensionedScalar rhol("rhol", dimDensity, transportProperties)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
volSurfaceMapping vsm(aMesh)
const dimensionedScalar h
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label max(const labelHashSet &set, label maxValue=labelMin)
loopControl iters(runTime, aMesh.solutionDict(), "solution")
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
Read the control parameters used by setDeltaT.
Read the control parameters used by setDeltaT.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
edgeScalarField phis(IOobject("phis", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), linearEdgeInterpolate(Us) &aMesh.Le())
Calculates and outputs the mean and maximum Courant Numbers for the Finite Area method.
dimensionedScalar pos(const dimensionedScalar &ds)