|
[Sponsors] |
April 2, 2008, 10:34 |
Hi,
my problem is the 2D si
|
#1 |
New Member
Anita K.
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi,
my problem is the 2D simulation of a flow around a bluff body in a pipe. The inlet velocity should be a fully developed turbulent velocity profile. Is it possible to map the profile generate in an other case (empty pipe with uniform inlet velocity) to the inlet boundary? Or is there a analytic solution describing the profile and a way to set the inlet velocity by this equation? Anita |
|
April 3, 2008, 04:16 |
Hi Anita,
Why don't you use
|
#2 |
Senior Member
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17 |
Hi Anita,
Why don't you use the directMappedPatch for your inlet boundary condition ? The idea is to designate as inlet region a "region" of your main computational domain. At the end of this "region", the flow are sampled and fed back into the start computational domain. This cyclic region will become fully turbulent quite faster in 2D. So, it should be faster than read a file from previous calculation, and interpolate it as inlet, shouldn't it ? Hope it helps, Cedric |
|
July 3, 2008, 00:43 |
Cedric,
Where did you find
|
#3 |
Guest
Posts: n/a
|
Cedric,
Where did you find the information about directMappedPatch? I'm trying to build up a simple airfoil simulation and I'm having a devil of a time getting the initial conditions set up correctly. How do you find out what values a patch will accept? I've looked through the programmers guide and the users guide and I can't find good specifications for what to put in the U, p, k and epsilon files for turbFoam. Joe |
|
July 3, 2008, 04:27 |
Hi Joe,
You can find a tuto
|
#4 |
Senior Member
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17 |
Hi Joe,
You can find a tutorial on the forum there: http://www.cfd-online.com/OpenFOAM_D...html#POST13069 and then there are some comments there from Eugene: http://www.cfd-online.com/OpenFOAM_D...html#POST17174 Then, if you need more documents, still from Eugene, you can read his Ph'D thesis where the basic idea is explained. In fact, according to me, there is no link between the directMappedPatch and your case. The reason is that it is a patch to create turbulent structure in a turbulent flow. Usualy, in an airfoil simulation, there are no such structure because the rate of kinetic energy should be low. But, maybe I'm wrong. Then, to fixed k and epsilon in a k-epsilon turbulent calculation, there is one tool to get epsilon from k on the wiki and I'm sure that there is an example in the user guide somewhere. Hope it will help you. Cedric |
|
July 3, 2008, 14:01 |
Cedric,
Thank you. Your hi
|
#5 |
Guest
Posts: n/a
|
Cedric,
Thank you. Your hints have proved invaluable. Thank you. The problem I was having was that people would post meshes to the Internet for which I am grateful. However, no one ever seems to post the contents of the 0/ directory which are just as important as the mesh itself. I found an airfoil mesh that would do what I need but provided no initial conditions. My attempts to build up initial conditions has met with failure because I couldn't find out which wall types took what kind of conditions/types/values/etc etc. The forum links you posted gave me some hints as to where I could find the configuration options. In the source directory for turbFoam I found a turbFoam.cfg file. Horray! The turbFoam.cfg file listed out all the configuration options (or where to find them) I need to build up a valid set of initial conditions. I wish I didn't have to dig through source to find this info but oh well. The configuration options for each solver can be found in the <<solver>>.cfg file. For turbfoam it was U, p, epsilon, k, nutilda and Rkinematic. |
|
July 4, 2008, 00:29 |
Figured out what was wrong. T
|
#6 |
Guest
Posts: n/a
|
Figured out what was wrong. The problem was in 'U', not 'p'. Sorry for the trouble. My simulation is finally working!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES turbulent pipe flow | panara | OpenFOAM Running, Solving & CFD | 68 | January 26, 2023 12:34 |
pipe turbulent flow | Hao | FLUENT | 4 | April 29, 2008 23:30 |
turbulent pipe flow | John | FLUENT | 2 | August 2, 2005 14:00 |
UDF for fully developed turbulent pipe flow | Maged | FLUENT | 1 | June 11, 2005 11:37 |
Measurements on turbulent pipe flow | Bo B. B. Jensen | Main CFD Forum | 4 | June 30, 1999 06:34 |