|
[Sponsors] |
November 5, 2014, 17:05 |
sixDoFRigidBody with more than one body
|
#1 |
Member
daniel fernex
Join Date: Oct 2014
Location: Braunschweig, Germany
Posts: 36
Rep Power: 12 |
Dear all,
this is my first post, so forgive me if I'm not clear I've been working on a problem which requires to use the sixDoFRigidBodyMotion solver, but with more than one rigid solid, and I'm having troubles using it. My problem is shown on the attached picture. To describe it shortly :
So I'm facing two problems I can't (yet) solve :
So the question is : is it achievable with OpenFoam ? Could it work changing somehow the source code ? I'm actually not sure this is possible with this solver but if anyone has an idea it would be very helpful ! I'm using OF-2.3.0. Best regards, Daniel |
|
November 6, 2014, 05:21 |
|
#2 |
New Member
Adrien Cahuzac
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
I have a similar problem. I am trying to simulate a couple of savonius turbines in 2D. I cannot impose the angular velocity since I need it as an output function of inlet velocity, inertia, friction coef, and interaction with the other turbine.
With one only, the sixDoF is perfect, but I cannot find how to use two different bodies. |
|
November 8, 2014, 11:08 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
A similar question was asked a few days ago. I looked into this and shared my findings on that thread: http://www.cfd-online.com/Forums/ope...f-2-3-0-a.html Conclusion: it's possible to do this with OpenFOAM, but some considerable additional coding is needed. Best regards, Bruno |
|
November 8, 2014, 11:19 |
|
#4 |
Member
daniel fernex
Join Date: Oct 2014
Location: Braunschweig, Germany
Posts: 36
Rep Power: 12 |
Hi Bruno,
thank you so much, I had missed that thread ! I'll see what I can do and let you know. Regards, Daniel |
|
November 11, 2014, 06:33 |
|
#5 |
Member
daniel fernex
Join Date: Oct 2014
Location: Braunschweig, Germany
Posts: 36
Rep Power: 12 |
Dear Bruno, dear all,
I've read the thread you indicated, and it's very helpful. As you said, it requires some additional code. Therefore, before starting it (I'm not a C++ expert...), I would like to determine if my project is achievable. I'm facing 2 problems :
Regards, Daniel |
|
April 6, 2015, 16:40 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Daniel,
Sorry for the really late reply. I've had your post on my to-do list and only today did I finally manage to come to it. OK, for forced rotation, you can use this file "multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/dynamicMeshDict" from the tutorials folder from OpenFOAM. In other words, it gives you the ability for total control over the positions of one object. And since the multi-body version is a list of multiple single body controls... I think you can figure out the rest As for this question: Quote:
Then again, your idea does seem simpler. I took a look at the source code and here's what I could figure out:
I have no idea if the point displacement would then make sense, because you would be enforcing that whenever the paddle group moves, the blades also rotate accordingly, in a hard-coded rotation ratio... well, this is essentially what many do when testing the capabilities of a fan, since they fixate a fan rotation and compare it's torque depending on the inlet flow rate. I hope this answers your questions, although (quite) a bit late. Best regards, Bruno
__________________
|
||
April 7, 2015, 15:17 |
|
#7 |
Member
daniel fernex
Join Date: Oct 2014
Location: Braunschweig, Germany
Posts: 36
Rep Power: 12 |
Hi Bruno,
thank you for your reply ! Unfortunately, I needed this for my master thesis, and I have only 1 month left now... I found a workaround to solve my problem. If I had had your explanations 4 months earlier, I might have found the right solution Maybe I should have posted that it was too late. But thanks again for the effort ! Regards, Daniel |
|
April 20, 2015, 00:48 |
|
#8 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Hi Fernex,
which workaround did you find out? Actually, I am trying to do sixDoFRigidbodyMotion on multiple 2D cylinders for my masters. I am trying to write my own solver based on Bruno's instructions but until now clueless. So, if you found out something useful, please share. Regards, Thaw Tar |
|
April 20, 2015, 04:02 |
|
#9 |
Member
daniel fernex
Join Date: Oct 2014
Location: Braunschweig, Germany
Posts: 36
Rep Power: 12 |
Hi Thaw Tar,
I'mafraid my solution won't help you... Instead of using the sixDoFRigidbodyMotion I've used a prescribed motion with the multiSolidBodyMotionFvMesh solver. Since I'm simulating a vertical axis wind turbine, both methods work. The main problem is that, since my angular velocity is imposed, I can't determine at which inlet velocity the wind turbine starts to rotate. But if you succeed in implementing the sixDoFRigidbodyMotion with multiple solids, please let me know Regards, Daniel |
|
April 22, 2015, 05:09 |
|
#10 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Hi Fernexda,
I am also working on my Masters' and trying to simulate the vortex induced vibration (VIV) of multiple cylinders. So, I have no choice but to rewrite the solver. But unfortunately, I began to run out of time and I can't even started the coding yet because of my lack of C++ knowledge. Anyway, if I could do it, I will definitely reply you. Regards, Thaw Tar |
|
April 25, 2020, 01:16 |
|
#11 | |
New Member
Paulo
Join Date: Dec 2017
Posts: 9
Rep Power: 8 |
Quote:
I've looked a lot for some information in websites and CFD forums, but I couldn't find anything that worked. Did you solved your problem? Please, I need some help. That's for the final report of my graduation. Thanks. Best Regards, Paulo. |
||
April 24, 2022, 02:12 |
|
#12 | |
Member
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11 |
I am also interested in knowing that How can I set multiple bodies for sixDoFRigidBodyMotion?
I will really appreciate your help. Quote:
|
||
April 25, 2022, 12:40 |
|
#13 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 143
Rep Power: 20 |
Hi,
the rigidBodyDynamics library can be used for solving multi-body 6DoF problems. Best, Jan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
6dof model - floating body | flinde | FLUENT | 13 | March 6, 2021 15:32 |
Beginner questions - modelling lift and drag on a towed body | ABF | Main CFD Forum | 15 | October 20, 2014 00:27 |
6DOF with floating body bounce back. | paka | FLUENT | 4 | June 6, 2013 12:32 |
Accelerated Body Motion Simulation | reza1111 | Main CFD Forum | 2 | June 3, 2013 10:00 |
[Need some advise] Am I doing right?? Simulating a rotational mixer | setasena | STAR-CCM+ | 4 | March 10, 2013 11:32 |