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

BubbleFoam alpha equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2005, 06:48
Default Hello, I have a question on t
  #1
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
Hello,
I have a question on the implementation of the eulerian model in bubbleFoam.

Why the alpha equation has been implemented as:

fvScalarMatrix alphaEqn
(
fvm::ddt(alpha)
+ fvm::div(phi, alpha, scheme)
+ fvm::div(-fvc::flux(-phir, beta, scheme), alpha, scheme)
);

and not as

fvScalarMatrix alphaEqn
(
fvm::ddt(alpha)
+ fvm::div(phia, alpha, scheme)
);

Best regards,
Alberto
__________________
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   June 23, 2005, 06:51
Default To maintain boundedness of alp
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
To maintain boundedness of alpha at the 1 limit as well as the 0 limit.
henry is offline   Reply With Quote

Old   June 23, 2005, 08:27
Default Thank you Henry. Alberto
  #3
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
Thank you Henry.

Alberto
__________________
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   August 24, 2005, 03:55
Default Could anyone explain the deffe
  #4
New Member
 
Sang Yong Lee
Join Date: Mar 2009
Posts: 4
Rep Power: 17
sanglee is on a distinguished road
Could anyone explain the defference between,
fvm::ddt(rho,e), and rho*fvm::ddt(e) ?
sanglee is offline   Reply With Quote

Old   August 24, 2005, 04:16
Default Does rho vary with time?
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Does rho vary with time?
henry is offline   Reply With Quote

Old   August 24, 2005, 04:38
Default Yes, rho varies with time.
  #6
New Member
 
Sang Yong Lee
Join Date: Mar 2009
Posts: 4
Rep Power: 17
sanglee is on a distinguished road
Yes, rho varies with time.
sanglee is offline   Reply With Quote

Old   August 24, 2005, 04:46
Default In that case they are clearly
  #7
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
In that case they are clearly different, the first is the rate of change of rho*e and the second is rho* the rate of change of e, wasn't that obvious?
henry is offline   Reply With Quote

Old   August 24, 2005, 05:13
Default Yes, it is obvious. Could you
  #8
New Member
 
Sang Yong Lee
Join Date: Mar 2009
Posts: 4
Rep Power: 17
sanglee is on a distinguished road
Yes, it is obvious.
Could you tell me the correct expression among the following ones;

fvm::ddt(rho,e)=( (rho)^^(n+1)*e^^(n+1) - (rho)^^n*e^^n )/dt or
fvm::ddt(rho,e)=( (rho)^^n*e^^(n+1) - (rho)^^n*e^^n )/dt

Or, if both are not correct, give me correct one please .
Thank you
sanglee is offline   Reply With Quote

Old   August 24, 2005, 05:20
Default The first expression correspon
  #9
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
The first expression corresponds to an Euler-implicit discretisation of fvm::ddt(rho,e) and the second is clearly equivalent to an Euler-implicit discretisation of rho*fvm::ddt(e).

If you need to know these details you should look at the source code, it is all there ready and waiting for you, all you have to do is load it into an editor. The files you need to look at for implicit temporal discretisation are all in OpenFOAM-1.2/src/OpenFOAM/finiteVolume/ddtSchemes.
henry is offline   Reply With Quote

Old   September 21, 2005, 02:33
Default Dr. Weller I am trying to imp
  #10
New Member
 
Sang Yong Lee
Join Date: Mar 2009
Posts: 4
Rep Power: 17
sanglee is on a distinguished road
Dr. Weller
I am trying to implement energy equation in bubbleFoam. I have problems with the disapprearing phases. As I reviewed your technical report, TR/HGW/02, Derivation...., I got an idea that your phase intensive momentum equation approach might help me. Could you give me some comments on using phase intensive energy equation instead of using the energy equation in conservative form.
sanglee 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
Difference between bubblefoam and twophaseeulerfoam ebaerow OpenFOAM Running, Solving & CFD 3 March 14, 2009 07:55
KEpsilon in bubbleFoam and twoPhaseEulerFoam vkaufmann OpenFOAM Running, Solving & CFD 0 November 5, 2008 09:25
Lift force modeling in bubbleFoam holger_marschall OpenFOAM Running, Solving & CFD 2 December 10, 2007 16:24
CVMcoefficient in bubblefoam stephan OpenFOAM Running, Solving & CFD 4 December 19, 2006 02:48
Multiphase flow in bubbleFoam case brahim OpenFOAM Running, Solving & CFD 2 July 25, 2005 15:07


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