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

solved: contact angle correction in interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2011, 21:49
Default
  #21
Member
 
Richard Kenny
Join Date: Mar 2009
Posts: 64
Rep Power: 18
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: 64
Rep Power: 18
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: 93
Rep Power: 17
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

Old   March 2, 2016, 13:43
Default
  #25
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi everyone;

I have been testing the "capillaryRise" test case that is available.
Using OF2.3.x and bc's similar to test case.
I would like to measure the flow length of the meniscus turning off the influence of 'g'.

I know one analytical solution which is the "Washburn equation (Wiki)" that gives the capillary rise over time but i observed quite a big difference between the computed flow length and analytical equation.
NOTE: Wiki discusses relation for a cylindrical channel but I changed the flow resistance to a rectangular channel.

https://en.wikipedia.org/wiki/Washbu...ion#Derivation

Is there an other analytical solution for this sort of case? If yes, could you please let me know regarding it.

Thanks;
Saideep
Saideep 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
Dynamic contact angle rmousavibt Fluent UDF and Scheme Programming 12 October 31, 2021 22:38
Slug Flow, interFoam, problems with Contact Angle PrzemekPL OpenFOAM Running, Solving & CFD 13 February 18, 2014 22:10
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 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 15:06.