|
[Sponsors] |
April 28, 2010, 09:48 |
wave pattern surface of floating object
|
#1 |
New Member
Sören
Join Date: Oct 2009
Location: Bremen, Germany
Posts: 15
Rep Power: 17 |
hello,
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) |
|
April 29, 2010, 12:06 |
|
#2 |
New Member
Gonzalo Tampier
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 9
Rep Power: 17 |
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! |
|
June 19, 2010, 01:46 |
|
#3 | |
Member
Ovie Doro
Join Date: Jul 2009
Posts: 99
Rep Power: 17 |
Quote:
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? Thanks |
||
June 19, 2010, 14:10 |
|
#4 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
a)Run ParaFOAM 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: http://www.cfd-online.com/Forums/ope...e-pattern.html Best regards, Stephane. |
|
June 19, 2010, 16:11 |
|
#5 |
Member
Ovie Doro
Join Date: Jul 2009
Posts: 99
Rep Power: 17 |
Great! Many thanks for the information. Would try this.
ovie. |
|
August 30, 2010, 10:19 |
|
#6 |
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 16 |
Thanks for the explanation; I've been busy with finding out how to visualize the FS for more than 2 days!
|
|
June 29, 2011, 09:34 |
OpenFOAM-2.0.x with the run-time post-processing capabilities
|
#7 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Dear OF-users
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. Regards, Stephane |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scaling up a wave energy converter - free surface flow | mark_l | CFX | 3 | February 17, 2010 17:57 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
Free surface wave pattern generation | sam | FLUENT | 1 | January 2, 2004 17:12 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |