CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

dynaminmesh: multiregion solidbodymotion and spring define

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2013, 03:40
Default dynaminmesh: multiregion solidbodymotion and spring define
  #1
New Member
 
Join Date: Dec 2012
Posts: 9
Rep Power: 14
burt is on a distinguished road
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
??.jpg
burt is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 22:43.