CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

A tilted 3D cube inside a wind tunnel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2008, 15:34
Default Is it possible to simulate thi
  #1
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Is it possible to simulate this problem?
I have looked in the forum and the closest I found was a 3d cube but with two faces parallel to the outside boudary and touching it.
-Alain
jam is offline   Reply With Quote

Old   February 28, 2008, 15:41
Default Hi Alain, In principle, you
  #2
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17
olwi is on a distinguished road
Hi Alain,

In principle, your case is different only in geometry. You need a grid-generator for making your mesh, though. It's too complicated for blockMesh.

The problem may be large, however, if you want to resolve transient features and finer details of the flow. But that's another story...

/Ola
olwi is offline   Reply With Quote

Old   February 28, 2008, 16:23
Default Thanks Ola, I have no problem
  #3
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Thanks Ola,
I have no problem generating the mesh with Gmsh. I have to define the outside box with boundary condition like inlet and outlet and wall. For the inside cube which boundary condition can I define? With gmshToFoam, I get no patches available for anything inside that big box.

I have the following messages :
.
.Finding faces of patch 10
--> FOAM Warning : Not using gmsh face 3(11 188 13) since zero vertex is not on boundary of polyMesh
.
.



-Alain
jam is offline   Reply With Quote

Old   February 28, 2008, 16:54
Default Sorry to state the obvious: Th
  #4
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17
olwi is on a distinguished road
Sorry to state the obvious: The bc on the cube walls should be "wall".

Not so sure how to deal with the Gmsh mesh, though. What you are looking for is an empty hole for the cube in the middle of your mesh. If that is not what you have, let's hope an expert user of Gmsh reads this thread and comes to your rescue... Thing is that boundaries in OF have cells only on one side, i.e. they must be exteriour faces (="on boundary of polyMesh", see your warning message).

If you *do* have a whole in the middle, then there should be tools to pick up those faces (e.g. using the faceSet utility), and then create a wall patch for them (with some other utility). There are plenty of nifty utilities, the trick is just to know of their existens and understand how they work...

/Ola
olwi is offline   Reply With Quote

Old   February 29, 2008, 06:46
Default I have downloaded a 3d case fr
  #5
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
I have downloaded a 3d case from somewhere in this forum ( 3d_tar-1985.tgz) . In that case, two faces of the cube are touching the chamber walls.What I want to know is if it is possible to have a cube completely inside the chamber?

-Alain
jam is offline   Reply With Quote

Old   February 29, 2008, 12:21
Default Good news. I have a solution f
  #6
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Good news. I have a solution for a cube completely inside the chamber.I am using the sonicTurboFoam solver with the prism case. I have to look carrefully at how I got it, starting from Gmsh and producing a mesh and then using gmshToFoam to generate a mesh to be used in the solution.

-Alain
jam 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
Gambit help: Cube inside cube Jack Martinez FLUENT 13 August 11, 2010 06:29
cfDesign wind tunnel kit Autodesk Simulation CFD 1 September 19, 2006 07:37
BC for a wind tunnel spepsicho FLUENT 3 March 8, 2006 06:23
cfd gives Cd more than wind tunnel wilson CFX 5 July 4, 2005 19:16
CFD in wind tunnel Anders Hagberg Main CFD Forum 9 June 1, 2004 17:42


All times are GMT -4. The time now is 08:13.