CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Moving Mesh with sliding interface (http://www.cfd-online.com/Forums/openfoam-solving/68814-moving-mesh-sliding-interface.html)

sebastianweiper October 2, 2009 08:46

Moving Mesh with sliding interface
 
1 Attachment(s)
Hi Foamers,

I want to simulate a 2D Modell of an engine. The valve is moving with topological changes and sliding interfaces. I have a Problem with my mesh generation. My dynamicmeshdict looks like that:

dynamicFvMeshLibs 1("libtopoChangerFvMesh.so");

dynamicFvMesh linearValveLayersFvMesh;

linearValveLayersFvMeshCoeffs
{
layer
{
patch movingwall;


minThickness 1;
maxThickness 1;

}

pistonVelocity (0 -1 0);

slider
{
inside insideSlider;
outside outsideSlider;
}
}

But the Prublem is that the min and maxThickness is not right. It shows very bad mesh at the sliding interface. The element length is 1mm.
Is it possible to implement a interface like ggi for linear moving? That the different points between the two sliding faces are interpolated and not connected.

This page show that it is possible i think:
http://foamcfd.org/development.html


Thank you for your help

hjasak October 3, 2009 06:13

I would suggest that you contact Tommaso or try to get your hands on the 2-D engine tutorial from the Workshop. That will show you precisely what to do.

Incidentally, you can always replace the sliding interface on the valve curtain with a GGI. this will also give you more freedom with motion, it is better for parallelism etc.

... but the trick won't work on 2-stroke engines for the intake and exhaust passages

Good luck,

Hrv


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