88 const dictionary* dictptr;
95 const dictionary& d = *dictptr;
101 UPatchBc =
"fixedValue;value uniform (0 0 0)";
118 for (
auto&
f : obsfile_names)
Parameters for PDRsetFields.
scalar def_grating_slat_w
Default slat thickness grating.
string UPatchBc
"fixedValue;value uniform (0 0 0)"
scalar blockedFacePar
Faces with area blockage greater than this are blocked.
scalar scale
Overall scale factor.
scalar empty_lobs_fac
Lobs in empty cell is this * cube root of cell volume.
scalar maxCR
Upper limit on CR (CT also gets limited)
word groundPatchName
The name for the "ground" patch.
int overlaps
Flag to control which overlap calculations are performed.
scalar blockedCellPoros
Cells with porosity less than this are blocked.
scalar outerCombFac
Value for outer region.
word outerPatchName
The name for the "outer" patch.
scalar min_width
Ignore obstacles with second dimension (or diameter) less than this.
void readDefaults(const dictionary &dict)
Set or read defaults from dictionary.
virtual bool read()
Re-read model coefficients if they have changed.
dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
Find and return a sub-dictionary pointer if present.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
void inplaceExpand(std::string &s, const HashTable< string > &mapping, const char sigil='$')
void inplaceTrim(std::string &s)
Trim leading and trailing whitespace inplace.
Foam::PDRparams pars
Globals for program parameters (ugly hack)