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

Pressure drop in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Lieven

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2013, 13:01
Default Pressure drop in openfoam
  #1
New Member
 
Join Date: Feb 2013
Posts: 6
Rep Power: 13
Ledeniso is on a distinguished road
Good evening,
i am new here and this is my first post.
I would like to simulate a pressure drop in a flow but i dont really know how to do it
I've tried to do that with a fan like in the tutorial TJunctionFan. So combine tjunction and pitzDaily, but i do not really understand what the patches the baffles abd so on is...( i still red a lot on the openfoam website an on the web, but nothing is clearly explained)
So i tried another solution, i tried to do my own solver with my own geometry but its remains very complicate...
How can i work efficiently with openfoam, what are the first things to know before starting with my simulation


thank you
Leden...
Ledeniso is offline   Reply With Quote

Old   June 6, 2013, 17:53
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
Hi Ledeniso,

Welcome to the forum! First of all, can you give a little bit more information about your case? A few things that immediately cross my mind:
* incompressible/compressible
* laminar/turbulent
* isothermal?
* Why would you need your 'own solver'?
* What do you mean exactly by 'work efficiently with OF'? I can give you a lot of advice, but the best place to start is here: http://ae.metu.edu.tr/tuncer/bookmarks/cfdnottodo.pdf

Cheers,

Lieven
HappyS5 likes this.
Lieven is offline   Reply With Quote

Old   June 6, 2013, 18:18
Default
  #3
New Member
 
Join Date: Feb 2013
Posts: 6
Rep Power: 13
Ledeniso is on a distinguished road
thanks to you Lieven,
my case consist to simulate a flow throught a porous wall in the middle of the flow.
my first idea was to simulate a flow in a pipe with a pressure drop where the porous wall has to be.
In order to reach that goal, ilooked for tutorials which match at the best to my case, but all the tutorial are so various and complicate to understand and so on...
To simulate a pressure drop in a flow i choose the case TJunctionFan ( with the fan to decrese my pressure,
to simulate the flow, i choose the pitzDaily case flow.

So the goal was to combine Tjunction with pitzDaily, but it's doesn"t work at all, i have tried a lot of solution without succes.
That's why i through perhaps it's better to create my own solver with all the boundary condition i need, but it seems to be mission impossible


How can i lose problem in Openfoam, do i do this with the tutorials given while the installation?
the flow is laminar and incompressible.

Thanks again for your answers and sorry for my english.
Leden...
Ledeniso is offline   Reply With Quote

Old   June 7, 2013, 09:35
Default
  #4
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
Hi Leden,

Why don't you start from the porousSimpleFoam solver?

Regarding the tutorials, don't expect to be able to learn to work with openfoam and all it's applications/tools/tricks/... in a few weeks. That's just not possible for any normal human being. First go through the tutorials explained in the manual, afterwards switch to the one closest to the case you want to simulate.

My apologies, but I don't understand the sentence "How can i lose problem in Openfoam, do i do this with the tutorials given while the installation?"

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   June 10, 2013, 02:23
Default Hi lieven
  #5
New Member
 
Join Date: Feb 2013
Posts: 6
Rep Power: 13
Ledeniso is on a distinguished road
I'm going to start learn about the porousSimpleFoam solver this week, and i will try like you advised it to me, to modify it in order to have something that matchs with my case.


with the sentence, i mean are the tutorials the only way to lose problems in OpenFOAM or does it exist anys else tutorial to learn more about OpenFOAM?

I am thanking you so much for your anszer, and i will inform you of my advance.
Leden...
Ledeniso is offline   Reply With Quote

Old   June 10, 2013, 11:59
Default
  #6
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
Hi Ledeniso,

I think the tutorials are the best place to start. If you search the web or this forum a bit, you can find some additional ones. Depending on how far you need to go, you can also search for 'programming tutorials'. And this forum is definitely also a huge source of input for new OpenFOAM users (and also for the more experienced ones ;-)).

Of course, there are also the OpenFOAM training sessions organized by ESI but I have no experience with those.

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   July 16, 2013, 02:52
Default
  #7
New Member
 
Mohammad
Join Date: Jul 2013
Posts: 10
Rep Power: 12
mohammad81 is on a distinguished road
Hi dear Foamers,
I would be grateful if you could help me in my problem.
I am new to OF, so forgive me for my simple questions which may seem absolutely trivial to you.
I want to model a 2D channel in which the driving force is pressure gradient. Sounds simple, but I do not know how to do it.
I want to use cyclic BC for both U and P. I studied about cyclic and fan BC and other stuff.
I could solve the problem with cyclic BC for both U and P while the upper wall is moving (like cavity problem), and I used icoFoam.
But I do not know how to do it for pressure gradient case?
what solver shall I use? I know in the forum people said that channelFoam is a good one, but you know that in OF2.2.1 it is removed. shall I use pimpleFoam? or simpleFoam? or icofoam?
please notice that my flow is laminar.
How may I apply the pressure gradient?
How may I apply the cyclic BC?
Thank so much for your time.
Mohammad
mohammad81 is offline   Reply With Quote

Old   July 17, 2013, 07:38
Default
  #8
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
Hi Mohammad,

You can use the fvOptions of OpenFOAM 2.2.x named pressureGradientExplicitSource. This replaces the functionallity of the channelFoam solver (hence it is removed from OF 2.2). As far as I understand, you can use this in combination with any of your preferred solvers. If your flow is laminar, icoFoam or pisoFoam will do the trick.

Applying the cyclic BC is really simple, just set the boundary conditions of the corresponding patches to 'cyclic' for all of the variables.

Hope this clarifies this, if I forgot the mention something, just ask again :-).

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   August 31, 2018, 04:42
Default pressure drop
  #9
New Member
 
pelin ilker
Join Date: Jun 2018
Posts: 2
Rep Power: 0
pelinilker is on a distinguished road
Hello all,
I am new at OF and I have a problem with modeling pressure drop of a laminar flow in a pipe, I used icoFoam, it worked but I don't know how I obtain the pressure drop value?


Thanks
pelinilker is offline   Reply With Quote

Old   March 21, 2019, 03:08
Default
  #10
New Member
 
Josh Williams
Join Date: Jun 2018
Location: Scotland
Posts: 8
Rep Power: 7
JoshWilliams1996 is on a distinguished road
Quote:
Originally Posted by pelinilker View Post
Hello all,
I am new at OF and I have a problem with modeling pressure drop of a laminar flow in a pipe, I used icoFoam, it worked but I don't know how I obtain the pressure drop value?


Thanks
did you find the solution to this?
JoshWilliams1996 is offline   Reply With Quote

Old   March 21, 2019, 09:49
Default
  #11
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
Quote:
Originally Posted by pelinilker View Post
Hello all,
I am new at OF and I have a problem with modeling pressure drop of a laminar flow in a pipe, I used icoFoam, it worked but I don't know how I obtain the pressure drop value?


Thanks
jsut search for "pressureDifferencePatch OpenFOAM" or just do it by your own using Paraview. Therefore examine the mass flow area averaged or just the surface area averaged static pressure for your inlet and outlet and subtract them.
hxaxtma is offline   Reply With Quote

Old   August 16, 2019, 06:44
Default Pressure drop in openfoam
  #12
New Member
 
Join Date: Aug 2019
Posts: 19
Rep Power: 6
Didu is on a distinguished road
Hello all,
Just came across an issue in rhoSimpleFoam solver.
My simulation is a simple pipe with an obstacle that introduces a pressure drop in the laminar flow. OpenFoam does not calculate the pressure drop, can anyone help me?
Thanks in advance,
Didu
Didu is offline   Reply With Quote

Old   August 16, 2019, 06:48
Default
  #13
New Member
 
Join Date: Aug 2019
Posts: 19
Rep Power: 6
Didu is on a distinguished road
Hello all,
Just came across an issue in rhoSimpleFoam solver.
My simulation is a simple pipe with an obstacle that introduces a pressure drop in the laminar flow. OpenFoam does not calculate the pressure drop, can anyone help me?
Thanks in advance,
Didu
Didu is offline   Reply With Quote

Old   August 16, 2019, 07:35
Default
  #14
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 6
ingraban is on a distinguished road
Code:
Application
    rhoSimpleFoam
Group
    grpCompressibleSolvers
Description
    Steady-state solver for compressible turbulent flow.
Maybe, you did not select the correct solver, maybe you don't resolve the near-wall shear stress correctly, maybe... it is hard to answer as we cannot guess what you are doing.
ingraban is offline   Reply With Quote

Old   August 16, 2019, 08:16
Default
  #15
New Member
 
Join Date: Aug 2019
Posts: 19
Rep Power: 6
Didu is on a distinguished road
Hi Ingo,
Thank you for your reply,
I'm simulating a laminar flow, steady state, a geometry of a cylinder, and in the middle there is an obstacle, what is the best solver, in your opinion?
Thanks in advance
Didu is offline   Reply With Quote

Old   August 19, 2019, 03:29
Default
  #16
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 6
ingraban is on a distinguished road
If your flow is laminar, you may well assume it is incompressible. Then I would use icoFoam (transient). As you have a pipe geometry with an obstacle, I would start with the tutorial "elbow". You will have to generate your own mesh and adapt the boundary conditions to match your flow problem.
ingraban is offline   Reply With Quote

Reply

Tags
help for a newbie


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
Which pressure OpenFOAM use for incompressible flow? P/rho or (P-101325)/rho ? panda60 OpenFOAM 16 August 14, 2018 04:57
help in pressure drop calculation in fluent sinaupdate FLUENT 3 July 10, 2016 05:56
Repeated elements in a system – pressure drop llidito OpenFOAM 0 April 25, 2013 14:47
Drop in pressure between inlet and outlet tommie OpenFOAM Running, Solving & CFD 0 September 12, 2008 04:37
Pressure Drop at entrance of a rotor-stator. Resnick Main CFD Forum 0 November 20, 2007 14:50


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