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");
Macros for easy insertion into run-time selection tables.
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
Add to construction table with 'lookupName' as the key.
@ MUST_READ
Reading required.
bool found(const word &optName) const
Return true if the named option is found.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
static wordList constraintTypes()
Return a list of all the constraint patch types.
virtual void init()
Initialise - typically setting static variables,.
helpBoundary()
Constructor.
virtual ~helpBoundary()
Destructor.
virtual void init()
Initialise - typically setting static variables,.
virtual void execute(const argList &args, const fvMesh &mesh)
Execute the help.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool setEnv(const word &name, const std::string &value, const bool overwrite)
Set an environment variable, return true on success.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).
Foam::argList args(argc, argv)