CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Motion method of dynamic mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2013, 13:18
Default Motion method of dynamic mesh
  #1
New Member
 
Xiaohuan
Join Date: Jul 2011
Posts: 3
Rep Power: 14
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, 13:28
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 16
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: http://www.modlab.lv/docs/2011/OpenF...Rusche_pdf.pdf
fredo490 is offline   Reply With Quote

Old   November 27, 2014, 10:46
Default
  #3
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17
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:
Code:
dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver          velocityComponentLaplacian;

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

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

...

    botCyl2
    {
        type codedFixedValue;
          value uniform 0;
          redirectType rampedFixedValue;
          code
          #{
              (*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,

Franco
francescomarra is online now   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 12: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 06:42


All times are GMT -4. The time now is 12:37.