CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

SnappyHexMesh GUI add-on for Blender

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree9Likes
  • 8 Post By tkeskita
  • 1 Post By lorenzotrevisan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2019, 11:34
Post SnappyHexMesh GUI add-on for Blender
  #1
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 22
Rep Power: 11
tkeskita is on a distinguished road
Hello world,


I made a SnappyHexMesh GUI add-on for Blender (https://www.blender.org/). The add-on is available at https://github.com/tkeskita/snappyhexmesh_gui. Here is short summary from the main page:


SnappyHexMesh GUI add-on for Blender ("the add-on" hereafter) is meant to aid OpenFOAM users to use Blender as a CFD pre-processing tool. The aim is to
  • Ease the workflow for updating, modifying and exporting 3D surface meshes to OpenFOAM.
  • Allow definition of most common SnappyHexMesh settings via Blender GUI, to reduce need for manual writing of OpenFOAM dictionary definitions.
  • Require minimal Blender skills. Geometry can be modelled in any 3D modelling / CAD program which exports a surface mesh format that can be imported to Blender, such as STL or Wavefront OBJ. Add-on is operated via panels in Blender's GUI.
The creation of OpenFOAM dictionary files is based on string replacements using template files located in the add-on's skel directory. The add-on is developed for Blender 2.8 (master branch) and OpenFOAM Foundation version 6 of OpenFOAM.


Enjoy!
snak, wyldckat, rmaries and 5 others like this.
tkeskita is offline   Reply With Quote

Old   April 1, 2019, 12:03
Default
  #2
New Member
 
lorenzo trevisan
Join Date: Nov 2016
Location: Italy
Posts: 5
Rep Power: 5
lorenzotrevisan is on a distinguished road
dear Tuomo,
many thanks for Your excellent work. It works very well for me!
Can you use it also for chtMultiRegionFoam?

Last edited by lorenzotrevisan; April 1, 2019 at 16:02.
lorenzotrevisan is offline   Reply With Quote

Old   April 5, 2019, 01:31
Default
  #3
New Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 22
Rep Power: 11
tkeskita is on a distinguished road
Hello Lorenzo,

thanks, great to hear you find it useful!

I haven't done CHT myself, but I think it is possible, but requires some manual work: You have to generate one mesh at a time, and then copy final mesh to correct folder under your simuation case folder. You can use the "Include in Export" check box in the add-on to enable/disable geometry objects for each export, so you can still have all the geometry in same blend file if you want.
tkeskita is offline   Reply With Quote

Old   June 11, 2019, 09:43
Default
  #4
New Member
 
lorenzo trevisan
Join Date: Nov 2016
Location: Italy
Posts: 5
Rep Power: 5
lorenzotrevisan is on a distinguished road
Hi dear Tuomo,
i just tested Your add-on for chtMultiRegion (OpenFOAM v6) and i can confirm that it work fine for me as is; following the singleFluidCHT template i tried both internal and external flows. I introduce in Blender (2.8) an object with edges only that represents the blockMesh bounding box with "Include in Export" ON, and "Enable Snapping" and "Extract Feature Edges" OFF, in order to control the blockMesh dimensions.
The only limitation for internal flows is that if the solid are not in contact with the external boundary it is not considered.
Thanks again for your very useful work and best regards.
tkeskita likes this.
lorenzotrevisan is offline   Reply With Quote

Reply

Tags
gui, snappyhexmesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 284 July 29, 2020 03:40
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Helyx-OS Open Source GUI for OpenFOAM eugene OpenFOAM Announcements from Other Sources 31 March 9, 2020 16:55
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh elvis OpenFOAM Community Contributions 210 January 30, 2017 18:57
New CastNet Release: GUI Environment for OpenFOAM and CalculiX MartinB OpenFOAM Announcements from Other Sources 0 January 13, 2017 10:27


All times are GMT -4. The time now is 17:07.