|
[Sponsors] |
December 12, 2013, 11:51 |
Access the surface tension force at a patch
|
#1 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
I am constructing a boundary condition to go with interFoam which will allow me to set the pressure at a boundary patch depending on the value of alpha. In particular, I want the pressure to have the form
Code:
p = p0 + alpha1*p1 In order to do this I need to lookup the value of the surface tension force in the cells connecting to the patch and this is where I get stuck. I know how to lookup transportProperties or access data in U, p_rgh and alpha1 in the 0 directory, but I don't know how to access the surface tension force or, equivalently, the values of interface.sigmaK() and alpha1 (which would allow me to calculate the surface tension force). Can someone tell me how I would go about doing this? |
|
December 13, 2013, 04:50 |
|
#2 |
New Member
Join Date: Nov 2013
Posts: 20
Rep Power: 12 |
Just found out how to do that yesterday
Depending on what exactly you need (volumeField at adjacent cells, surfaceField on the patch etc) you can find some useful information here: http://www.cfd-online.com/Forums/ope...ces-patch.html http://www.cfd-online.com/Forums/ope...ary-cells.html http://www.cfd-online.com/Forums/ope...ion-class.html |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Meshing & Mesh Conversion | 48 | January 25, 2013 04:28 |
chtMultiRegionFoam Tutorial | m.nichols19 | OpenFOAM | 12 | September 9, 2010 12:56 |
Surface tension - Continuum Surface Force model | Robert | Main CFD Forum | 0 | May 2, 2002 08:34 |
surface tension force | Ray | Main CFD Forum | 0 | October 17, 2001 16:42 |
gravitational force for free surface flow | Jongtae Kim | Main CFD Forum | 1 | July 2, 2000 12:57 |