CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   Dynamic Mesh Changing Shape (http://www.cfd-online.com/Forums/openfoam-meshing/76838-dynamic-mesh-changing-shape.html)

dancfd June 6, 2010 19:43

Dynamic Mesh Changing Shape
 
Hello all,

I am struggling to produce a dynamic mesh whereby an airfoil surrounded by a 2D C-grid changes shape in an oscillatory manner as a function of time. Specifically, I would like to make the airfoil oscillate, and also make a flap oscillate on the airfoil at a different periodicity.

From a survey of the boards, I have found code for older versions of OF that use oscillatingFixedValue to make the airfoil oscillate; however this code does not work in OF1.6 nor does it allow the flap to oscillate relative to the airfoil.

Is there a way to make this happen? I would appreciate any ideas.

Thank you,

Dan

dancfd June 13, 2010 22:09

Closer to a solution
 
I believe I can accomplish what I need by setting the airfoil boundary to type timeVaryingMappedFixedValue in the pointMotionUx file (to be used by a dynamicMeshDict with solver velocityComponentLaplacian). This presents a problem, though: timeVaryingMappedFixedValue requires a "points" file in a /constant/boundaryData/<boundaryName>/ directory. Since the mesh will be moving, I must specify a "points" file for each time step, and I do not think timeVaryingMappedFixedValue can handle that.

Does anyone have an idea of how I could overcome this last hurdle? I think that if I can make timeVaryingMappedFixedValue read a "points" file for each time step, I might have this problem solved.

Thank you,
Dan


All times are GMT -4. The time now is 02:40.