# Motion method of dynamic mesh

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 10, 2013, 12:18 Motion method of dynamic mesh #1 New Member   Xiaohuan Join Date: Jul 2011 Posts: 3 Rep Power: 7 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… )

 May 10, 2013, 12:28 #2 Senior Member   HECKMANN Frédéric Join Date: Jul 2010 Posts: 237 Rep Power: 9 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

 November 27, 2014, 10:46 #3 Member   Franco Marra Join Date: Mar 2009 Location: Napoli - Italy Posts: 52 Rep Power: 9 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

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post DarrenC FLUENT 14 December 11, 2015 05:58 burt OpenFOAM 2 June 14, 2013 11:47 Sar_mech FLUENT 1 November 27, 2008 22:17 lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09 phil FLUENT 0 September 15, 2004 05:42

All times are GMT -4. The time now is 14:00.

 Contact Us - CFD Online - Top