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

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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

 


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 10:22.