|
[Sponsors] |
September 4, 2007, 11:01 |
hi all,
i want to run a per
|
#1 |
New Member
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
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 |
|
September 4, 2007, 11:52 |
Hi Nikolaos,
I am new to op
|
#2 |
Member
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17 |
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 |
|
|
|
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 |