CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problem with rotatingMotion OpenFOAM 2.2.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2013, 13:02
Default Problem with rotatingMotion OpenFOAM 2.2.2
  #1
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 13
Naruto is on a distinguished road
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
Naruto is offline   Reply With Quote

Old   November 21, 2013, 08:01
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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)
nimasam is online now   Reply With Quote

Old   November 21, 2013, 22:14
Default
  #3
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 13
Naruto is on a distinguished road
So what is your suggestion? What should I do?
__________________
Happy Foaming
Naruto is offline   Reply With Quote

Old   November 22, 2013, 03:16
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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)
nimasam is online now   Reply With Quote

Old   November 22, 2013, 04:13
Default
  #5
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 13
Naruto is on a distinguished road
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
Naruto is offline   Reply With Quote

Old   November 28, 2013, 08:29
Default
  #6
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 13
Naruto is on a distinguished road
Is there anyone?
__________________
Happy Foaming
Naruto is offline   Reply With Quote

Old   November 28, 2013, 08:33
Default
  #7
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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)
nimasam is online now   Reply With Quote

Old   November 28, 2013, 10:03
Default
  #8
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 13
Naruto is on a distinguished road
Hmm very interesting. I also thought of doing that. I would keep this post updated. thank you
__________________
Happy Foaming
Naruto is offline   Reply With Quote

Reply


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
To solve combustion problem in openFoam yash.aesi OpenFOAM 0 July 10, 2013 07:35
compiler problem with OpenFOAM installation belkadi OpenFOAM Installation 4 May 22, 2013 10:26
[OpenFOAM] Color display problem to view OpenFOAM results. Sargam05 ParaView 16 May 11, 2013 00:10
Problem with mpirun with OpenFOAM jiejie OpenFOAM 3 July 7, 2010 19:30
OpenFOAM 1.6 CreatePatch Problem TarifaPirata OpenFOAM Bugs 1 September 10, 2009 04:35


All times are GMT -4. The time now is 04:59.