wave pattern surface of floating object
I'm currently trying to simulate the flow arround an object in an air-liquid case.
My aim is getting the wave pattern.
At first I build a box with blockMesh and insert my test-hull with snappyHexMesh.
Then I use setFields to set the liquid and the air phase.
Finally I use interFoam to do the simulation.
Using paraFoam I get some results (I think my boundary conditions are wrong) but the case is running stable and I see something flowing on the hull so I will change them later.
My question: how can I build/get a wavepattern surface ?
(I am using OF 1.6)
Don't know if I did understand what you mean. If you mean how to visualize it, your question belongs actually to the post-processing forum..
In paraview/paraFoam it's very easy. E.g.:
- contour -> select alpha=0.5
- calculator -> coordsZ (from the "scalars" button)
..and you have a nice wave elevation plot!
I tried to follow those steps, but they are not so clear to me. Could you please be more specific on the steps to follow to plot the free surface elevation?
b)From the tab "properties" I select all the regions, the "updateGUI" check-box and the variables alpha1,p and U.
c)Apply "Contours" filter and set 0.5 for the alpha1 variable. In this way you have selected your free surface.
d)Apply "Calculator" filter with "Attribute Mode" selected on "Point Data". Then create a function on the scalar coordsZ.
e)Move on the "Display" tab and color by the field you have just created using the Calculator. Reset the color legend.
Depending the OF-version you use alpha1=gamma.
Or read the following thread:
Great! Many thanks for the information. Would try this.
Thanks for the explanation; I've been busy with finding out how to visualize the FS for more than 2 days!
OpenFOAM-2.0.x with the run-time post-processing capabilities
I'm using OpenFOAM-2.0.x with the run-time post-processing capabilities.
I would like to know where to find information to write correctly the system/isoSurface file (alpha1=0.5) ?
The motorbike tutorial has a good example but with system/cuttingPlane file.
|All times are GMT -4. The time now is 02:43.|