mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: zone improvements
- retain group information when copying zones - support construct empty (add details later) - improve consistency for zone and boundaryMesh construction - support front/back/both selection for faceZoneToCell STYLE: prefer faceZone patch() method instead of operator() STYLE: use std::unique_ptr instead of manual pointer management - for zones and core patch types. Easier data management, allows default destructors (for example)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2306 |
|
||||
| \\ / O peration | Version: v2312 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -30,17 +30,8 @@ actions
|
||||
name c1;
|
||||
type cellSet;
|
||||
action new;
|
||||
source faceZoneToCell;//zoneToCel;
|
||||
option master;
|
||||
zones (domain0_to_v_CPU);
|
||||
}
|
||||
|
||||
{
|
||||
name c1;
|
||||
type cellSet;
|
||||
action add;
|
||||
source faceZoneToCell;//zoneToCel;
|
||||
option slave;
|
||||
source faceZoneToCell;
|
||||
option both;
|
||||
zones (domain0_to_v_CPU);
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2306 |
|
||||
| \\ / O peration | Version: v2312 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -589,7 +589,7 @@ actions
|
||||
type cellSet;
|
||||
action new;
|
||||
source faceZoneToCell;
|
||||
option slave;
|
||||
option back;
|
||||
zones
|
||||
(
|
||||
faceZone1
|
||||
@ -601,7 +601,7 @@ actions
|
||||
type cellSet;
|
||||
action new;
|
||||
source faceZoneToCell;
|
||||
option master;
|
||||
option front;
|
||||
zone faceZone1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user