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

Single Rotating Frame with MRFSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2008, 12:08
Default Hi everybody! I'm trying to
  #1
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi everybody!

I'm trying to simulate a modified version of the mixerVessel2D case with MRFSimpleFoam. The stator should rotate with the same angular velocity as the rotor. For this reason I assigned all the cells to the cellZone rotor by modifying blockMeshDict.m4. I also modified constant/MRFZones so that the patch stator is rotating too.

Unfortunately I'm getting pretty high velocities and I don't know why.



Here are the modified files:

blockMeshDict.m4
MRFZones

Is it possible at all to simulate a Single Rotating Frame with MRFSimpleFoam or did I make a mistake? Any help would be really appreciated.

Regards
David
david is offline   Reply With Quote

Old   May 19, 2008, 06:51
Default I forgot to say that I'm using
  #2
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
I forgot to say that I'm using a value of 314.157 for omega. The highest velocity should be around 31.5 m/s and not 60 m/s. Any ideas?

Thanks
David
david is offline   Reply With Quote

Old   May 19, 2008, 10:34
Default Ok, sorry guys. I found the pr
  #3
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Ok, sorry guys. I found the problem. It was my mistake ;-)
david is offline   Reply With Quote

Old   May 19, 2008, 11:06
Default Hi David, I just tried a simi
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi David,
I just tried a similar case with yours and it works (omega =104.72 rad/s; radius = 0.514 m -> v = 53 m/s):


Dragos
dmoroian is offline   Reply With Quote

Old   May 20, 2008, 09:21
Default Hi Dragos Thank you very mu
  #5
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi Dragos

Thank you very much for helping me. Unfortunately I can't understand why it worked with your case while it didn't work with my case??

My problem was that I didn't set up the case correctly. I found two different solutions for my problem:

Solution 1:
- Assign all the cells to cellZone rotor in blockMeshDict.m4
- Move the faces from patch stator to patch rotor and delete patch stator in blockMeshDict.m4

Solution 2:
- Assign the rest of the cells to cellZone stator.
- Modify makeMesh and the dict-files so that all the operations are made for rotor & stator.
- Change MRFZones in the following way:

2
(
rotor
{
patches (rotor);
origin origin [0 1 0 0 0 0 0] (0 0 0);
axis axis [0 0 0 0 0 0 0] (0 0 1);
omega omega [0 0 -1 0 0 0 0] 314.159;
}

stator
{
patches (stator);
origin origin [0 1 0 0 0 0 0] (0 0 0);
axis axis [0 0 0 0 0 0 0] (0 0 1);
omega omega [0 0 -1 0 0 0 0] 314.159;
}
)

Regards
David
david is offline   Reply With Quote

Old   May 20, 2008, 10:58
Default Solution 1b: - Assign all the
  #6
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Solution 1b:
- Assign all the cells to cellZone rotor in blockMeshDict.m4
- Change MRFZones in the following way:

1
(
rotor
{
patches (rotor stator);
origin origin [0 1 0 0 0 0 0] (0 0 0);
axis axis [0 0 0 0 0 0 0] (0 0 1);
omega omega [0 0 -1 0 0 0 0] 314.159;
}
)
david is offline   Reply With Quote

Old   May 20, 2008, 11:04
Default Hello David, From what I unde
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hello David,
From what I understand, you want to rotate everything, so you should assign all the cells to the rotor.
Basically, you are after a rotating rigid body solution.

Dragos
dmoroian is offline   Reply With Quote

Old   May 22, 2008, 05:25
Default Hi Dragos That is exactly w
  #8
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi Dragos

That is exactly what I wanted to do. My intention was to play with a simple case to understand it. Now I'm trying to simulate a pump impeller.

Regards
David
david 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
Single rotating reference frame Belete Kiflie FLUENT 7 November 9, 2018 10:54
Gravity in single rotating reference frame QinxueTan FLUENT 0 May 7, 2008 07:59
Please help Single rotating frame Setup jaswi OpenFOAM Running, Solving & CFD 0 June 8, 2007 09:24
Single rotating reference frame jing Siemens 1 August 29, 2003 13:44
Stirred tank with baffles simulation using single rotating reference frame M.Zhou FLUENT 1 March 5, 2000 16:01


All times are GMT -4. The time now is 21:47.