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, 14:02
Default Problem with rotatingMotion OpenFOAM 2.2.2
  #1
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 14
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, 09:01
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
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 offline   Reply With Quote

Old   November 21, 2013, 23:14
Default
  #3
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 14
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, 04:16
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
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 offline   Reply With Quote

Old   November 22, 2013, 05:13
Default
  #5
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 14
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, 09:29
Default
  #6
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 14
Naruto is on a distinguished road
Is there anyone?
__________________
Happy Foaming
Naruto is offline   Reply With Quote

Old   November 28, 2013, 09:33
Default
  #7
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
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 offline   Reply With Quote

Old   November 28, 2013, 11:03
Default
  #8
Member
 
Join Date: Nov 2012
Posts: 62
Rep Power: 14
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 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


All times are GMT -4. The time now is 17:36.