42int 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;
69 - fam::laplacian(Ds,
Cs)
76 vsm.mapToVolume(
Cs,
Cvf.boundaryFieldRef());
81 Info<<
"Total mass of surfactant: "
84 runTime.printExecutionTime(Info);
Template specialisation for scalar faMatrix.
volSurfaceMapping vsm(aMesh)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
edgeScalarField phis(IOobject("phis", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), linearEdgeInterpolate(Us) &aMesh.Le())
volScalarField Cvf(IOobject("Cvf", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimless/dimLength, Zero))