|
[Sponsors] |
March 20, 2015, 09:31 |
groovyBC and mesh motion
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi all (dear Bernhard),
I try to use groovyBC with dynamicMesh in the pointMotionU file but I get a problem. The boundary condition itself is working but if I apply groovy I have no mesh smoothing with the laplacian solver anymore. Means my points at the surface are moved but the internal mesh is not smoothed anymore. Here is some simple BC: Code:
movingWall { type groovyBC; // value uniform 0.1; //groovyBC; variables ( "v=(time() < 60 ? 0.1 : 0);" ); fractionExpression "1"; gradientExpression "0"; // valueExpression "toPoint(v)"; valueExpression "toPoint(0.1)"; value uniform 0.1; Additionally, - only as a question - why is groovy outputing the weighting factors and points which are used for interpolation? Any reason, or was that for debugging? If there is a solution please let me know. At the moment I switched to the codedFixedValue (where everything is working fine).
__________________
Keep foaming, Tobias Holzmann |
|
November 27, 2015, 06:15 |
overall mesh motion with groovyBC
|
#2 |
Member
Antonio Liggieri
Join Date: Aug 2010
Posts: 76
Rep Power: 14 |
Hi,
I am experiencing a similar problem. When I apply a constant velocity for mesh motion normal to the Z axis in my pointMotionUz file, and a slip BC to all walls parallel to the Z axis, the mesh is moved incrementally over all cells over Z, which is right. As soon as I run the same case, but by applying a groovyBC instead of a constant value, only the cell layer ist stretched, which is in contact with the face set defined with the groovyBC expression (see picture). Is there any solution for this? Thanks in advance for your effort. Problem solved: http://www.cfd-online.com/Forums/ope...-groovybc.html Last edited by alfa_8C; November 30, 2015 at 07:01. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC | zanilu70 | OpenFOAM Community Contributions | 4 | December 13, 2016 06:46 |
[swak4Foam] groovyBC issue - k and epsilon | sagnikmazumdar | OpenFOAM Community Contributions | 24 | March 1, 2015 07:16 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
[swak4Foam] Problem with fully developed velocity profile groovyBC in 2D axi-sym mesh | harshad88 | OpenFOAM Community Contributions | 7 | July 24, 2014 14:28 |
[swak4Foam] Running pimpleDyMFoam with groovyBC | lexmatt | OpenFOAM Community Contributions | 2 | August 16, 2013 15:08 |