CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

splitMeshRegions -cellZonesFileOnly <zoneFile>

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2014, 12:05
Default splitMeshRegions -cellZonesFileOnly <zoneFile>
  #1
New Member
 
Anders
Join Date: Nov 2010
Posts: 10
Rep Power: 15
anlj is on a distinguished road
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
anlj is offline   Reply With Quote

Old   November 6, 2015, 14:04
Default
  #2
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
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;
thanks
esujby is offline   Reply With Quote

Old   June 16, 2016, 10:22
Default
  #3
Senior Member
 
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13
derekm is on a distinguished road
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
derekm is offline   Reply With Quote

Reply

Tags
cellzonesfileonly, splitmeshregions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 03:32.