|
[Sponsors] |
[Salome] Sectioning mesh into groups without using geomtery. |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Ederson Jaime
Join Date: Jun 2024
Posts: 3
Rep Power: 2 ![]() |
Hello everyone,
I am working on creating an OpenFOAM model to study natural convection loops. I am using Salome to create my mesh. The method I found to work best for the application I need is to create a 2D mesh with the internal field of choice (o-type mesh with more refinement towards boundary conditions) and extrude this mesh along a path. The issue I face concerns sectioning my loop into the desired groups. I need my mesh to have different boundary groups for a heater section and another for a cooler, with the remainder of the loop being walls. I cannot seem to find any way to fix this since there is no geometry to be used as a basis for the different sections. I would appreciate any guidance or different methods you all may recommend to create this mesh. I have attached some pictures of what I want the mesh to look like, including the internal mesh and the outer profile (red is where the heater should be, and blue is the cooler). I did attempt to create my mesh from a .step file using primarily the NETGEN method, which worked for sectioning mesh in the boundary groups that I wanted, though I was unable to get the o-type mesh with good refinement. Thank you, Ederson |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Dec 2021
Posts: 230
Rep Power: 5 ![]() |
Hey!
You can partition your step in Salome Geometry to create faces where you need them. Partitioning might force you to create several submeshes to sweep your geometry and get the desired mesh tough, but it is probably the best way to get clean groups and a clean mesh. The other way would be to create patches once you have imported your mesh in your OpenFOAM case. You can use topoSet and createPatches to select the needed boundary faces and generate the patches. The patches could be slightly "rough" around the edges though. Good luck! |
|
![]() |
![]() |
![]() |
Tags |
boundaries definition, meshing, openfoam, salome |
|
|
![]() |
||||
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 07:34 |
[snappyHexMesh] High quality mesh for wind in complex urban environment | ziboaa | OpenFOAM Meshing & Mesh Conversion | 1 | January 12, 2021 15:33 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[ICEM] 2D hybrid mesh (unstructured mesh highly dependent on structured mesh parameters) | shubham jain | ANSYS Meshing & Geometry | 1 | April 10, 2017 05:03 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |