|
[Sponsors] |
September 20, 2022, 09:22 |
Another question on tracking free-surface!
|
#1 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
Hi Foamers,
I'm looking for some help to obtain the z-position of the water-air interface at a constant (x, y) position. I have been using interFOAM to simulate regular surface waves in a water-air multiphase simulation. I have 2D plane vtks saved from my simulation (see attached) and want to probe the centre location in paraview and plot the free surface height with time. I've tried using a contour filter at alpha=0.5, but I then can't seem to pull a z-position value at a given streamwise location. Any help would be appreciated. Cheers, Callum |
|
September 26, 2022, 08:31 |
|
#2 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
For the benefit of others, I wanted to share one solution to this issue in ParaView I found. I start with a 2D plane vtp.series file.
The filters I then applied are: 1) Contour for alpha at 0.5 2) I then use the "slice" filter on the Contour at the streamwise position I wish to evaluate wave height at. 3) To make easier viewing, I then run a "calculator" filter on the Contour and select coordsZ from the Scalar drop down menu. This will colour the Contour by wave height. 4) Equally, in a side plane, you can take a spreadsheet view and view the "slice" coordinates - Z coordinate indicating the wave elevation. 5) Finally, you could then use the "plot over time" filter on the slice to get the data through time, this filter can take a LONG time to process. I've attached a zip file with the ParaView state I used, if anyone has any questions/suggestions feel free to post below, and I'll keep an eye on it in the future! All the best, Callum Last edited by CallumG; September 26, 2022 at 08:34. Reason: Adding image |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 18:28 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
CFX convergence issues with free surface | adenlan | CFX | 3 | September 2, 2011 06:43 |
free surface display | carno | Siemens | 4 | October 7, 2005 01:03 |
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin | Kaushik | FLUENT | 1 | May 8, 2000 06:47 |