93 if ((dictptr =
dict.findDict(
"patchNames")) !=
nullptr)
101 UPatchBc =
"fixedValue;value uniform (0 0 0)";
118 for (
auto&
f : obsfile_names)
word outerPatchName
The name for the "outer" patch.
scalar blockedFacePar
Faces with area blockage greater than this are blocked.
scalar blockageNoCT
If a single obstacle blocks a cell by more than this, then no CT in that direction.
void read(const dictionary &dict)
Read program parameters from dictionary.
void inplaceTrim(std::string &s)
Trim leading and trailing whitespace inplace.
scalar def_grating_slat_w
Default slat thickness grating.
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...
scalar maxCR
Upper limit on CR (CT also gets limited)
scalar min_width
Ignore obstacles with second dimension (or diameter) less than this.
word groundPatchName
The name for the "ground" patch.
int overlaps
Flag to control which overlap calculations are performed.
scalar outerCombFac
Value for outer region.
string UPatchBc
"fixedValue;value uniform (0 0 0)"
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...
int nPairsToBlockC
Min number of blocked cell face pairs (on opposite faces of a cell) for a cell to be marked as blocke...
Parameters for PDRsetFields.
Foam::PDRparams pars
Globals for program parameters (ugly hack)
scalar empty_lobs_fac
Lobs in empty cell is this * cube root of cell volume.
int nFacesToBlockC
Min number of blocked cell faces for a cell to be marked as blocked.
scalar scale
Overall scale factor.
scalar blockedCellPoros
Cells with porosity less than this are blocked.
void readDefaults(const dictionary &dict)
Set or read defaults from dictionary.