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

how to observe the wave surface?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2012, 05:44
Default how to observe the wave surface?
  #1
New Member
 
Join Date: Mar 2012
Posts: 20
Rep Power: 14
T.Matrix is on a distinguished road
There is a new solver potentialFreeSurfaceFoam in OpenFOAM2.10. For simulation of some free surface flows, it also shows a 2D example of wave generation in "oscillatingBox". Following is the wave surface come from website:http://www.openfoam.org/version2.1.0...rface-flow.php.





However, when I finished this case, there are three fields, including p,p_rgh and U, displayed in my post-processing. Therefore, what should I do if I want to observe the wave surface.


Thank you.
T.Matrix is offline   Reply With Quote

Old   October 9, 2012, 13:35
Default
  #2
Senior Member
 
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17
kev4573 is on a distinguished road
At t=0, there is no zeta field present so try skipping to t>0 and look at the available variables.

Cheers,
Kevin
kev4573 is offline   Reply With Quote

Old   October 14, 2012, 01:19
Default
  #3
New Member
 
Join Date: Mar 2012
Posts: 20
Rep Power: 14
T.Matrix is on a distinguished road
Thanks. We can observe the available variables varying with time step. However, there are three variables including p,p_rgh and U, but no zeta field. Can you tell me how to add zeta field in the paraView?
T.Matrix is offline   Reply With Quote

Old   October 14, 2012, 15:29
Default
  #4
Senior Member
 
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17
kev4573 is on a distinguished road
If you are viewing the VTK files, you might have to open the boundary file 'VTK\freeSurface\*.vtk' to actually look at the zeta field.

If you are using the openfoam plugin, you need to add the zeta field to loaded sets. Enable 'skip zero time', and you should see it show up as an available set to load, enable it (and the freeSurface boundary data) and now you should be able to view the free surface contours.

If none of that works, make sure the zeta field itself is being written by the openfoam solver. Look in the solved time directories and you should see the 'zeta' file there.
kev4573 is offline   Reply With Quote

Old   October 15, 2012, 03:40
Default
  #5
New Member
 
Join Date: Mar 2012
Posts: 20
Rep Power: 14
T.Matrix is on a distinguished road
Thank you.

It is Ok now.
T.Matrix is offline   Reply With Quote

Reply

Tags
wave surface


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
[ICEM] Surface mesh not sticking to surface holtwong ANSYS Meshing & Geometry 2 April 20, 2023 09:28
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
How to plot the wave contour in ship flow (free surface) problem deddy1973 CFX 6 February 19, 2013 06:49
Free surface water wave profile John N. FLUENT 0 February 2, 2009 17:17
Which code to go for free surface wave modeling.. Ted Chu Main CFD Forum 7 December 29, 2008 16:42


All times are GMT -4. The time now is 17:50.