CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   twoPhaseEulerFoam add dragModel (https://www.cfd-online.com/Forums/openfoam-programming-development/157188-twophaseeulerfoam-add-dragmodel.html)

zanilu70 July 22, 2015 08:22

twoPhaseEulerFoam add dragModel
 
Hi All

I have to admit that I am quite a newbie with OpenFoam. I am trying to implement the Grace drag model in twoPhaseEulerFoam.
To do so I have to get access, from within the subroutine to the values or the surface tension sigma and the magnitude of gravity in a form that allows me to compute effectively the CdRe with operations involving the Re, Eo and Mo volScalrField provided by the pair_ variables.
Can anyone of you give me some clue about it? Or point me toward documentation explaining how to get access to those variables?

Thank you in advance.


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