CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Blender and snappyHexMesh

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

Reply
 
LinkBack Thread Tools 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: 3
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
 
Ken
Join Date: Aug 2012
Posts: 61
Blog Entries: 1
Rep Power: 5
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: 5
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: 3
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
 
Ken
Join Date: Aug 2012
Posts: 61
Blog Entries: 1
Rep Power: 5
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: 3
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, 05: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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FYI: SwiftSnap now can also export on Blender to enGrid wyldckat enGrid 0 October 6, 2013 10:35
snappyHexMesh utility does not work correctly sandy13 OpenFOAM Native Meshers: snappyHexMesh and Others 7 April 2, 2013 17:16
Bulky edges using snappyhexmesh Pin OpenFOAM Native Meshers: snappyHexMesh and Others 0 February 11, 2013 10:38
no boundary layers using snappyHexMesh thorsten OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 22, 2009 06:01
SnappyHexMesh not generate mesh first time mavimo OpenFOAM Mesh Utilities 4 August 26, 2008 07:08


All times are GMT -4. The time now is 02:00.