CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

solved: contact angle correction in interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2011, 21:49
Default
  #21
Member
 
Richard Kenny
Join Date: Mar 2009
Posts: 59
Rep Power: 9
richpaj is on a distinguished road
Quote:
Originally Posted by alfa_8C View Post
Hy,
I'm using interFoam in a relatively simple setup. I have a tank filled with water. The top of the tank is open to atmosphere. Close to the bottom the tank has an outlet into a large resevoir of water. The free surface level of the reservoir is at -1m. As far as I know the BC for the pressure at the outlet has to be set to 0, as no hydrostatic pressure has to be considered. BUT!!! How can I make the code understand, that my free surface level outside the domain is at -1m? This must be given for sure but I don't know where.
Could anybody give me a hint?
Thanks in advance, Tony
In createFields.H "g*h" is calculated at the cell and face centres so
that relative heights are automatically taken into consideration, assuming
that is you specify g correctly in the "constant" directory of your case folder.

I wonder if this is what you mean?

Regards,

Richard K.
richpaj is offline   Reply With Quote

Old   April 19, 2011, 21:57
Default
  #22
Member
 
Richard Kenny
Join Date: Mar 2009
Posts: 59
Rep Power: 9
richpaj is on a distinguished road
(with reference to Andrea's runtime error above)

I had a similar error message a while back (running OF1.6.x using openmpi ver. 1.2.8) but updating openmpi to version 1.4.1 seems to resolve the issue.
Perhaps it might work for you too,

Regards,

Richard K.
richpaj is offline   Reply With Quote

Old   April 20, 2011, 04:36
Default
  #23
Member
 
Duong A. Hoang
Join Date: Apr 2009
Location: Delft, Netherlands
Posts: 92
Rep Power: 8
duongquaphim is on a distinguished road
Send a message via Yahoo to duongquaphim
I don't know about OF1.7.1 but the git version 1.7.x works fine for parallel

Duong
duongquaphim is offline   Reply With Quote

Old   August 16, 2011, 08:33
Default
  #24
New Member
 
Stefan Mosler
Join Date: Aug 2011
Posts: 1
Rep Power: 0
Stefan42 is on a distinguished road
Hi Foamers,

I have the same problem as Andrea had.

Running my case in parallel with version 1.6. works fine. But with version 1.7.1 it doesn`t work in parallel. It works only on one processor.

Is there a fix for that? Or is it a problem with openmpi as richpaj said?

Found it and it works.

https://github.com/OpenCFD/OpenFOAM-...7bc8646e01526d

Thanks
Stefan

Last edited by Stefan42; August 25, 2011 at 04:19.
Stefan42 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic contact angle rmousavibt Fluent UDF and Scheme Programming 10 March 7, 2014 08:00
Slug Flow, interFoam, problems with Contact Angle PrzemekPL OpenFOAM Running, Solving & CFD 13 February 18, 2014 23:10
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
Implemening Slip bc and Dynamic contact angle in interFoam asaha OpenFOAM Running, Solving & CFD 2 July 29, 2010 15:49
Theoretical background of formula for dynamic contact angle in interfoam sebastian_vogl OpenFOAM Running, Solving & CFD 3 June 22, 2009 12:25


All times are GMT -4. The time now is 14:57.