|
[Sponsors] |
October 6, 2012, 05:44 |
how to observe the wave surface?
|
#1 |
New Member
Join Date: Mar 2012
Posts: 20
Rep Power: 14 |
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. |
|
October 9, 2012, 13:35 |
|
#2 |
Senior Member
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
At t=0, there is no zeta field present so try skipping to t>0 and look at the available variables.
Cheers, Kevin |
|
October 14, 2012, 01:19 |
|
#3 |
New Member
Join Date: Mar 2012
Posts: 20
Rep Power: 14 |
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?
|
|
October 14, 2012, 15:29 |
|
#4 |
Senior Member
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
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. |
|
October 15, 2012, 03:40 |
|
#5 |
New Member
Join Date: Mar 2012
Posts: 20
Rep Power: 14 |
Thank you.
It is Ok now. |
|
Tags |
wave surface |
|
|
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 |