93 if ((dictptr =
dict.findDict(
"patchNames")) !=
nullptr)
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.
void read(const dictionary &dict)
Read program parameters from dictionary.
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 blockageNoCT
If a single obstacle blocks a cell by more than this, then no CT in that direction.
int nPairsToBlockC
Min number of blocked cell face pairs (on opposite faces of a cell) for a cell to be marked as blocke...
scalar outerCombFac
Value for outer region.
int nFacesToBlockC
Min number of blocked cell faces for a cell to be marked as blocked.
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
void inplaceExpand(std::string &s, const HashTable< string > &mapping, const char sigil='$')
Inplace expand occurrences of variables according to the mapping. Does not use environment values.
void inplaceTrim(std::string &s)
Trim leading and trailing whitespace inplace.
Foam::PDRparams pars
Globals for program parameters (ugly hack).