VOF+dambreak problem
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 |
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. |
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.
|
I'm definitely not an expert in linux stuff, but maybe you can try to run the ./Allwmake skript as root?
|
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.
|
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 |
Quote:
I have never used a dictionary as you can specify everything from the command line. |
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? |
Please don't use the two dots (. .).
These arguments are relicts from version 1.4.1 of OpenFOAM. |
All times are GMT -4. The time now is 00:24. |