CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Motion method of dynamic mesh

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

LinkBack Thread Tools Display Modes
Old   May 10, 2013, 12:18
Default Motion method of dynamic mesh
New Member
Join Date: Jul 2011
Posts: 3
Rep Power: 7
aegean333 is on a distinguished road
I want to set a box in a coarse mesh and only refine this part. This refinement box should be moving along z-axis with constant velocity. Which of the dynamicFvMesh methods can achieve? (e.g. dynamicRefineFvMesh, dynamicMotionSolverFvMesh, dynamicInkJetFvMesh, solidBodyMotionFvMesh… )
aegean333 is offline   Reply With Quote

Old   May 10, 2013, 12:28
Senior Member
Join Date: Jul 2010
Posts: 237
Rep Power: 9
fredo490 is on a distinguished road
if your box is perfectly rectangular and never change shape, you can use the example of the "piston" motion. You can use the layerAdditionRemoval technique.

page 25 of this document:
fredo490 is offline   Reply With Quote

Old   November 27, 2014, 10:46
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 52
Rep Power: 10
francescomarra is on a distinguished road
Dear Foamers,

I need your help to setup correctly a case with two moving pistons. I was able to define their motion by using the setup described here below (openFoam version 2.3).
The file constant/dynamicMeshDict defines the following:
dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ( "" );

solver          velocityComponentLaplacian;

    component       z;
    diffusivity     uniform;
Then, in the file 0/pointMotionUz are defined two separate boundaries with different motion:

        type codedFixedValue;
          value uniform 0;
          redirectType rampedFixedValue;
              (*this)==(0.5*sin(2.0*3.14*this->db().time().value()/0.01 ));


        type codedFixedValue;
          value uniform 0;
          redirectType rampedFixedValue;
              (*this)==(0.5*cos(2.0*3.14*this->db().time().value()/0.01 ));
Unfortunatly this does not work: only the first rampedFixedValue is assigned to both boundaries.

How I can assign two independet motions ?

Thank you in advance for any advice,

francescomarra is offline   Reply With Quote


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
Fluent dynamic mesh 'remeshing' method for pyramid elements DarrenC FLUENT 14 December 11, 2015 05:58
dynamic mesh, time related and sine motion burt OpenFOAM 2 June 14, 2013 11:47
CFD-3D flow problem using Dynamic mesh method. Sar_mech FLUENT 1 November 27, 2008 22:17
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
UDF, dynamic mesh motion phil FLUENT 0 September 15, 2004 05:42

All times are GMT -4. The time now is 22:25.