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

Sanity check on snappyHexMesh with SwiftSnap/Blender

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 8, 2015, 17:45
Default Sanity check on snappyHexMesh with SwiftSnap/Blender
  #1
New Member
 
Louis S
Join Date: Feb 2012
Posts: 4
Rep Power: 6
lsimons is on a distinguished road
I'm trying to get my feet wet in electrostatic simulation, and was able to run the basic charged wire example. To try and take it further, I made a torus in a cube using Blender and SwiftSnap, and am trying to run the simulation to see the distribution of the field between the two objects.

However, whenever I run the simulation, I only get a uniform cube (although blockMesh, snappyHexMesh, electrostaticFoam, and paraFoam seem to run with no errors). Based on the SwiftSnap pipe example, it seemed like I should make the box faces a mesh, and the taurus outside a seperate patch. Is there something else required to tell snappyHex to use the volume between the two patches?

Thanks,
Louis
Attached Files
File Type: zip foam_test.zip (53.3 KB, 6 views)
lsimons is offline   Reply With Quote

Old   January 12, 2015, 11:47
Default
  #2
New Member
 
Louis S
Join Date: Feb 2012
Posts: 4
Rep Power: 6
lsimons is on a distinguished road
After speaking with papna on #openfoam-irc, I was able to get the internal geometry to show up in paraFoam by increasing the blockMesh resolution. In blockMeshDict, I changed the following line:

hex (4 5 6 7 0 1 2 3) (2 2 2) simpleGrading (1 1 1)

to:

hex (4 5 6 7 0 1 2 3) (8 8 8) simpleGrading (1 1 1)

However, even though electrostaticFoam runs and solves rho and phi with no residuals, there is no volume data for rho or phi after timestep 0.
lsimons is offline   Reply With Quote

Reply

Tags
blender, swiftsnap

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
snappyHexMesh - memory corruption (OF-v. 2.2.x) pct OpenFOAM Bugs 9 July 21, 2013 13:57
Strange Results With snappyHexMesh calebamiles OpenFOAM Running, Solving & CFD 0 August 14, 2011 16:02
SnappyHexMesh Issues deji OpenFOAM 14 June 18, 2011 04:39
snappyHexMesh simple help! atareen64 OpenFOAM Native Meshers: snappyHexMesh and Others 0 March 2, 2011 16:52
Createpatch and SnappyHexMesh hm86 OpenFOAM Native Meshers: snappyHexMesh and Others 1 February 3, 2011 10:50


All times are GMT -4. The time now is 04:11.