diff --git a/applications/utilities/miscellaneous/foamList/foamList.C b/applications/utilities/miscellaneous/foamList/foamList.C index e787a1352b..429e2c5113 100644 --- a/applications/utilities/miscellaneous/foamList/foamList.C +++ b/applications/utilities/miscellaneous/foamList/foamList.C @@ -46,6 +46,7 @@ Description #include "IOobject.H" #include "HashSet.H" #include "etcFiles.H" +#include "fvPatchField.H" #include "functionObject.H" #include "fvOption.H" #include "turbulentTransportModel.H" @@ -157,6 +158,16 @@ int main(int argc, char *argv[]) "List switches declared in libraries but not set in etc/controlDict" ); argList::addBoolOption + ( + "scalarBCs", + "List scalar field boundary conditions (fvPatchField)" + ); + argList::addBoolOption + ( + "vectorBCs", + "List vector field boundary conditions (fvPatchField)" + ); + argList::addBoolOption ( "functionObjects", "List functionObjects" @@ -194,6 +205,20 @@ int main(int argc, char *argv[]) listSwitches(args); } + if (args.optionFound("scalarBCs")) + { + Info<< "scalarBCs" + << fvPatchField::dictionaryConstructorTablePtr_->sortedToc() + << endl; + } + + if (args.optionFound("vectorBCs")) + { + Info<< "vectorBCs" + << fvPatchField::dictionaryConstructorTablePtr_->sortedToc() + << endl; + } + if (args.optionFound("functionObjects")) { Info<< "functionObjects" @@ -244,6 +269,7 @@ int main(int argc, char *argv[]) << endl; } + return 0; }