|
[Sponsors] |
[Technical] Question on changing default mesh regions names |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2022, 04:05 |
|
#8 |
Senior Member
M
Join Date: Dec 2017
Posts: 645
Rep Power: 12 |
Ok, I found a way to do it using topoSet without supplying a location.
As I pointed out, mergeMesh carries along the association of cells to the regions (regionToCell file). After using mergeMesh, one can use checkMesh which writes out polyMesh/sets/region* files. Then, since I know in the script which sequence I used for merging (I know which regions corresponds to which mesh or body), I can produce automatically a topoSetDict which creates cellZones with my desired names: Code:
{ action new; type cellZoneSet; name Tank; source setToCellZone; set region0; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] How to write cellSet for different regions in constant/polyMesh/sets | Struggle_Achieve | OpenFOAM Meshing & Mesh Conversion | 3 | June 17, 2019 09:29 |
Too diffusive result on Delaunay type mesh for pipe | AlmostSurelyRob | OpenFOAM Running, Solving & CFD | 7 | October 8, 2018 13:34 |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 03:19 |
[snappyHexMesh] Snappyhex mesh: poor inlet mesh | Swagga5aur | OpenFOAM Meshing & Mesh Conversion | 1 | December 3, 2016 16:59 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |