|
[Sponsors] |
September 13, 2007, 05:26 |
Definition of cellZones
|
#1 |
Member
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18 |
Hello,
I'd like to import a mesh from ideasUnV-File format. The file contains information on a cellZone beside info on the boundary condition. I've modified the ideasUnvToFoam utility so that I can extract this information (i.e. a list of cells that belong to a zone) out of the .unv file. The problem is how to add this info to my mesh. How can I write this cellZone info in OF format? Any hint where to start is welcome br Stefan |
|
September 13, 2007, 06:32 |
Stefan,
Here's some code th
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Stefan,
Here's some code that should help give you some hints. The addCellZones() method can be readily adapted to your needs. /mark 2 Files: cellTable.H cellTable.C |
|
September 13, 2007, 11:27 |
Dear Mark,
got it: I just l
|
#3 |
Member
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18 |
Dear Mark,
got it: I just looked at the gmsh-converter and implemented in my ideasUnv-converter. It is now possible to define a group "rotCellZone" in cubit, that will be registered by the converter and a cellSet file will be written. Then it can be used together with a MRF code. If anybody is interested to test out the converter, please drop me an email: stefan <dot> radl <@> tugraz <dot> at However, the converter is very much customized but can be easily adjusted. cheers Stefan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SHM doesn't create cellZones for one region | Eko | OpenFOAM Meshing & Mesh Conversion | 10 | January 24, 2018 03:03 |
It has to include complete definition of a type (not just fwd declaration), isn't it? | Zeppo | OpenFOAM Programming & Development | 12 | August 16, 2016 15:01 |
(AutoGRID 5) Problem in Geometry definition of propeller | venkat_aero2007 | Fidelity CFD | 14 | July 31, 2012 15:05 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
DecomposePar and CellZones | Anne Lincke | OpenFOAM | 4 | October 13, 2010 10:18 |