CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Complex Geometries modelled in Blender to GMSH

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2024, 03:00
Default Complex Geometries modelled in Blender to GMSH
  #1
New Member
 
Gaurav Gupta
Join Date: May 2024
Posts: 23
Rep Power: 2
airwarriorg91 is on a distinguished road
Hello !
I am trying to study the flow around a complex geometry in NEK5000, where I require to have structured mesh with quad/tetrahedral elements in a GMSH mesh for importing it in GMSH.

I have created the geometry from scupling in blender and trying to import in GMSH but I can't use it for creating the mesh. What would be recommended workflow for this to create a complex geometry in blender and then mesh it GMSH.

Thanks,
Gaurav
airwarriorg91 is offline   Reply With Quote

Old   June 22, 2024, 15:23
Default
  #2
Senior Member
 
Martin_Sz's Avatar
 
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13
Martin_Sz is on a distinguished road
While NEK5000 can handle structured meshes with quad/hexahedral elements, creating such meshes directly from complex geometries in Blender is not recommended. Here's a more suitable workflow for your situation:
* Model Creation in Blender:
* Use Blender to create a high-fidelity representation of your complex geometry.
* Focus on accurately capturing the overall shape and details crucial for your flow analysis.
* Export to STL/OBJ:
* Once satisfied with the model, export it from Blender in a format compatible with GMSH, such as STL or OBJ. These formats efficiently represent the surface geometry.
* Meshing in GMSH:
* Import the exported STL/OBJ file into GMSH.
* GMSH excels at meshing complex geometries. Use its tools to create a structured mesh with quad/tetrahedral elements suitable for NEK5000.
* Pay attention to element quality during mesh generation.
Alternative Workflow (advanced):
If you're proficient with mesh generation in Blender, you can attempt to create a preliminary structured mesh within Blender using its native capabilities. However, this approach can be challenging for intricate geometries. Ensure the exported mesh from Blender adheres to NEK5000's element specifications.
Key Points:
* Blender is well-suited for sculpting complex shapes, while GMSH is powerful for mesh generation, especially for structured meshes.
* Leverage the strengths of each tool for optimal results.
* Consider consulting NEK5000's documentation for specific requirements regarding mesh quality and element types.
__________________
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD)
https://howtooansys.blogspot.com/
Martin_Sz is offline   Reply With Quote

Old   June 23, 2024, 01:32
Default
  #3
New Member
 
Gaurav Gupta
Join Date: May 2024
Posts: 23
Rep Power: 2
airwarriorg91 is on a distinguished road
Thanks for the tip ! I found out about salome and uses gmsh for meshing. So, it will do the job.
airwarriorg91 is offline   Reply With Quote

Old   June 26, 2024, 04:56
Default
  #4
New Member
 
Dale Barron
Join Date: Jun 2024
Location: United States
Posts: 1
Rep Power: 0
wearpanel is on a distinguished road
In GMSH, define physical groups for different parts of the geometry if needed. This helps in identifying different regions during the meshing process.
wearpanel is offline   Reply With Quote

Old   June 27, 2024, 09:06
Default
  #5
New Member
 
Hardware
Join Date: May 2024
Posts: 7
Rep Power: 2
michealkors is on a distinguished road
Hey Gaurav,

Blender excels at sculpting complex shapes, but GMSH works best with structured meshes. For NEK5000, you might want to try exporting a simpler, watertight STL from Blender and then defining the mesh within GMSH itself. There are tools for creating quads and controlling element size.
michealkors is offline   Reply With Quote

Old   June 27, 2024, 10:43
Default
  #6
New Member
 
Gaurav Gupta
Join Date: May 2024
Posts: 23
Rep Power: 2
airwarriorg91 is on a distinguished road
Quote:
Originally Posted by michealkors View Post
Hey Gaurav,

Blender excels at sculpting complex shapes, but GMSH works best with structured meshes. For NEK5000, you might want to try exporting a simpler, watertight STL from Blender and then defining the mesh within GMSH itself. There are tools for creating quads and controlling element size.
The mesh I export from blender is watertight but cannot create a mesh there. The boolean operations are not working.
airwarriorg91 is offline   Reply With Quote

Reply


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
MultiRegion SnappyHexMesh Workflow for complex geometries Dicanic Main CFD Forum 3 March 3, 2022 18:18
[swiftBlock/swiftSnap] How do you create your 2D geometries in Blender? sur4j OpenFOAM Community Contributions 2 January 4, 2014 16:31
Meshing complex white-light/GOM based STL models jola Main CFD Forum 13 January 30, 2012 01:35
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
mesh generator for very complex geometries? cchou2007 Main CFD Forum 3 December 8, 2007 08:37


All times are GMT -4. The time now is 15:55.