|
[Sponsors] |
splitMeshRegions -cellZonesFileOnly <zoneFile> |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Anders
Join Date: Nov 2010
Posts: 10
Rep Power: 15 ![]() |
Dear all,
In splitMeshRegions.C one can read that the flag -cellZonesFileOnly behaves like -cellZonesOnly but reads the cellZones from the specified file, and that this allows you to explicitly specify the region distribution and still have multiple cellZones per region. I.e. just what I need, but it don't explain the syntax in <zoneFile>, and I can't figure it out. Can anyone give me a hint? Cheers, Anders |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12 ![]() |
Thanks for creating this thread, i am in the same issue, i am wondering if its to be used in the snappyHexMeshDict as follows:
Code:
s5 { // Surface-wise min and max refinement level level (5 5); faceZone s5; faceType baffle; cellZonesFileOnly s5.stl; cellZoneInside inside; |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 ![]() |
The zonefile format is the same as yourcase/constant/polyMesh/cellZones
and the default location is yourcase/constant/polyMesh/ e.g. Code:
FoamFile { version 2.0; format ascii; class regIOobject; location "constant/polyMesh"; object cellZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 3 ( leftAir { type cellZone; cellLabels List<label> 2128189 ( 28 79 80 81 82 83 84 ... ) } );
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
![]() |
![]() |
![]() |
Tags |
cellzonesfileonly, splitmeshregions |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] why splitMeshRegions creates extra domains? | skuznet | OpenFOAM Meshing & Mesh Conversion | 10 | May 31, 2022 05:54 |
splitMeshRegions doesn't find my regions. | GPesch | OpenFOAM Pre-Processing | 2 | November 14, 2013 05:20 |
splitMeshRegions and boundarys | Tobi | OpenFOAM | 1 | January 25, 2013 13:33 |
splitMeshRegions | VdG | OpenFOAM Bugs | 5 | June 14, 2010 04:31 |
splitMeshRegions | naltang | OpenFOAM | 3 | May 6, 2010 12:22 |