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)
Execute the help.
virtual void init()
Initialise - typically setting static variables,.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool setEnv(const word &name, const std::string &value, const bool overwrite)
Set an environment variable, return true on success.
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
This class provides help for boundary conditions (patch fields). When no additional arguments are giv...
messageStream Info
Information stream (uses stdout - output is on the master only)
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~helpBoundary()
Destructor.
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)
Add a bool option to validOptions with usage information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
helpBoundary()
Constructor.
static const word null
An empty word.
HashSet< word > wordHashSet
A HashSet with word keys.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Foam::argList args(argc, argv)
defineTypeNameAndDebug(combustionModel, 0)
virtual void init()
Initialise - typically setting static variables,.
static wordList constraintTypes()
Return a list of all the constraint patch types.
bool found(const word &optName) const
Return true if the named option is found.