|
[Sponsors] |
April 17, 2024, 06:23 |
Angular velocity of a rotating mesh
|
#1 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello everyone!
I'm currently simulating the flow-induced rotation of a wind turbine using a dynamic mesh in OpenFOAM. My goal is to extract the angular velocity of the turbine. If you have any advice, tips, or similar experiences to share, I would greatly appreciate your input. dynamicMeshDict is attached. Thanks in advance, |
|
June 7, 2024, 08:22 |
|
#2 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 37
Rep Power: 10 |
The solution is sixDoFRigidBodyState
|
|
July 4, 2024, 09:22 |
|
#3 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello Honza,
Thank you for your reply. I have found that I need to add a function in the controlDict to track the movement of the rotating mesh. I tried to implement this: Code:
sixDoFRigidBodyState { type sixDoFRigidBodyState; libs ("libsixDoFRigidBodyMotion.so"); writeControl timeStep; writeInterval 1; patches (savonius); } ControlDict file is attached. Thank you, |
|
July 4, 2024, 09:33 |
|
#4 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 37
Rep Power: 10 |
Hello, I just used:
Code:
sixDoFRigidBodyState { type sixDoFRigidBodyState; libs (sixDoFRigidBodyState); //angleFormat degrees; //writeControl runTime; //writeInterval 0.01; } |
|
July 4, 2024, 10:40 |
|
#5 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello,
I'm getting the following error: Code:
--> FOAM FATAL ERROR: (openfoam-2312 patch=240220) [1] Attempt to cast type rigidBodyMotion to type sixDoFRigidBodyMotion Is it possible to use an equivalent function without changing the motionSolver? Thank you, |
|
July 5, 2024, 05:10 |
|
#6 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 37
Rep Power: 10 |
I'm not sure.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rotating mesh simulation in Simscale using an imported mesh | lmayz | Main CFD Forum | 1 | February 16, 2023 11:39 |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 14:38 |
wrong velocity contour of rotating propeller - Fluent | calv | FLUENT | 1 | September 6, 2018 12:48 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Question on moving mesh, mesh velocity is really small! | ripperjack | Main CFD Forum | 2 | April 28, 2014 14:37 |