CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Salome] Sectioning mesh into groups without using geomtery.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2024, 14:41
Default Sectioning mesh into groups without using geomtery.
  #1
New Member
 
Ederson Jaime
Join Date: Jun 2024
Posts: 3
Rep Power: 2
edersonj1995 is on a distinguished road
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
Attached Images
File Type: jpg fullGeometry.jpg (28.3 KB, 5 views)
File Type: jpg otypeMesh.jpg (66.4 KB, 5 views)
edersonj1995 is offline   Reply With Quote

Old   July 1, 2024, 03:41
Default
  #2
Senior Member
 
Join Date: Dec 2021
Posts: 230
Rep Power: 5
Alczem is on a distinguished road
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!
Alczem is offline   Reply With Quote

Reply

Tags
boundaries definition, meshing, openfoam, salome


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 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


All times are GMT -4. The time now is 20:13.