|
[Sponsors] |
linearAxialAngularSpring restraint in rigidBodyMotion solver |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 9 ![]() |
Hey Foamers,
I have worked on the motion solver rigidBodyMotion for a while, but still be struct in the linearAxialAngularSpring restraint. Basically, I want to apply a linearAxialAngularSpring restraint to an airfoil, just like what wingMotion tutorial did using sixDoFRigidBodyMotion. My final goal is to simulate two bodies with linearAxialAngularSpring restraint, so I guess the rigidBodyMotion solver is only choice because the sixDoFRigidBodyDisplacement has been deleted in new versions of OpenFoam. The three official tutorials with rigidBodyMotion solver do not include linearAxialAngularSpring restraint, and the instructions about rigidBodyMotion solver seem to be quite few until now. I try to modify the tutorial wingMotion using rigidBodyMotion solver, but is blows up after a period of time. Here is my modified dynamicMeshDict. Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ("librigidBodyMeshMotion.so"); motionSolver rigidBodyMotion; rigidBodyMotionCoeffs { report on; solver { type symplectic; } g (0 -9.81 0); rho rhoInf; rhoInf 1; bodies { wing { type rigidBody; parent root; centreOfMass (0.4974612746 -0.01671895744 0.125); mass 22.9; inertia (1.958864357 0 0 3.920839234 0 2.057121362); transform (1 0 0 0 1 0 0 0 1) (0.25 0.007 0.125); joint { type composite; joints ( { type Py; } { type Rz; } ); } patches (wing); innerDistance 0.3; outerDistance 1; } } restraints { linearSpring { type linearSpring; body wing; anchor (0.25 0.007 0.125); refAttachmentPt (0.25 0.007 0.125); stiffness 4000; damping 2; restLength 0; } axialSpring { type linearAxialAngularSpring; body wing; axis (0 0 1); referenceOrientation ( 1 0 0 0 1 0 0 0 1 ); stiffness 700; damping 0.5; } } } // ************************************************************************* // My question is: 1) Does anyone know is there any available tutorial about the rigidBodyMotion solver with linearAxialAngularSpring restraint? 2) How to define the centre of mass, centre of rotation, transform and referenceOrientation in rigidBodyMotion solver? Any advice is appreciated, thanks. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 ![]() |
Why dont you go to an earlier version of OF that does have what you need?
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 9 ![]() |
Quote:
Yes, I have tested earlier version (OF4.0) which employs the sixDoFRigidBodyDisplacement and is able to handle multiple bodies. But its mesh solver is displacementLaplacian, which has a poor performance on rotation motion. The new version OpenFoam treats the mesh motion using Slerp interpolation that has a amazing performance when work on the rotation motion of body. That's definitely what I need. Anyway, thank you very much. |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
Jiadong Wang
Join Date: Mar 2018
Location: Australia
Posts: 32
Rep Power: 9 ![]() |
Quote:
Because I want to simulate two foils which are very close to each other, I'm not sure AMI is suitable for my case. |
||
![]() |
![]() |
![]() |
Tags |
linearaxialangularspring, rigidbodymotion |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Adjoint Solver? | ex10148 | FLUENT | 16 | September 28, 2018 08:11 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 05:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 06:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |