OpenFOAM: API Guide
v2112
The open source CFD toolbox
createMeshesPostProcess.H
Go to the documentation of this file.
1
#include "
createMeshes.H
"
2
3
if
(!
fluidRegions
.size() && !
solidRegions
.size())
4
{
5
FatalErrorIn
(
args
.
executable
())
6
<<
"No region meshes present"
<<
exit
(
FatalError
);
7
}
8
9
fvMesh&
mesh
=
fluidRegions
.size() ?
fluidRegions
[0] :
solidRegions
[0];
Foam::FatalError
error FatalError
mesh
fvMesh & mesh
Definition:
createMeshesPostProcess.H:9
Foam::exit
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition:
errorManip.H:130
Foam::argList::executable
const word & executable() const noexcept
Name of executable without the path.
Definition:
argListI.H:51
fluidRegions
PtrList< fvMesh > fluidRegions(fluidNames.size())
solidRegions
PtrList< fvMesh > solidRegions(solidNames.size())
createMeshes.H
FatalErrorIn
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition:
error.H:448
args
Foam::argList args(argc, argv)
applications
solvers
heatTransfer
chtMultiRegionFoam
createMeshesPostProcess.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.