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

TwoPhaseEulerFoam Documentation

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2010, 13:58
Default
  #41
Edy
Member
 
Join Date: Sep 2010
Posts: 35
Rep Power: 16
Edy is on a distinguished road
Hi,

Woaw, that s a quick reply !

Well, i have two terms :
- one due to evaporation at a heated wall, which is calculated using Kurul and Podowski model, and it is absolutely independent on the phase fraction
- one due to condensation in the bulk, which is directly proportional to the void fraction.

Best,

/Edouard
Edy is offline   Reply With Quote

Old   November 2, 2010, 16:13
Default
  #42
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I would start not including them in the pEqn, and treating them as they appear in the momentum equation. If you notice this destabilizes the solution, you can easily move them to the pEqn.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 3, 2010, 06:42
Default
  #43
Edy
Member
 
Join Date: Sep 2010
Posts: 35
Rep Power: 16
Edy is on a distinguished road
Hi,

Ok, thank you very much for your help! I'll try that.

Best,

/Edouard
Edy is offline   Reply With Quote

Old   November 3, 2010, 21:21
Default
  #44
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Quote:
Originally Posted by alberto View Post
The buoyantPressure BC is exactly a zeroGradient BC if p is not p_rgh. You might want to take a look at the code.

Best,
Hi, alberto, have a good day. Do you think it is possible to use the buoyantPressure BC in the twoPhaseEulerFoam solver through revising the code, like p_rgh substitute p, etc. I am wondering why OF1.7 doesn't do it like other multiphase flow solvers. Thank you in advance.

Chiven
chiven is offline   Reply With Quote

Old   November 3, 2010, 22:06
Default
  #45
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
It has been done by Oliveira and Issa in one of their papers:

Numerical aspects of an algorithm for the Eulerian simulation of two-phase flows, Numerical aspects of an algorithm for the Eulerian simulation of two-phase flows, Vol. 43, Issue 10--11, pp. 1177 -- 1198, 2003

I tried it some time ago when I started working on the multi-fluid code, and abandoned it, since it did not lead to significant improvements for what I need.

If your problem is specifying appropriate wall boundary conditions, you can do that either using p or p_rgh.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 3, 2010, 22:39
Default
  #46
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Thank you for the information. I am going to read it. Chiven
chiven is offline   Reply With Quote

Old   December 5, 2011, 15:52
Default
  #47
New Member
 
Prashant Gupta
Join Date: Mar 2011
Location: Edinburgh
Posts: 29
Rep Power: 15
Prash is on a distinguished road
Dear People,

I have a small doubt over the boundary and initial conditions.
I am not quite sure about why do we need to specify both Ub and p at both inlet and outlet and the walls. My understanding is , we would not quite need pressure at the walls. at all.

I hope this makes sense

Best wishes
Prashant
Prash is offline   Reply With Quote

Old   December 6, 2011, 11:58
Default
  #48
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by Prash View Post
Dear People,

I have a small doubt over the boundary and initial conditions.
I am not quite sure about why do we need to specify both Ub and p at both inlet and outlet and the walls. My understanding is , we would not quite need pressure at the walls. at all.

I hope this makes sense

Best wishes
Prashant
You do not specify a value of Ub and p at the same boundary. Typically if you specify Ub, you use a zeroGradient condition for p, and viceversa. At walls a condition for p is typically zeroGradient.

You need a condition on each variable, or you would not be able to define the value of the variable on the boundary itself (in some cases you could actually extrapolate, but still you need to specify you want that).

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   January 24, 2012, 10:29
Default Multiphase solid-gas
  #49
Senior Member
 
Join Date: May 2011
Posts: 231
Rep Power: 16
Kanarya is on a distinguished road
hi,

I would like to simulate circulating fertilized bed in OpenFoam...I am new in it.Could somebody tell me which solvers are available for this.

thanks in advance

Recep
Kanarya is offline   Reply With Quote

Old   August 1, 2015, 23:51
Default Porous Media
  #50
Member
 
Vinícius da Costa Ávila
Join Date: Jul 2015
Location: Porto Alegre, Brazil
Posts: 62
Rep Power: 11
avila.vc is on a distinguished road
Hi.

I am trying to add a porous media to twoPhaseEulerFoam, I am confused about how to deal with the velocity equation. Can anyone give me a hint on how to modify UEqn file from twoPhaseEulerFoam?
__________________
Vinícius dC.A.
avila.vc is offline   Reply With Quote

Old   September 28, 2015, 12:39
Default
  #51
New Member
 
Laurien Vandewalle
Join Date: Jun 2013
Location: Ghent, Belgium
Posts: 29
Rep Power: 13
lavdwall is on a distinguished road
Hi there!

I was wondering if there is a complete manual/documentation of the twoPhaseEulerFoam solver as it is programmed in OpenFOAM version 2.4.0? Thanks in advance

Kind regards,
Laurien
lourencosm likes this.
lavdwall is offline   Reply With Quote

Old   May 28, 2016, 13:08
Default
  #52
New Member
 
cesarvenier's Avatar
 
Cesar M. Venier
Join Date: Feb 2013
Location: Santa Fe, Santa Fe, Argentina
Posts: 5
Rep Power: 13
cesarvenier is on a distinguished road
Hi, Laurien

I don't think there is a "complete" documentation out there. Maybe you can look at this instead:

https://drive.google.com/file/d/0B2l...ew?usp=sharing

http://powerlab.fsb.hr/ped/kturbo/Op...chePhD2002.pdf

and then:

http://www.sciencedirect.com/science...32591011003652

http://www.sciencedirect.com/science...45793016301438

Hope it helps!
__________________
Cesar M. Venier, M.Eng.
Research Center for Computational Methods (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
cesarvenier is offline   Reply With Quote

Old   November 1, 2017, 11:25
Default
  #53
us7
New Member
 
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10
us7 is on a distinguished road
Quote:
Originally Posted by xiao View Post
hmm... you are right. Indeed, the two-fluid (gas/liquid) problem and the porous media problem is different since in the two-fluid problem, both phase can have pressure, while for the porous media problem, on the fluid can have pressure. This issue is very tricky. I need to think more about it.
Hi Xiao,

I have very quick question related to twoPhaseEulerFoam. I am also working on porous media using twoPhaseEulerFoam with combination of Darcy(source). I have question related to pressure term.

This solver has pressure term which should be for each phase I guess. Can you give some hint how is it solving pressure?
Is it separate for each phase like Pa and Pb? Or its mixer pressure or average pressure? The reason of this question is that i want to add capillary pressure for porous media. Please correct if my way of asking is not correct.

Regards,
Umer
us7 is offline   Reply With Quote

Old   April 8, 2020, 14:48
Default Does twoPhaseEulerFoam work for a liquid-solid system?
  #54
Member
 
Min Zhang
Join Date: Mar 2017
Posts: 81
Rep Power: 9
minzhang is on a distinguished road
Hello Paul,

I am wondering whether you worked your problem out at the end, and whether you could direct me to your papers/thesis for reference.

Here, I want to use twoPhaseEulerFoam to simulate a solid/liquid slurry transport in long horizontal pipes like in this reference.
Yang, Yan, Haoping Peng, and Chuang Wen. "Sand transport and deposition behaviour in subsea pipelines for flow assurance." Energies 12.21 (2019): 4070.

Your valuable comments would be greatly appreciated!

Thanks!
Min









Quote:
Originally Posted by paul View Post
Alberto,

I'm having problems with the particle-particle magnitude force (PPMagf) equation, which is in the alphaEqn.H file.

I am very new with this software as well as this type of fluid dynamics. I'm using the bed example and changing it to a liquid-solid settling model. When I include the packing limiter I get a Floating exception error (I'm assuming a division by zero). When I turn the packing limiter off the solids fraction rises above the packing limit and in some other locations I also get a negative solids fraction.

Do you have any suggestions?

Thank you,
Paul
minzhang is offline   Reply With Quote

Reply


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
TwoPhaseEulerFoam sara OpenFOAM Running, Solving & CFD 2 November 6, 2008 20:26
Bug in twoPhaseEulerFoam alberto OpenFOAM Bugs 2 May 20, 2008 22:25
TwoPhaseEulerFoam Bug alondono OpenFOAM Bugs 1 February 19, 2008 21:01
Bug in twoPhaseEulerFoam wallfunctions alberto OpenFOAM Bugs 1 February 9, 2007 15:15
TwoPhaseEulerFoam newbee OpenFOAM 0 March 27, 2006 09:41


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