Go to the documentation of this file.
72 "List available conditions for field"
77 "List constraint patches"
82 "List fixed value patches (use with -field option)"
93 setEnv(
"FOAM_ABORT",
"",
true);
103 displayDoc(condition,
".*[fF]vPatchField.*",
false,
"H");
108 Info<<
"Constraint types:" <<
nl;
109 for (
const word& cType : constraintTypes)
111 Info<<
" " << cType <<
nl;
120 mesh.time().timeName(),
130 fixedValueFieldConditions<scalar>(fieldHeader);
131 fixedValueFieldConditions<vector>(fieldHeader);
132 fixedValueFieldConditions<sphericalTensor>(fieldHeader);
133 fixedValueFieldConditions<symmTensor>(fieldHeader);
134 fixedValueFieldConditions<tensor>(fieldHeader);
138 (void)fieldConditions<scalar>(fieldHeader,
true);
139 (void)fieldConditions<vector>(fieldHeader,
true);
140 (void)fieldConditions<sphericalTensor>(fieldHeader,
true);
141 (void)fieldConditions<symmTensor>(fieldHeader,
true);
142 (void)fieldConditions<tensor>(fieldHeader,
true);
154 <<
"-field option must be specified when using the -fixedValue "
162 displayDocOptions(
".*[fF]vPatchField.*",
false,
"H");
virtual void execute(const argList &args, const fvMesh &mesh)
Ostream & endl(Ostream &os)
bool setEnv(const word &name, const std::string &value, const bool overwrite)
bool readIfPresent(const word &optName, T &val) const
This class provides help for boundary conditions (patch fields). When no additional arguments are giv...
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
#define FatalErrorInFunction
HashSet< word, Hash< word > > wordHashSet
A HashSet with word keys and string hasher.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Foam::argList args(argc, argv)
defineTypeNameAndDebug(combustionModel, 0)
static wordList constraintTypes()
bool found(const word &optName) const