View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000412 | OpenFOAM | Bug | public | 2012-02-03 11:07 | 2012-02-03 13:17 |
Reporter | linnemann | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | x86_64 | OS | CentOS | OS Version | 5.4 |
Summary | 0000412: Using MRF solver in conjunction with AMI leads to mass imbalance | ||||
Description | When using MRFSimpleFoam on a simple case with two AMI pairs there is no mass balance over the pairs. This is a severe problem and should be addressed ASAP or inform users to avoid MRF in conjunction with AMI's. Mass output using simplefunctionobjects and MRFSimpleFoam (m^3/h) MassFlows: inlet = -6.15535 AMI1_1 = 6.15531 AMI1_2 = -1.01369 AMI2_1 = -5.03995 AMI2_2 = 1.01368 outlet = 5.04 Mass output using simplefunctionobjects and simpleFoam (m^3/h) MassFlows: inlet = -5.03961 AMI1_1 = 5.03968 AMI1_2 = -5.0465 AMI2_1 = -5.03999 AMI2_2 = 5.04648 outlet = 5.04 | ||||
Steps To Reproduce | Run the case in the link below with MRFSimpleFoam and then simpleFoam, monitor the massflow using simplefunctionobjects from the swak4foam project. http://dl.dropbox.com/u/15968063/OF21_AMI_massFlow.tar.gz | ||||
Tags | No tags attached. | ||||
|
|
|
when you say monitor the massflow it sounds like you are looking at a non-converged solution. Are you doing that? |
|
Hi, this is the last iteration on a fully converged case 2000itt. You could also sample phi on the converged case, it will give you the same result. Edit Added picture of massflow from paraview on the two AMI sides, using this formula in the python calculator. area(inputs[0])*dot(inputs[0].CellData['U'],norm(inputs[0].CellData['U'])) |
|
|
|
Thanks for the report. However, when using AMI with MRF, the AMI patches should be added to the non-rotating patches in the constant/MRFZones dictionary, i.e. for your case: nonRotatingPatches (AMI1_1 AMI1_2 AMI2_1 AMI2_2); Also for info, you can generate the mass flux output using the standard OF function objects - using the faceSource object and the 'sum' operation on 'phi' |
|
Hi Thx for the swift reply, I just tested and it indeed fixes the issue. Please close the bug per my request. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-03 11:07 | linnemann | New Issue | |
2012-02-03 11:11 | linnemann | File Added: AMI1_1_vs_AMI_1_2.png | |
2012-02-03 11:53 |
|
Note Added: 0001011 | |
2012-02-03 11:58 | linnemann | Note Added: 0001012 | |
2012-02-03 12:30 | linnemann | File Added: AMI1_1_vs_AMI_1_2_MassFlow.png | |
2012-02-03 12:31 | linnemann | Note Edited: 0001012 | |
2012-02-03 12:44 |
|
Note Added: 0001017 | |
2012-02-03 13:06 | linnemann | Note Added: 0001019 | |
2012-02-03 13:17 |
|
Status | new => resolved |
2012-02-03 13:17 |
|
Fixed in Version | => 2.1.x |
2012-02-03 13:17 |
|
Resolution | open => no change required |
2012-02-03 13:17 |
|
Assigned To | => user2 |