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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2019, 06:14
Default 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: 13
ajitkumar22 is on a distinguished road
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
ajitkumar22 is offline   Reply With Quote

Old   February 20, 2024, 09:41
Default
  #2
New Member
 
onurlands
Join Date: Feb 2024
Posts: 25
Rep Power: 2
onurcanpiskin is on a distinguished road
Quote:
Originally Posted by ajitkumar22 View Post
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
Could not load "liboversetAndAMR.so"
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
Could not load "libsixDoFDynamicMotion.so"
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?
onurcanpiskin is offline   Reply With Quote

Reply

Tags
overset, sixdof


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
Coupling OpenFOAM with Elmer? tutu10 OpenFOAM 2 November 23, 2020 15:48
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 08:54
Parallelisation of a new solid solver in OpenFOAM Jibran OpenFOAM Programming & Development 3 August 25, 2017 07:41
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 12:50
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08


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