CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to display elevation on the free surface (http://www.cfd-online.com/Forums/openfoam-solving/121821-how-display-elevation-free-surface.html)

yejungong August 6, 2013 02:58

how to display elevation on the free surface
 
Hello,

I am using waves2foam toolbox, and want to visualize my results as below from http://openfoamwiki.net/index.php/Contrib/waves2Foam.

The contour plot is ploted at alpha1=0.5. But how I color it by the elevation?

Regards,
Yejun

http://openfoamwiki.net/images/2/2c/...mWaveField.png

Phicau August 6, 2013 03:21

Hi Yejun,

you can apply a Calculator filter on the contour and select the Z Coordinate (scalar group).

Best,

Pablo

yejungong August 6, 2013 05:20

Thank you, Pable.

It is really a easy and smart solution.

Best regards,
Yejun

Artur August 6, 2013 08:45

You can also use the "Elevation" filter and tell it to colour along the axis or line of your choosing.


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