CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   dynaminmesh: multiregion solidbodymotion and spring define (http://www.cfd-online.com/Forums/openfoam/115949-dynaminmesh-multiregion-solidbodymotion-spring-define.html)

burt April 10, 2013 02:40

dynaminmesh: multiregion solidbodymotion and spring define
 
1 Attachment(s)
hi there

I have been trying this for weeks, but It does not work well. good guidance are needed, and any advices are appreciated.

as you can see in the picture below, two mesh parts are defined, and there are ami interfaces,interface-in and interface-out, between them.
I want the entire red part to rotate while it is heaving up and down, and the interface-in do exactly the same as it. but the interface-out is supposed to heave only and ignore the rotating motion.

External mesh performs only translational motion
Rotation on capsize accommodated by an interface

I am wondering if it is possible to get this problem solved.

I defined the entire red part as a cellzone and interface-out as another,
then I use multiSolidBodyMotionFvMesh. code is shown below.

the problem is that only the first layer grids near interface-out carry out the dynamic mesh function and the entire green part keep still.

I guess this might be solved if redpart can be defined as solidBodyMotionFvMesh and interface-out as dynamicMotionSolverFvMesh at the same time. am I right? or it have to be done in another way?





please teach me!




regards

burt


dynamicFvMesh multiSolidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

multiSolidBodyMotionFvMeshCoeffs

{
redPart
{

solidBodyMotionFunction tabulated6DoFMotion;
tabulated6DoFMotionCoeffs
{
CofG ( 0.871 0 0 );
timeDataFileName "$FOAM_CASE/constant/6DoF.dat";
}
}

interfaceOut
{
solidBodyMotionFunction tabulated6DoFMotion;
tabulated6DoFMotionCoeffs
{
CofG ( 0.871 0 0 );
timeDataFileName "$FOAM_CASE/constant/7DoF.dat";
}
}


}


Which strategy to move the mesh in the Computational
Fluid Dynamic code OpenFOAM
Attachment 20599


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