mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: decompositionMethod: check dimensions. See #937.
Changed into warning since e.g. tutorials/combustion/fireFoam/LES/compartmentFire uses columns of 1D stacks so they've got empty but are still 3D.
This commit is contained in:
@ -67,11 +67,12 @@ void Foam::geomDecomp::checkDecompositionDirections
|
||||
{
|
||||
if (n_[dir] > 1 && meshDirs[dir] == -1)
|
||||
{
|
||||
FatalErrorInFunction << "Trying to decompose a 1/2D mesh"
|
||||
WarningInFunction
|
||||
<< "Trying to decompose a 1/2D mesh"
|
||||
<< " into " << n_[dir]
|
||||
<< " parts in direction "
|
||||
<< Vector<label>::componentNames[dir]
|
||||
<< exit(FatalError);
|
||||
<< endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user