71 "list available conditions for field" 76 "list constraint patches" 81 "list fixed value patches (use with -field option)" 92 bool abortVar(
env(
"FOAM_ABORT"));
96 <<
"Please unset FOAM_ABORT to use this utlity" 103 if (args.optionReadIfPresent(
"browse", condition))
108 displayDoc(condition,
".*[fF]vPatchField.*",
false);
110 else if (args.optionFound(
"constraint"))
113 Info<<
"Constraint types:" <<
nl;
116 Info<<
" " << iter.key() <<
nl;
120 else if (args.optionReadIfPresent(
"field", fieldName))
125 mesh.time().timeName(),
133 if (args.optionFound(
"fixedValue"))
135 fixedValueFieldConditions<scalar>(fieldHeader);
136 fixedValueFieldConditions<vector>(fieldHeader);
137 fixedValueFieldConditions<sphericalTensor>(fieldHeader);
138 fixedValueFieldConditions<symmTensor>(fieldHeader);
139 fixedValueFieldConditions<tensor>(fieldHeader);
143 (void)fieldConditions<scalar>(fieldHeader,
true);
144 (void)fieldConditions<vector>(fieldHeader,
true);
145 (void)fieldConditions<sphericalTensor>(fieldHeader,
true);
146 (void)fieldConditions<symmTensor>(fieldHeader,
true);
147 (void)fieldConditions<tensor>(fieldHeader,
true);
156 else if (args.optionReadIfPresent(
"fixedValue", fieldName))
159 <<
"-field option must be specified when using the -fixedValue " 167 displayDocOptions(
".*[fF]vPatchField.*",
false);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
helpBoundary()
Constructor.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
static const word null
An empty word.
faceListList boundary(nPatches)
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
defineTypeNameAndDebug(combustionModel, 0)
virtual void execute(const argList &args, const fvMesh &mesh)
Execute the help.
addNamedToRunTimeSelectionTable(GAMGProcAgglomeration, noneGAMGProcAgglomeration, GAMGAgglomeration, none)
virtual ~helpBoundary()
Destructor.
virtual void init()
Initialise - typically setting static variables,.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
bool env(const word &)
Return true if environment variable of given name is defined.
virtual void init()
Initialise - typically setting static variables,.
static wordList constraintTypes()
Return a list of all the constraint patch types.