|
[Sponsors] |
May 30, 2018, 12:18 |
TopoSet with mesh from SALOME
|
#1 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hello guys,
I don't know if this is the right place to post this but I have been looking for answers and have not found anything. I exported my mesh from salome to openfam. I am working on a case regarding multiple regions and using the toposetDict, I have split the region. However, on paraview, when I look at the individual cell sets, I don't get a smooth surface, how can I correct this, or if this is not the right forum can I be directed to where I can get some answers. Attached is a thumbnail of what paraview gives me. |
|
May 31, 2018, 06:28 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
It won't be the perfect help, but in SALOME you can mark the cellZones for the different regions. Then you can export to ideas (UNV), import into OpenFOAM, and you can simply use splitMeshRegions -cellZones. Maybe if you create volume groups for the different regions it will assign different cellZones for them, but honestly I don't remember the steps exactly, but I know you can do it (I did it a long time ago). |
|
June 5, 2018, 14:47 |
|
#3 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hi simrego;
Thank you for your reply. How would I mark the cellzones in salome. So instead creating face groups on salome, I create volume groups. Wouldn't that be a problem when I want to export to OpenFOAM? Regards, charles |
|
June 5, 2018, 16:23 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
I just tried it. You just have to generate your mesh, then in the mesh create the groups (you will have volume groups in the generated mesh). Then export to UNV Then you can import into openFOAM with ideasUnvToFoam Then you will have your cellzones, so you can use splitMeshRegions directly to the imported mesh |
|
June 11, 2018, 06:16 |
|
#5 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hello,
I have not had a chance to try your method as I have been quite busy with other stuff. To avoid my post getting old before I try your method and you not replying, I just want to ask this quick question. My suspicion is that OPenFOAM only allows face groups. Wouldn't that be a problem if am creating groups using volume. And is it actually called volume groups. I thought it would be made from the solid parts so it should be called solid groups. Best regards |
|
June 11, 2018, 06:27 |
|
#6 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
OpenFOAM supports volume groups. Volume group means volumes (cells) in a group. It can be fluid, solid, doesn't matter. You just have to sign the cells which are in the same region, so you can split the mesh into the regions. Then you can give them any material properties, names, etc. as you wish. |
|
June 11, 2018, 08:52 |
|
#7 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hi,
Thanks. Just seen it. REgards |
|
June 20, 2018, 05:53 |
mapping a cylinder using topoSetDict
|
#8 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Hello Foamers,
i need your assistance, it may sound easy for you but it has challenged me a lot as beginner. I want to map a cylinder on my fluid domain created using blockMesh. The fluid domain has one block as you may see it bellow: FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.1; vertices ( (200 -50 0) (200 50 0) (-25 50 0) (-25 -50 0) (200 -50 1) (200 50 1) (-25 50 1) (-25 -50 1) ); blocks ( hex (0 1 2 3 4 5 6 7) (100 225 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (2 3 7 6) ); } outlet { type patch; faces ( (0 1 5 4) ); } topAndBottom { type patch; faces ( (1 2 6 5) (0 3 7 4) ); } frontAndBack { type empty; faces ( (0 1 2 3) (4 5 6 7) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // I have been reading online posts and thought that topoSetDict using cylinderTocell can help to map that cylinder in that Cartesian grid. the cylinder i want has: radius: 0.25; p1 (0 0 0), p2 (0 0 1). May you help to know what i am missing in the attached commpressed case setup, i am not getting that cylinder after ./Allrun in paraview? I will appreciate you support. Best regard! |
|
July 24, 2018, 20:18 |
|
#9 | |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Quote:
Thanks |
||
January 20, 2019, 14:17 |
|
#10 |
New Member
Nicola D'Ettole
Join Date: Nov 2018
Posts: 12
Rep Power: 7 |
HI,
volume groups for cellZones have to be in the same fused solid, in a partiton whit common interfaces or in a compound with independent surfaces? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 08:34 |
Salome cgns format mesh to SU2 | JPBLourenco | SU2 | 19 | November 18, 2019 03:11 |
[Other] conformed FSI mesh for unstructured fluid region | ashish.svm | OpenFOAM Meshing & Mesh Conversion | 10 | August 2, 2019 09:40 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 08:05 |