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/)
-   -   Implementing Gravitational Acceleration in dragModels of multiphaseEulerFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/164813-implementing-gravitational-acceleration-dragmodels-multiphaseeulerfoam.html)

kkeule January 2, 2016 20:39

Implementing Gravitational Acceleration in dragModels of multiphaseEulerFoam
 
Hi all,

i'm currently doing a student research project with OpenFOAM and the multiphaseEulerFoam solver. My Job is, among others, to implement some new drag models in this solver.

Some drag models (e.g. the Ishii-Zuber model) require the Eotvos Number, which requires the Gravitational Acceleration, which is provided in the constant directory.

Does anybody know, how I implement the gravitational acceleration into the drag models of multiphaseEulerFoam?

I'm pretty new to OpenFOAM and C++, so my question might seem a little stupid, but i'm desperately searching for a solution.

Thanks in Advance and best regards

Christoph


All times are GMT -4. The time now is 06:13.