CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

wave pattern surface of floating object

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2010, 08:48
Default wave pattern surface of floating object
  #1
New Member
 
Sören
Join Date: Oct 2009
Location: Bremen, Germany
Posts: 15
Rep Power: 16
soeren87 is on a distinguished road
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)
soeren87 is offline   Reply With Quote

Old   April 29, 2010, 11:06
Default
  #2
New Member
 
Gonzalo Tampier
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 9
Rep Power: 17
gtampier is on a distinguished road
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!
gtampier is offline   Reply With Quote

Old   June 19, 2010, 00:46
Default
  #3
Member
 
Ovie Doro
Join Date: Jul 2009
Posts: 99
Rep Power: 16
ovie is on a distinguished road
Quote:
Originally Posted by gtampier View Post
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!
Hi,

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
ovie is offline   Reply With Quote

Old   June 19, 2010, 13:10
Default
  #4
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
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.
openfoam_user is offline   Reply With Quote

Old   June 19, 2010, 15:11
Default
  #5
Member
 
Ovie Doro
Join Date: Jul 2009
Posts: 99
Rep Power: 16
ovie is on a distinguished road
Great! Many thanks for the information. Would try this.

ovie.
ovie is offline   Reply With Quote

Old   August 30, 2010, 09:19
Default
  #6
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Thanks for the explanation; I've been busy with finding out how to visualize the FS for more than 2 days!
Ralph M is offline   Reply With Quote

Old   June 29, 2011, 08:34
Default 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
openfoam_user is on a distinguished road
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
openfoam_user is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 16:57
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 16:12
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 11:20.