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

twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2021, 05:42
Cool twoPhaseEulerFoam
  #1
New Member
 
Mahdi
Join Date: May 2020
Posts: 10
Rep Power: 5
M.Davoodi is on a distinguished road
Hi guys,

I have been trying to make sense of the definition of relative velocity in the twoPhaseEulerFoam solver and am really confused. Can some one explain what is happening in the code below? Kd is the drag coefficient but why D1*U2 or D2*U1 comes to the equation? also the definition of relative velocity is a bit confusing....
Can someone direct me toward the mathematical definition of these equation? I cannot make sense of them at all....



volScalarField D1(rAU1*Kd); //what is happening here?
volScalarField D2(rAU2*Kd);

U = alpha1*(Us1 + D1*U2) + alpha2*(Us2 + D2*U1);
volVectorField Ur(((1 - D2)*Us1 - (1 - D1)*Us2)/(1 - D1*D2));

U1 = U + alpha2*Ur;
U1.correctBoundaryConditions();
fvOptions.correct(U1);

U2 = U - alpha1*Ur;
U2.correctBoundaryConditions();
fvOptions.correct(U2);

U = fluid.U();
M.Davoodi 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: sudden crash hcen OpenFOAM Running, Solving & CFD 18 September 29, 2020 03:04
twoPhaseEulerFoam validation OpenFOAM 4.1 jiejie OpenFOAM Running, Solving & CFD 4 April 20, 2019 03:06
twoPhaseEulerFoam fluidized bed wrong results FabianB OpenFOAM Running, Solving & CFD 0 June 14, 2017 03:48
Is twoPhaseEulerFoam applicable to 3D cases / delivering erroneous results? ThomasV OpenFOAM 0 November 11, 2013 08:10
twoPhaseEulerFoam freemankofi OpenFOAM 0 May 23, 2011 16:24


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