|
[Sponsors] |
July 30, 2009, 22:43 |
VOF+dambreak problem
|
#1 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Hi there,
I was looking at the dambreak problem which is solved an example to demonstrate the VOF method. In that example the function gamma is given to be either 1 or 0 for a water column. The watercolumn is defined in a rectangular region (0.146.. 0.292,0) and a function boxtocell is used. I would like like to know if this so called water column instead of being a rectangular cross section is a circular shape . How do I prescribe the gamma function?...... Thanks Ramesh |
|
July 31, 2009, 03:27 |
|
#2 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Dear Ramesh.
I suggest you try to use the tool funkySetFields: http://openfoamwiki.net/index.php/Co...funkySetFields There is even an example how to set up a circular gamma field! Sebastian.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
July 31, 2009, 11:10 |
|
#3 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Thanks a lot . I downloaded the package .tar.gz and untarred it. How do I compile it. I tried to use ./Allwmake .... it says permission denied.
|
|
July 31, 2009, 11:32 |
|
#4 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
I'm definitely not an expert in linux stuff, but maybe you can try to run the ./Allwmake skript as root?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
July 31, 2009, 11:40 |
|
#5 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
try putting the tar file somewhere in your own account, for instance in $FOAM_USER_APPBIN or something similar. Then extract it and hit wmake. That should do the trick.
|
|
July 31, 2009, 14:39 |
|
#6 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Thanks a lot . It worked. !!!!!.
Sebastian, do you have any example problem done using funkySetFields?. if so could you please let me know. In the dam break problem the gamma field is set in setFieldsDict. How do I set the gamma function with funkySetFields?. What I mean to ask is should I have a file named "funkySetFieldsDict" where I can set the gamma function? Thanks Ramesh |
|
July 31, 2009, 15:51 |
|
#7 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
I have never used a dictionary as you can specify everything from the command line.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
July 31, 2009, 17:54 |
|
#8 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Hi Thanks . I tried to initialise the gamma field for the dambreak problem and used the same command as you do in the tutorial. It gives me an error
Wrong number of arguments, expected 0 found 2 Foam exiting One more thing. what should I do with the setFieldsDict?.... in the dam break problem should I just delete it and initialise both the velocity and the gamma field from the command prompt? |
|
August 1, 2009, 04:12 |
|
#9 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Please don't use the two dots (. .).
These arguments are relicts from version 1.4.1 of OpenFOAM.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two-phase VOF problem | scott copland | FLUENT | 3 | March 15, 2007 08:25 |
Free CFD solver for VOF problem | Jan | Main CFD Forum | 1 | October 30, 2006 11:15 |
Problem with VOF open channel modelling | Biswanath Mahato | FLUENT | 1 | September 14, 2006 05:20 |
A Problem with setting the time step in VOF model | Le | FLUENT | 2 | July 20, 2006 23:00 |
problem with VOF. | Marc | FLUENT | 1 | June 5, 2002 09:17 |