42 int main(
int argc,
char *argv[])
46 "Passive finiteArea scalar transport on a sphere" 52 #include "createFaMesh.H" 53 #include "createFaFields.H" 54 #include "createVolFields.H" 56 Info<<
"Total mass of surfactant: " 59 Info<<
"\nStarting time loop\n" <<
endl;
76 vsm.mapToVolume(
Cs,
Cvf.boundaryFieldRef());
81 Info<<
"Total mass of surfactant: "
volScalarField Cvf(IOobject("Cvf", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimless/dimLength, Zero))
const volSurfaceMapping vsm(aMesh)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
faMatrix< scalar > faScalarMatrix
edgeScalarField phis(IOobject("phis", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), linearEdgeInterpolate(Us) &aMesh.Le())
messageStream Info
Information stream (stdout output on master, null elsewhere)