CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] How to get density color plot in twoPhaseEulerFoam (https://www.cfd-online.com/Forums/paraview/61302-how-get-density-color-plot-twophaseeulerfoam.html)

ploceus January 5, 2006 03:25

How to get density color plot in twoPhaseEulerFoam
 
Hi.
I have a question about postprocessing twoPhaseEulerFoam.

I want to look at density color plots but the only variables are alpha, epsilon, k, p, Theta, Ua and Ub. Is there a way to see
density profile?

Regards,

niklas January 5, 2006 08:22

Currently no. You need to a
 
Currently no.

You need to add that to the code if you want it.
However, each phase has a constant density so it would look exactly the same as the alpha field (if you calculated the density by linear interpolation)
But with a different value.

Bodo1993 February 19, 2020 14:38

Hi,

I am using twoLiquidMixingFoam, where the density and viscosity are functions of concentration.

I am wondering how would I display the density and viscosity fields in paraview. In other words, how to write the code to do that.

Thanks.


All times are GMT -4. The time now is 00:41.