|
[Sponsors] |
December 7, 2023, 00:19 |
Error for Quad-Dominant Mesh
|
#1 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 108
Rep Power: 5 |
Hi,
I am meshing in a 3D mesh domain in SALOME. When ever I use a Quad-Dominant mesh and try to export to OpenFOAM as a .UNV file, it gives an error saying '' I will lose some cells'' upon the export. Q1. How can I use Quad cells in my mesh to be imported to OpenFOAM Q2. Other than tet-mesh, can I use anything else to be use in OpenFOAM currently I am using NETGEN-1D-2D-3D hypothesis. Thank you. Dasith |
|
December 7, 2023, 03:54 |
|
#2 |
Senior Member
Join Date: Dec 2021
Posts: 209
Rep Power: 5 |
Hey!
I suppose you get a message about pyramid cells not being exported when you use the UNV format? As far as I know, Salome can't manage pyramids when exporting the mesh as a UNV. You can use a script to export your mesh directly from Salome to your OpenFOAM case (meaning it will write the polyMesh folder). Check out this link: https://github.com/EastEriq/salomeTo...penFOAM_GUI.py Be warned, this might take a long time so be patient, and do some tests with a lightweight mesh this should be able to export meshes with pyramids. Other than that, you can also avoid creating pyramids altogether. Just disable the Quad dominant option in NetGen, and it should create only tetrahedral cells. As an alternative you can also try to create a structured mesh if your geometry allows it. And finally, you can look into snappyHexMesh and cfMesh to generate OpenFOAM meshes. |
|
December 7, 2023, 17:19 |
|
#3 | |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 108
Rep Power: 5 |
Quote:
Thank you very much for the info, that was really helpful. I did not know there is a way to write the SALOME mesh directly to polyMesh, I will certainly give it a go. I've been using snappy and I am just starting to try SALOME. just wondering, how can I create or force it to create structured mesh ? what options do I have for that in SALOME ? Thank you Dasith |
||
December 8, 2023, 04:30 |
|
#4 |
Senior Member
Join Date: Dec 2021
Posts: 209
Rep Power: 5 |
Structured mesh in Salome is in my opinion a bit tedious when you have a complex geometry, but I am not the most experienced user basically, try to decompose the geometry in blocks that are extrudable. You can then mesh a starting face and an end face with 2D elements, and extrude these elements from the starting face to the end face. You can find several tutorials online.
|
|
December 10, 2023, 18:29 |
|
#5 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 108
Rep Power: 5 |
Awesome, thank you very much
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to perform larger deformations while mantaining good mesh with adjoint solver | FormulaStudentFEB | STAR-CCM+ | 0 | October 13, 2023 11:27 |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 07:34 |
foam-extend-4.1 release | hjasak | OpenFOAM Announcements from Other Sources | 19 | July 16, 2021 05:02 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[ICEM] Hexa dominant meshing | Pat84 | ANSYS Meshing & Geometry | 19 | December 2, 2015 17:20 |