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

groovyBC and mesh motion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2015, 10:31
Default groovyBC and mesh motion
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,089
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
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).
__________________
Best regards,
Tobias Holzmann

Some interesting OpenFOAM tutorials and videos on www.Holzmann-cfd.de
Tobi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Running, Solving & CFD 24 March 1, 2015 08:16
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff swahono OpenFOAM Running, Solving & CFD 8 February 26, 2015 05:30
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
Problem with fully developed velocity profile groovyBC in 2D axi-sym mesh harshad88 OpenFOAM Running, Solving & CFD 7 July 24, 2014 14:28
Running pimpleDyMFoam with groovyBC lexmatt OpenFOAM Running, Solving & CFD 2 August 16, 2013 15:08


All times are GMT -4. The time now is 01:15.