|
[Sponsors] |
April 26, 2010, 03:50 |
Cosinusoidal free-surface
|
#1 |
Senior Member
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
Hi, i'd like to set up the initial values of "alpha1" to design a cosinusoidal free surface (not a straight line but following a specified function). I attach a image file: the green line is the function
y = 0.05*cos(x/.1)+.3 over the damBreak mesh points. How can i set up this type of free surface?? Image file: http://dl.dropbox.com/u/3617688/freesurface.jpeg Thanks in advance Emanuele |
|
April 26, 2010, 05:39 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi Emanuele
I would suggest that you take a look on funkySetFields. Here you should be able to set more general void fractions than with setFields. Here is a link to the wiki: http://openfoamwiki.net/index.php/Co...funkySetFields Have fun, Niels |
|
April 27, 2010, 07:03 |
|
#3 |
Senior Member
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
thanks for the tip!! It works
PS I'd like to have for each cell the fraction alpha in order to initiate the simulation with a continuous interface (without steps on the interface). I imagine it's not easy to program for a general case, I've already made it for rectangle and sphere but it would be better if associated with funkySetFields. Last edited by nuovodna; April 27, 2010 at 11:49. |
|
Tags |
free surface, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
CFX 4.4 New free surface option | Viatcheslav Anissimov | CFX | 0 | April 3, 2002 07:27 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |
gravitational force for free surface flow | Jongtae Kim | Main CFD Forum | 1 | July 2, 2000 12:57 |
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin | Kaushik | FLUENT | 1 | May 8, 2000 07:47 |