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

simpelFoam, SRFSimpelFoam and MRFSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2013, 14:33
Default simpelFoam, SRFSimpelFoam and MRFSimpleFoam
  #1
Member
 
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13
pechwang is on a distinguished road
Hello everyone,

I'm new to OpenFOAM and I ran some simple cases using simpleFoam. Now I want to move to rotating reference frame. So I ran three cases separately in simpleFoam, SRFSimpleFoam and MRFSimpleFoam. However, the results from simpleFoam and SRFSimpleFoam are exactly the same, but they are different from the result from MRFSimpleFoam. I don't know why. I think they three should be exactly the same. And I attached these cases in the attachment. Maybe I setup the model in a wrong way. Please give me a hand. Thank you so much.
Attached Files
File Type: zip Diff.zip (35.3 KB, 24 views)
pechwang is offline   Reply With Quote

Old   October 12, 2013, 08:24
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
Quote:
I don't know why. I think they three should be exactly the same.
why it should be the same? as you said MRF or SRF are rotating frame, so their result should be different with simpleFoam
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   October 12, 2013, 10:38
Default
  #3
Member
 
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13
pechwang is on a distinguished road
Hi Nima,

Thank you for your reply. Yes, they are rotating reference frame, but the model is the same, they just use different method, so the absolute velocity distribution and pressure distribution should be the same. And actually the results from simpleFoam and SRFsimpleFoam are exactly the same. They are the same with analytically solution. But the result from MRFsimpleFoam is different.
pechwang is offline   Reply With Quote

Old   October 12, 2013, 11:13
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
Are you using rotating Frame or not?
if yes, then it should be different between fixed frame of simpleFoam and rotating frame of MRFSimpleFoam and SRFSimpleFoam.
also you need to provide some contour and more information about your set-up then other users can help you
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   October 12, 2013, 11:50
Default
  #5
Member
 
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13
pechwang is on a distinguished road
Hi Nima,

Yes, you are right, I should provide more information. I attached three pressure plots. In the plots, there are only two patches, one is inlet and the other is rotating wall. I set the pressure at inlet is zero. The pressure plots from simpleFoam and SRFSimpleFoam are nearly the same, but the plot from MRFSimpleFoam is different. There is a pressure discrepancy at the junction of the rotating wall and the inlet. But this discrepancy does not exist in simpleFoam and SRFSimpleFoam. That's my question. And I still don't understand why the results should be different. Though they use different methods, they still solve the same equation, and the results should be the same.
Attached Images
File Type: png MRF.PNG (65.6 KB, 47 views)
File Type: jpg SRF.jpg (29.6 KB, 41 views)
File Type: jpg simple.jpg (27.7 KB, 41 views)
pechwang is offline   Reply With Quote

Reply

Tags
mrfsimplefoam, simplefoam, srfsimplefoam


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



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