|
[Sponsors] |
May 10, 2013, 13:18 |
Motion method of dynamic mesh
|
#1 |
New Member
Xiaohuan
Join Date: Jul 2011
Posts: 3
Rep Power: 14 |
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, 13:28 |
|
#2 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 16 |
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: 68
Rep Power: 17 |
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; } 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 )); #}; } How I can assign two independet motions ? Thank you in advance for any advice, Franco |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |