65 int main(
int argc,
char *argv[])
69 "Overset Laplace equation solver for a scalar quantity." 78 #include "createFields.H" 83 Info<<
"\nCalculating temperature distribution\n" <<
endl;
91 while (
simple.correctNonOrthogonal())
fvMatrix< scalar > fvScalarMatrix
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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)
Info<< "Reading field T\"<< endl;volScalarField T(IOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading transportProperties\"<< endl;IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));Info<< "Reading diffusivity DT\"<< endl;dimensionedScalar DT("DT", dimViscosity, transportProperties);bool oversetPatchErrOutput=simple.dict().getOrDefault("oversetPatchErrOutput", false);tmp< surfaceScalarField > tdummyPhi
void oversetPatchPhiErr(const fvScalarMatrix &m, const surfaceScalarField &phi)
Prints out sum of m.flux and phi over the fringe faces.
const dictionary & simple
messageStream Info
Information stream (stdout output on master, null elsewhere)
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))