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

Source term for channel flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 27, 2008, 19:25
Default Hi Guys I am very new to Op
  #1
New Member
 
OpenFOAM Newbie
Join Date: Mar 2009
Posts: 20
Rep Power: 8
lofty is on a distinguished road
Hi Guys

I am very new to OpenFOAM. I hope you wont mind me asking you following questions.

1. Where do I specify a source term for pressure to sustain my flow with channelOodles solver.
2. How can I write rms and mean values for my variables in OpenFOAM.
3. Can I use solution from a RANS model in OpenFOAM to initialise fluctuations.

Thanks in advance for your help.
lofty is offline   Reply With Quote

Old   March 27, 2008, 21:11
Default Hello and welcome! 1. chann
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hello and welcome!

1. channelOodles does not require you specify a pressure gradient, but the mass flow rate (Ubar). If you want to introduce a constant pressure gradient you have to modify the code.

2. postChannel does that.

3. Yes, you can. But it's better you use something more sophisticated if you want turbulence to develop in a reasonable time. There's a tool to initialize a channel flow: look for it in the forum.

Regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 3, 2008, 15:08
Default Thank you very much Alberto.
  #3
New Member
 
OpenFOAM Newbie
Join Date: Mar 2009
Posts: 20
Rep Power: 8
lofty is on a distinguished road
Thank you very much Alberto.

1. Can some one tell me please what is relationship between friction Reynolds number (Re tau) and mass flow rate (Ubar).

2. Where do I place PerturbU.tgz and how do I get to compile it and subsequently get OpenFoam to recognise it.

I know I am asking for too much. Even if you can direct me to relevant literature (if there is any)it will very helpful. Thanks in advance.

OpenFOAM Newbie
lofty is offline   Reply With Quote

Old   April 3, 2008, 15:39
Default There is no such relation. Re
  #4
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
There is no such relation. Re tau is defined by u_tau, not u_bar, and you have to calculate your flow to find u_tau, or find a correlation for your specific configuration. Take a look at the wiki at cfd online.
johndeas is offline   Reply With Quote

Old   April 4, 2008, 06:09
Default Thank you John. I can calculat
  #5
New Member
 
OpenFOAM Newbie
Join Date: Mar 2009
Posts: 20
Rep Power: 8
lofty is on a distinguished road
Thank you John. I can calculate U tau, but that would only give me friction velocity. How can I obtain mass flow rate from it? Paraview has no option to calculate mass flow rate which is quite strange.

Can anyone please tell me please where am I suppose to place PerturbU.tgz and how do I get FoamX to recognise it. Thank you
lofty is offline   Reply With Quote

Old   April 4, 2008, 08:49
Default Hi " OF Newbie" let's start
  #6
Senior Member
 
Cedric DUPRAT
Join Date: Mar 2009
Location: Belgium
Posts: 179
Rep Power: 8
cedric_duprat is on a distinguished road
Hi " OF Newbie"

let's start by the perturbU. because it is to preProcess your run, I suggest you to put it in applications/utilities/preProcessing
then, instal the package, compile it. I should works.

but you know ... FoamX will not recognise it. so to use it, you will have to do something like that: perturbU <root> <case> as usual.
In fact, FoamX can do the "minimum" if you want more, it's not usefull anymore.

Should I say more about perturbU ?

for your friction velocity and your mass flow, ...
I think you want to understand the source term in channelOodles, don't you ?
If so, let's have a look there :
http://www.cfd-online.com/OpenFOAM_D...html#POST14146
It's a discution between Hadi Tartoussi and Henry Weller

I hope it helps,

Cedric
cedric_duprat 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
Source term in two-phase flow chouki FLUENT 0 February 15, 2008 08:55
source term in multiphase flow+Urgent sara FLUENT 0 June 20, 2007 14:30
Hartmann flow constant source term zakifoam OpenFOAM Running, Solving & CFD 1 March 8, 2007 11:35
how to add a source term in a 3D channel?? megg FLUENT 0 October 5, 2006 21:15
Source term of multiphase flow in CFX44 youngan CFX 0 September 28, 2003 22:27


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