potentialFreeSurfaceFoam extract zeta
I am trying to extract the free surface elevation from the oscillatingBox tutorial which uses potentialFreeSurfaceFoam.
I added the following probes to my controlDict
Do I have to include another option for extracting zeta or is there a better way?
I first tried to use libfieldFunctionObjects.so but I could not get non averaged values.
Thanks for any suggestions.
Sorry for digging this up, but I'm currently stuck with a similar problem.
I'd like to extract zeta that is calculated with potentialFreeSurfaceFoam. When I plot zeta in paraView (so far I haven't used sampleDict), I can see the values (for example on the wireframe) for zeta. But as soon as I try for example Plot over Line or the view in the Spreadsheet, the values for zeta are all zero. Does anyone know why? I'd really appreciate some help.
This post is quite old, but perhaps if you still want to know... The reason your sample line shows zero is that the "zeta" values are present only in the boundary face "free surface", and the "sample line" function in Paraview will try to interpolate the values in the cells.
If you want to see the surface deformation in Paraview, use the filter "Wrap by vector", select "zeta" as your variable and set a high value for the scale factor, such as 1000.
|All times are GMT -4. The time now is 17:14.|