|
[Sponsors] |
December 16, 2010, 06:32 |
groovyBC for coupling of patches
|
#1 |
Member
Nico T
Join Date: Aug 2010
Location: Leipzig, Germany
Posts: 39
Rep Power: 15 |
Hello,
I would like to use groovyBC for a periodic inlet/outlet. I tried the tutorial 4.2.3 on http://openfoamwiki.net/index.php/Contrib_groovyBC. In 0/U phi is taken into account and not U directly. So, I modified the BC to: Code:
inlet { type groovyBC; variables "Uoutlet@outlet=-1*sum(U);"; valueExpression "Uoutlet/sum(mag(Sf()))*normal()"; fractionExpression "1" value $internalField; } outlet { type zeroGradient; } I guess there's something wrong concerning the definition of U=vector and phi. What do I have to change to get the bc running? Thanks for your help, Nico |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 07:56 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 08:00 |
[blockMesh] Merging edge patches | Yosmcer | OpenFOAM Meshing & Mesh Conversion | 11 | November 16, 2014 14:51 |
Cyclic boundaries in OF 21x | morard | OpenFOAM | 25 | May 13, 2013 22:35 |
[swak4Foam] some questions about neibours of patches in groovyBC | immortality | OpenFOAM Community Contributions | 7 | March 3, 2013 11:38 |