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

how to display elevation on the free surface

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 6, 2013, 02:58
Default how to display elevation on the free surface
  #1
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 20
Rep Power: 9
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, 03:21
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Posts: 237
Rep Power: 7
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
Phicau is offline   Reply With Quote

Old   August 6, 2013, 05:20
Default
  #3
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 20
Rep Power: 9
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, 08:45
Default
  #4
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 226
Rep Power: 6
Artur is on a distinguished road
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

Thread Tools
Display Modes

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 On
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 55 October 31, 2013 10:33
2 phase flow, free surface instability issues Doginal CFX 29 September 19, 2012 18:37
Layers don't fully surround surface EVBUCF OpenFOAM Native Meshers: snappyHexMesh and Others 14 August 20, 2012 04:31
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 07:43
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 18:13


All times are GMT -4. The time now is 07:40.