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

[swak4Foam] groovyBC and mesh motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2015, 09:31
Default groovyBC and mesh motion
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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;
At least I apply 0.1 m/s in y-direction (component laplacian method) but the interior mesh is not moving.

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
Tobi is offline   Reply With Quote

Old   November 27, 2015, 06:15
Default overall mesh motion with groovyBC
  #2
Member
 
Antonio Liggieri
Join Date: Aug 2010
Posts: 76
Rep Power: 14
alfa_8C is an unknown quantity at this point
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
Attached Images
File Type: jpg picture01.jpg (144.9 KB, 44 views)

Last edited by alfa_8C; November 30, 2015 at 07:01.
alfa_8C 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
[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


All times are GMT -4. The time now is 07:10.