Go to the documentation of this file.
49 coeffs.
lookup(
"flowDir") >> flowDir_;
50 flowDir_ /=
mag(flowDir_);
52 if (model_ == pConstant)
54 coeffs.
lookup(
"pressureDrop") >> pressureDrop_;
56 else if (model_ == pDarcyForchheimer)
60 coeffs.
lookup(
"length") >> length_;
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void writeData(Ostream &) const
Write the source properties.
dimensioned< scalar > mag(const dimensioned< Type > &)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool read(const dictionary &dict)
Read source dictionary.