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

6dof solver(sixDoFRigidBodyMotion) for multi-body(dynamicOversetFvMesh)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2023, 05:40
Default 6dof solver(sixDoFRigidBodyMotion) for multi-body(dynamicOversetFvMesh)
  #1
New Member
 
Yateng Qiao
Join Date: Nov 2022
Posts: 13
Rep Power: 4
YatengQ is on a distinguished road
Dear all,

I'm recently trying to deal with two ellipsoid bodys in pure shear flow. The single ellipsoid body is simulated successfully, but when dealing with multi body there are some problems.

The method I used is
dynamicMesh:dynamicOversetFvMesh;
applicationverPimpleDyMFoam;
solid body motion solver:sixDoFRigidBodyMotion;

According to Multiple Floating Objects with 6DoF in OF 2.3.0

I add following codes in dynamicMeshDict:
solvers
{
ellipsoid1
{
...
}
ellipsoid2
{
...
}
}
There exists two main problems:
1. the pointdisplacement file in the post-processing can only display the ellipsoid1's mesh motion, mesh motion is not included in Pointdisplacement file in time folder. The result I post out here.
2.the Courant number becomes very large from the second time step, which means the simulation is not converged

As Bruno in the Previous link said:"A possible solution for this would be to create a new class that is based on "sixDoFRigidBodyMotionSolver" and that can then handle more than one body."

I guess the problem is the solver itself, So I want to ask if it is possible to creat two dynamicMeshDict for two bodys, then I Initialize two objects from mesh class. The two objects reads the solver coffes in two dynamicMeshDict
files.

First I update the first object's motion , then I used the updated mesh to update another object's motion like this in overPimpleDyMFoam:
...
++runTime;

Info<< "Time = " << runTime.timeName() << nl << endl;

mesh1.update();

mesh2.update();

if (mesh.changing())
...

I'm not sure if it is possible to do that, if can if there is anything aviliable to use as a reference.
Kind Regards,
Q.
Attached Images
File Type: png 1685003835181.png (51.7 KB, 32 views)
YatengQ is offline   Reply With Quote

Old   June 4, 2023, 22:23
Default
  #2
New Member
 
Yateng Qiao
Join Date: Nov 2022
Posts: 13
Rep Power: 4
YatengQ is on a distinguished road
problem is done, it's not the solver's fault. I made a mistake.
YatengQ is offline   Reply With Quote

Reply

Tags
dynamicmesh, multibody patch, overset, sixdofrigidbodymotion


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
why fluent 6dof rotational mass cannot be changed?? EngGhost FLUENT 7 February 1, 2023 00:40
unable to run dynamic mesh(6dof) and wave UDF shedo Fluent UDF and Scheme Programming 0 July 1, 2022 18:22
6DOF formulation help in OF - body or inertial reference frame? quarkz OpenFOAM Programming & Development 4 June 5, 2022 22:33
Modelling Contact and Frictional Force in 6DOF wcj1n18 Fluent UDF and Scheme Programming 2 March 12, 2021 05:17
Buoyancy and the 6DOF solver (FLUENT) i2a FLUENT 16 March 20, 2020 12:20


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