CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how to display elevation on the free surface

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2013, 03:58
Default how to display elevation on the free surface
  #1
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18
yejungong is on a distinguished road
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

yejungong is offline   Reply With Quote

Old   August 6, 2013, 04:21
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Yejun,

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

Best,

Pablo
Richal Sun likes this.
Phicau is offline   Reply With Quote

Old   August 6, 2013, 06:20
Default
  #3
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18
yejungong is on a distinguished road
Thank you, Pable.

It is really a easy and smart solution.

Best regards,
Yejun
yejungong is offline   Reply With Quote

Old   August 6, 2013, 09:45
Default
  #4
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
You can also use the "Elevation" filter and tell it to colour along the axis or line of your choosing.
Artur is offline   Reply With Quote

Reply

Tags
elevation, paraview, waves2foam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to monitor free surface elevation vs time in OF? ozgur OpenFOAM Post-Processing 56 September 14, 2015 09:11
2 phase flow, free surface instability issues Doginal CFX 29 September 19, 2012 19:37
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 05:31
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 08:43
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 19:13


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