|
[Sponsors] |
November 19, 2013, 14:02 |
Problem with rotatingMotion OpenFOAM 2.2.2
|
#1 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Dear all,
I am currently investigating flowfield around a rotating cylinder using pimpleDyMFoam. My current mesh setting is like this: Capture.jpg I have provided a side view. The cylinder is rotating around z axis. The rotational motion is given using rotatingMotion function of OpenFOAM. The rotatingMotionCoeffs setting of the function is stored in constant/dynamicMeshDict folder like this: rotatingMotionCoeffs { origin (0 0 0); axis (0 0 1); omega -54.1401134; // deg/s } As far as I could understand from the source code is that: origin- CofG of the cylinder axis- The rotational axis omega- scalar value of the angular speed This settings worked perfectly fine for me. Now I want to perform some tilted simulations. The rotational axis is tilted with respect to z-axis in 10 degree. I am attaching the mesh settings: Capture1.jpg I have modified the settings like following: rotatingMotionCoeffs { origin (0.043412044 0 0.24620194); axis (0.17364818 0 0.98480775); omega -54.1401134; // deg/s } But unfortunately it is not working. I have used the following picture to assess origin and axis: Capture2.JPG I could not understand the reason. After sometimes to be precise 30 degree the simulation crashes saying overlapping AMI. I think I am wrongly defining the axis vector. I have also used some other points for trial and error purpose. Pictures are given below: Capture7.JPG Capture9.JPG But all of them failed. Could anyone give me a hint about that?
__________________
Happy Foaming |
|
November 21, 2013, 09:01 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
i guess you choose solid body motion in your Dict so its reasonable , that the whole frame rotate
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 21, 2013, 23:14 |
|
#3 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
So what is your suggestion? What should I do?
__________________
Happy Foaming |
|
November 22, 2013, 04:16 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
well, i think you need to create a circle around your box and rotate the the circle, look at this
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 22, 2013, 05:13 |
|
#5 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Actually that's exactly what I did. I am attaching some snapshots. The rotating part:
Rotating Part Capture.JPG The whole computational domain: Capture1.jpg Please note that. when the cylinder is upright it just works fine. But when it is tilted it does not work.
__________________
Happy Foaming |
|
November 28, 2013, 09:29 |
|
#6 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Is there anyone?
__________________
Happy Foaming |
|
November 28, 2013, 09:33 |
|
#7 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
well, i guess you need to use structure mesh, as it uses a mapping features to exchange data between rotating part and rest domain
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 28, 2013, 11:03 |
|
#8 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Hmm very interesting. I also thought of doing that. I would keep this post updated. thank you
__________________
Happy Foaming |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
To solve combustion problem in openFoam | yash.aesi | OpenFOAM | 0 | July 10, 2013 08:35 |
compiler problem with OpenFOAM installation | belkadi | OpenFOAM Installation | 4 | May 22, 2013 11:26 |
[OpenFOAM] Color display problem to view OpenFOAM results. | Sargam05 | ParaView | 16 | May 11, 2013 01:10 |
Problem with mpirun with OpenFOAM | jiejie | OpenFOAM | 3 | July 7, 2010 20:30 |
OpenFOAM 1.6 CreatePatch Problem | TarifaPirata | OpenFOAM Bugs | 1 | September 10, 2009 05:35 |