CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Paraview & paraFoam (
-   -   Paraview different phase with different color (

liguifan March 14, 2013 23:37

Paraview different phase with different color
Good evening,

Does anyone know how to view the different phase( water and oil ) in paraview.

In dambreak4phase, I can see they are colored differently, however, after I create my own code to simulate a droplet into the water, I found that the oil droplet is quite same as the water base color.

Can anyone tell me how to adjust the color so that I can view the spread of oil on the water?


liguifan March 15, 2013 02:34

To be more precise, I want to view these two phase in different colors.

When I want to exclude the air( so that I can see the droplet inside), I need to use contour or threshold by changing the parameter for the upper threshold or lower threshold. But the results are not really what I want.

Just want to know how does the paraview define the color, i.e. How do set the colors of these phase and is there any other way to with how the droplet fall into the water? (by making air transparent?)

All times are GMT -4. The time now is 16:46.