4 <<
"Solver only applicable to single cell cases"
10 Info<<
"Reading thermophysical properties\n" <<
endl;
11 autoPtr<fluidMulticomponentThermo>
pThermo
65 #include "createPhi.H"
68 post<<
"# Time" << token::TAB <<
"Temperature [K]" << token::TAB
69 <<
"Pressure [Pa]" <<
endl;
const word & executable() const
Name of executable without the path.
fileName path() const
Return the path to the caseName.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
VolField< vector > volVectorField
const dimensionSet & dimMass
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimVelocity
VolField< scalar > volScalarField
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const dimensionSet & dimEnergy
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
const dimensionSet & dimTemperature
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Foam::argList args(argc, argv)
volScalarField Rspecific(IOobject("Rspecific", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimensionSet(dimEnergy/dimMass/dimTemperature), 0))
autoPtr< chemistryModel > pChemistry(chemistryModel::New(thermo))
volScalarField rho(IOobject("rho", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.renameRho())
volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
OFstream post(args.path()/"chemFoam.out")
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< fluidMulticomponentThermo > pThermo(fluidMulticomponentThermo::New(mesh))
fluidMulticomponentThermo & thermo