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

[snappyHexMesh] Blender and snappyHexMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2013, 09:13
Default Blender and snappyHexMesh
  #1
Hao
New Member
 
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 12
Hao is on a distinguished road
Hallo all!

I am trying to go through a process that create an irregular object from Blender, convert it to STL file with ascii format, insert it into a channel on a slope, finally mesh it with SnappyHexMesh. But it seems that is not easy to be done?

Anyone have some tutorial case, better a video uploaded, I didn't find such thing on internet, but it will be cool if someone complete one! Wow! By the way, I simply download a Cup Blender object and converted it into STL file from Blender, but it cannot be open, not an ascii file. I also install the addons of SwiftBloc and SwiftSnap but didn't find them from the Blender interface. I am using Blender 2.68a, some ideas?

I wish you all the best!

Hao
Hao is offline   Reply With Quote

Old   November 2, 2013, 23:23
Default
  #2
Member
 
Join Date: Aug 2012
Posts: 68
Blog Entries: 1
Rep Power: 13
Nucleophobe is on a distinguished road
Hao,

I'm not sure I understand. Are you suggesting that you are unable to get snappyHexMesh (sHM) to read the STL file because the STL from Blender is a binary file?

sHM can read binary STL files, so this shouldn't be a problem. As far as I know, the only tricky part in what you are describing would be patch definition.
Nucleophobe is offline   Reply With Quote

Old   November 4, 2013, 18:55
Default
  #3
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 15
zhengzh5 is on a distinguished road
Quote:
Originally Posted by Hao View Post
Hallo all!

I am trying to go through a process that create an irregular object from Blender, convert it to STL file with ascii format, insert it into a channel on a slope, finally mesh it with SnappyHexMesh. But it seems that is not easy to be done?

Anyone have some tutorial case, better a video uploaded, I didn't find such thing on internet, but it will be cool if someone complete one! Wow! By the way, I simply download a Cup Blender object and converted it into STL file from Blender, but it cannot be open, not an ascii file. I also install the addons of SwiftBloc and SwiftSnap but didn't find them from the Blender interface. I am using Blender 2.68a, some ideas?

I wish you all the best!

Hao
when you save .stl files in blender, there's an option for ascii format. (usually on the left side panel). Make sure you check that box.
zhengzh5 is offline   Reply With Quote

Old   December 11, 2013, 04:38
Default
  #4
New Member
 
Ulf Aslak
Join Date: Sep 2013
Location: Copenhagen, Denmark
Posts: 5
Rep Power: 12
ulfaslak is on a distinguished road
Dear Hao,

I got into the whole Blender -> swiftSnap -> sHM work flow by loosely following this guide. It's takes you through all the stages of structure design however there are a few things you need to be aware of if you aren't already.

1. swiftSnap must be enabled before you start to design (or import) your structure. Furthermore I have found it necessary to initially mark a feature line with a "Feat. level: x" where x can be any given level, in order to make the addon to do its job right.

2. set locationInMesh is very important, as sHM will otherwise mesh all the space around your structure, however not the actual structure. This is really annoying to realise upon inspection with paraView after a 15 minute meshing process.

There's much more that I struggled with when I was working out how to do this, and if you have any further questions, do not hesitate to ask.

I hope this is of any help,

Ulf
ulfaslak is offline   Reply With Quote

Old   December 11, 2013, 16:33
Default
  #5
Member
 
Join Date: Aug 2012
Posts: 68
Blog Entries: 1
Rep Power: 13
Nucleophobe is on a distinguished road
Quote:
Originally Posted by ulfaslak View Post
Dear Hao,

I got into the whole Blender -> swiftSnap -> sHM work flow by loosely following this guide...

It looks like the link is dead. Can you repost this Ulf?
Nucleophobe is offline   Reply With Quote

Old   December 11, 2013, 17:18
Default
  #6
New Member
 
Ulf Aslak
Join Date: Sep 2013
Location: Copenhagen, Denmark
Posts: 5
Rep Power: 12
ulfaslak is on a distinguished road
Quote:
Originally Posted by Nucleophobe View Post
It looks like the link is dead. Can you repost this Ulf?
Oh, sorry I must have moved around the files in my Dropbox folder. This one should work. https://www.dropbox.com/s/zalxjp6fkr...gInBlender.pdf
ulfaslak is offline   Reply With Quote

Old   May 9, 2014, 06:54
Default
  #7
New Member
 
Daniel
Join Date: May 2014
Posts: 1
Rep Power: 0
dalas.revo is on a distinguished road
Quote:
Originally Posted by ulfaslak View Post
Dear Hao,

I got into the whole Blender -> swiftSnap -> sHM work flow by loosely following this guide. It's takes you through all the stages of structure design however there are a few things you need to be aware of if you aren't already.

Ulf
Dear Ulf,

I am Daniel. I am all new to this topic, and so I would appreciate any help. I have to do the same workflow (Blender -> swiftSnap -> snappyHexMesh) and I am a little bit lost. I am looking for a nice guide which could take me through the first try.
I have to model a stove and got an stl file which I would like to mesh with blender/swiftsnap/shm.

Could you be so kind and repost the link?

Regards,
Daniel
dalas.revo is offline   Reply With Quote

Reply

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
SnappyHexMesh GUI add-on for Blender tkeskita OpenFOAM Pre-Processing 16 March 10, 2024 12:42
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] Broken Mesh after doing snappyHexMesh using an STL file created using blender cfd_inquirer OpenFOAM Meshing & Mesh Conversion 0 July 21, 2016 11:09
FYI: SwiftSnap now can also export on Blender to enGrid wyldckat enGrid 0 October 6, 2013 11:35
[snappyHexMesh] SnappyHexMesh not generate mesh first time mavimo OpenFOAM Meshing & Mesh Conversion 4 August 26, 2008 08:08


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