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

drivenLinearMotion background mesh motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2023, 09:31
Default drivenLinearMotion background mesh motion
  #1
New Member
 
Join Date: Aug 2022
Posts: 3
Rep Power: 4
JamesR is on a distinguished road
Hello

I am trying to avoid creating a large background mesh for my rigid body to move in. I am simulating a motorcycle moving from rest to 30 m/s over a period of 3 seconds. I have implemented overset meshing with three component meshes merged into a background mesh. The background mesh is currently 50 meters long.

I would like to use the drivenLinearMotion motion function implemented in v2106 to move the background mesh with the component meshes.

All cellzones have been correctly identified with topoSet and setFields.

I have tried implementing it as follows in the dynamicMeshDict:
dynamicFvMesh dynamicOversetFvMesh;
motionSolverLibs (fvMotionSolvers);
solver multiSolidBodyMotionSolver;


multiSolidBodyMotionSolverCoeffs
{
All
{
motionSolverLibs (libfvMotionSolvers);
motionSolver solidBody;
solidBodyMotionFunction drivenLinearMotion;
cellzone All;
cOfGdisplacement CofG;
}
RR
{
solidBodyMotionFunction tabulated6DoFMotion;
cellZone RR;
tabulated6DoFMotionCoeffs
{
CofG ( 0 -0.00506 0.35172);
timeDataFileName "RR_sixDoF.dat";
}
cOfGdisplacement CofG;
bodyIdCofG 1;

}

rearWheel
{
solidBodyMotionFunction tabulated6DoFMotion;
cellZone rearWheel;
tabulated6DoFMotionCoeffs
{
CofG ( 0 1.70675 0.3826);
timeDataFileName "rearWheel_sixDoF.dat";
}

}

frontWheel
{
solidBodyMotionFunction tabulated6DoFMotion;
cellZone frontWheel;
tabulated6DoFMotionCoeffs
{
CofG ( 0 -0.00506 0.35172);
timeDataFileName "frontWheel_sixDoF.dat";
}

}

}

The result of the simulation is that the background just doesn't move whilst all the other specified motion works as intended.

Any help would be greatly appreciated!

James
JamesR is offline   Reply With Quote

Old   December 11, 2024, 04:43
Default
  #2
New Member
 
Join Date: Apr 2023
Posts: 7
Rep Power: 3
rookie34 is on a distinguished road
Hello James,


I am also having the same problem with a similar case. Could you solve the problem? If you did, can you share it with me?


Thank you.
rookie34 is offline   Reply With Quote

Reply

Tags
drivenlinearmotion, overset


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Abnormal result of dynamic mesh motion at the between bottom and side boundary. blue8803 OpenFOAM Running, Solving & CFD 7 July 2, 2020 06:46
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
Dynamic moving mesh Pei-Ying Hsieh (Hsieh) OpenFOAM Running, Solving & CFD 64 June 7, 2012 11:04
Prescribed mesh motion does not correspond to actual motion rbarrett CFX 8 June 30, 2011 14:22


All times are GMT -4. The time now is 11:47.