mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: extrudeToRegionMesh: extrude into single empty patch
This commit is contained in:
@ -1210,12 +1210,13 @@ int main(int argc, char *argv[])
|
|||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
label nSide = 0;
|
label nSide = 0;
|
||||||
|
|
||||||
forAll(zoneSidePatch, zoneI)
|
forAll(zoneSidePatch, zoneI)
|
||||||
{
|
{
|
||||||
if (oneD)
|
if (oneD)
|
||||||
{
|
{
|
||||||
// Always add empty patches, one per zone.
|
// Reuse single empty patch.
|
||||||
word patchName = faceZones[zoneI].name() + "_" + "side";
|
word patchName = "oneDEmptPatch";
|
||||||
|
|
||||||
zoneSidePatch[zoneI] = addPatch<emptyPolyPatch>
|
zoneSidePatch[zoneI] = addPatch<emptyPolyPatch>
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user