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

GradP in channeloodles

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2007, 11:01
Default hi all, i want to run a per
  #1
New Member
 
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 17
nikos_fb16 is on a distinguished road
hi all,

i want to run a periodic channel with a fixed pressure gradient in channeloodles. In the transportProperties dictionary there is only an entry for Ubar but not for gradP.


In the file createGradP are the following lines:

IFstream gradPFile
(
runTime.path()/runTime.timeName()/"gradP.raw"
);


I am new to OpenFoam and to C++, do I have to create a file named gradP in my start time directory? If so, how must it look like.

Thanks for any answers, Nikos
nikos_fb16 is offline   Reply With Quote

Old   September 4, 2007, 11:52
Default Hi Nikolaos, I am new to op
  #2
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Hi Nikolaos,

I am new to openFoam too, i am also running simulations using channelOodles solver, for my understanding to fix a pressure gradient, you have to modify channelOodles.C, by adding a linear pressure gradient that can be a constant added to the momentum equation in the streamwise direction, and then u calculate Ubulk that will oscillate around a mean value.
I didn't try it yet,so please anyone correct me if i am wrong.

Hadi
hadi 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
ChannelOodles maka OpenFOAM Bugs 12 February 5, 2009 19:17
[Gmsh] ChannelOodles with gmsh lofty OpenFOAM Meshing & Mesh Conversion 7 April 16, 2008 17:44
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 0 September 11, 2007 05:28
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 0 September 10, 2007 10:46
ChannelOodles in parallel maka OpenFOAM Bugs 3 August 21, 2007 18:30


All times are GMT -4. The time now is 06:37.