74 ) <<
"Convection scheme not specified" <<
endl <<
endl
75 <<
"Valid convection schemes are :" <<
endl
76 << IstreamConstructorTablePtr_->sortedToc()
80 const word schemeName(schemeData);
82 typename IstreamConstructorTable::iterator cstrIter =
83 IstreamConstructorTablePtr_->find(schemeName);
85 if (cstrIter == IstreamConstructorTablePtr_->end())
90 ) <<
"Unknown convection scheme " << schemeName <<
nl <<
nl
91 <<
"Valid convection schemes are :" <<
endl
92 << IstreamConstructorTablePtr_->sortedToc()
96 return cstrIter()(mesh, faceFlux, schemeData);
115 if (schemeData.
eof())
120 ) <<
"Convection scheme not specified" <<
endl <<
endl
121 <<
"Valid convection schemes are :" <<
endl
122 << MultivariateConstructorTablePtr_->sortedToc()
126 const word schemeName(schemeData);
128 typename MultivariateConstructorTable::iterator cstrIter =
129 MultivariateConstructorTablePtr_->find(schemeName);
131 if (cstrIter == MultivariateConstructorTablePtr_->end())
136 ) <<
"Unknown convection scheme " << schemeName <<
nl <<
nl
137 <<
"Valid convection schemes are :" <<
endl
138 << MultivariateConstructorTablePtr_->sortedToc()
142 return cstrIter()(mesh,
fields, faceFlux, schemeData);
161 <<
"attempted assignment to self"
Generic GeometricField class.
bool eof() const
Return true if end of input seen.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for convection schemes.
void operator=(const convectionScheme< Type > &)
virtual ~convectionScheme()
Destructor.
static tmp< convectionScheme< Type > > New(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme created on freestore.
convectionScheme(const convectionScheme &)
Copy construct.
Abstract base class for multi-variate surface interpolation schemes.
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)