CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Drag in twoPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam-solving/159970-drag-twophaseeulerfoam.html)

lavdwall September 28, 2015 12:16

Drag in twoPhaseEulerFoam
 
Hi everyone!

I am looking deeper into the twoPhaseEulerFoam source code. In UEqns.H the following line can be found to include the drag force:

Code:

U1Eqn += fvm::Sp(dragCoeff, U1);
Is this correct? I would think that instead of the velocity U1, the relative velocity U1-U2 should be used here...

Kind regards,
Laurien

geth03 May 25, 2020 08:16

you should dig a little deeper,
i think it is implemented correctly,
how an argument is passed doesn't say anything about
the implementation of the function.
what is returned by the function is ultimately important.


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