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

Pipe flow / Internal fluid dynamics with SnappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 30, 2009, 16:15
Default Pipe flow / Internal fluid dynamics with SnappyHexMesh
  #1
New Member
 
Fabian Denner
Join Date: Mar 2009
Location: Zurich, Switzerland
Posts: 11
Rep Power: 8
denner is on a distinguished road
Hi guys,

I like to apply SnappyHexMesh to a pipe-like flow, respectively to internal fluid dynamics. I read the manual and struggle with the following statement:

"The objective is to mesh a rectangular shaped region (shaded grey in the figure) surrounding an object described by and STL surface, e.g. typical for an external aerodynamics simulation."

Isn't it possible to apply SnappyHexMesh to internal flow? Does anybody have experience with this topic?

Cheers,
Fabian
denner is offline   Reply With Quote

Old   July 21, 2009, 05:43
Default
  #2
New Member
 
Join Date: May 2009
Posts: 1
Rep Power: 0
Gecko is on a distinguished road
It certainly is possible to mesh interior regions, it is just that the instructions are written with only a single application in mind. It all depends on where you put the internal point in the dictionary file.
Gecko is offline   Reply With Quote

Old   October 10, 2011, 10:43
Default
  #3
Member
 
Marco Turchi
Join Date: Jul 2009
Location: Pesaro, Italy
Posts: 31
Rep Power: 7
zebu83 is on a distinguished road
Quote:
Originally Posted by denner View Post
Hi guys,

I like to apply SnappyHexMesh to a pipe-like flow, respectively to internal fluid dynamics. I read the manual and struggle with the following statement:

"The objective is to mesh a rectangular shaped region (shaded grey in the figure) surrounding an object described by and STL surface, e.g. typical for an external aerodynamics simulation."

Isn't it possible to apply SnappyHexMesh to internal flow? Does anybody have experience with this topic?

Cheers,
Fabian
Hi Fabian,
have you run your case?
I'm able to run external aerodynamics simulation, but I don't understand yet how to run internal simulations.
I think, like Gecko wrote, I have to put right internal point in the dictionary file, but I don't understand how.

Thank you in advance for your help.

Best regard
MT
zebu83 is offline   Reply With Quote

Old   October 13, 2011, 09:24
Default
  #4
New Member
 
Elia Agnani
Join Date: Oct 2011
Location: Modena, Italy
Posts: 5
Rep Power: 5
elia87 is on a distinguished road
Send a message via Skype™ to elia87
Hi Marco,

for mesh the internal region of your .stl geometry you just have to change the coordinates of the LocationInMesh point in the sHMDict file

Code:
 // Mesh selection
    // ~~~~~~~~~~~~~~

    // After refinement patches get added for all refinementSurfaces and
    // all cells intersecting the surfaces get put into these patches. The
    // section reachable from the locationInMesh is kept.
    // NOTE: This point should never be on a face, always inside a cell, even
    // after refinement.
    locationInMesh (15 0 0); <-- here you must enter a point that is internal to your geometry
Obviously you must have previously defined the reference geometry with blockMesh as it is written on the tutorial.

Good luck

Let me know if it worked
elia87 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
Flow meter Design CD adapco Group Marketing CD-adapco 3 June 21, 2011 08:33
How to calculate the fluid flow through a surface lynx OpenFOAM Paraview & paraFoam 3 April 19, 2008 09:31
Domain for Pipe Flow Swarup FLUENT 0 September 28, 2005 23:25
rerun with same flow field, different fluid props Tim Phoenics 0 March 3, 2004 15:51
First steps - laminar flow in a pipe Maria Phoenics 8 November 27, 2001 12:26


All times are GMT -4. The time now is 10:05.