# [Other] Coupling solidBodyMotionFunction with sixDOF solver in OpenFOAM-v1812

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 29, 2019, 05:14 Coupling solidBodyMotionFunction with sixDOF solver in OpenFOAM-v1812 #1 New Member   Ajit Kumar Join Date: Aug 2013 Location: Shiv Nadar University, India Posts: 6 Rep Power: 12 Dear foamers, OpenFOAM provides a solidBodyMotionFunction class which is convenient for solving flow around moving bodies. However, all the option under this class like, linearMotion, rotatingMotion, etc all seem to solve flow around prescribed motion. I have written a new sixDoFDynamicMotion class, which is a child of solidBodyMotionFunction, which has a private member motion_ of the type sixDoFRigidBodyMotion. The member motion_, is responsible for integrating pressure and shear force around the given patch, and solve for the resulting translation and rotations. The resulting motion is returned as a septernion, through the transform() function. This is tested on two examples. Trajectory of a projectile motion, and a simple pendulum. Source code can be found here. https://github.com/krajit/sixDoFDynamicMotion Examples here look ok to me. Feedbacks are most welcome. Ajit Kumar, Dept. of Mathematics, Shiv Nadar University

February 20, 2024, 08:41
#2
New Member

onurlands
Join Date: Feb 2024
Posts: 25
Rep Power: 2
Quote:
 Originally Posted by ajitkumar22 Dear foamers, OpenFOAM provides a solidBodyMotionFunction class which is convenient for solving flow around moving bodies. However, all the option under this class like, linearMotion, rotatingMotion, etc all seem to solve flow around prescribed motion. I have written a new sixDoFDynamicMotion class, which is a child of solidBodyMotionFunction, which has a private member motion_ of the type sixDoFRigidBodyMotion. The member motion_, is responsible for integrating pressure and shear force around the given patch, and solve for the resulting translation and rotations. The resulting motion is returned as a septernion, through the transform() function. This is tested on two examples. Trajectory of a projectile motion, and a simple pendulum. Source code can be found here. https://github.com/krajit/sixDoFDynamicMotion Examples here look ok to me. Feedbacks are most welcome. Ajit Kumar, Dept. of Mathematics, Shiv Nadar University
Create time

--> FOAM Warning :
From void* Foam::dlLibraryTable:penLibrary(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
liboversetAndAMR.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From void* Foam::dlLibraryTable:penLibrary(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
libsixDoFDynamicMotion.so: cannot open shared object file: No such file or directory
Create mesh for time = 0

Selecting dynamicFvMesh dynamicOversetFvMesh
Selecting motion solver: multiSolidBodyMotionSolver
Applying motion to entire mesh
Selecting solid-body motion function sixDoFDynamicMotion

--> FOAM FATAL IO ERROR: (openfoam-2312)
Unknown solidBodyMotionFunction type sixDoFDynamicMotion

Valid solidBodyMotionFunction types :
9(SDA axisRotationMotion drivenLinearMotion linearMotion multiMotion oscillatingLinearMotion oscillatingRotatingMotion rotatingMotion tabulated6DoFMotion)

file: constant/dynamicMeshDict/multiSolidBodyMotionSolverCoeffs/front at line 25.

From static Foam::autoPtr<Foam::solidBodyMotionFunction> Foam::solidBodyMotionFunction::New(const Foam::dictionary&, const Foam::Time&)
in file motionSolvers/displacement/solidBody/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunctionNew.C at line 47.

FOAM exiting

I am getting an error like this, how can I solve this problem?

 Tags overset, sixdof