View Issue Details

IDProjectCategoryView StatusLast Update
0002973OpenFOAMBugpublic2018-07-10 11:22
Reporters.zier Assigned Towill  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformIntel® Xeon(R) CPU E5-1620OSUbuntuOS Version16.04 LTS
Summary0002973: Operation “sum” does not sum up the flow rate (phi and alphaPhi10) through face zone correctly
DescriptionI generated a multiphase flow trough a box with one inlet (constant volumetric flow rate) and one outlet (atmosphere). I tracked the flow through several cross sections (face zones) of that box and through the inlet and outlet patch by using functions in the control.dict.
The sum of the complete flow rate (phi) through each face zone, the sum of the complete flow rate (phi) through each patch and the constant volumetric flow rate given at the inlet should be equal.
The results in the postProcessing folder show this is true for the patches but not for the face zones.
The sum of the water content flow rate (alphaPhi10) through a certain face zone after a certain time, the sum of the water content flow rate (alphaPhi10) through the inlet patch and the constant volumetric flow rate given at the inlet (with alpha=1) should be equal.
The results in the postProcessing folder show this is true for the patch but not for the face zones.
The same case adapted to and tested in OpenFOAM v1712 shows the expected results.
I believe this suggest rather a malfunction than a user error.
Steps To ReproduceRun the case with “interDyMFoam” (or “mpirun -np 8 interDyMFoam -parallel”) in of5 and in of1712. Evaluate the different results in the post processing folder.
Additional InformationThe uploaded folder includes a jpg file which shows a scheme of the case. Face zone fzInletD0 is green, face zone fzInletD1 is red and face zone fzOutlet is blue.
The operation results for inlet patch, outlet patch and all face zones (calculated in OpenFOAM 5.0 and in OpenFOAM v1712) at 0.04 seconds are put together in the results_spreadsheet file.
TagsNo tags attached.

Activities

s.zier

2018-06-06 12:35

reporter  

volstromTest2_8cores.tar.gz (1,407,766 bytes)

henry

2018-06-06 13:00

manager   ~0009711

We do not use or provide maintenance or support on forks of OpenFOAM. It would be useful if you test with OpenFOAM-dev and/or OpenFOAM-5.x because these already include many bug-fixes and any testing or fixes would be applied to these versions.

will

2018-06-06 15:44

manager   ~0009712

The fields phi and alphaPhi10 are oriented, and should be listed as such in the function definition. If you do this, the results are correct in 5.x and dev.

Issue History

Date Modified Username Field Change
2018-06-06 12:35 s.zier New Issue
2018-06-06 12:35 s.zier File Added: volstromTest2_8cores.tar.gz
2018-06-06 12:35 s.zier Tag Attached: sum(phi) sum(alphaPhi10) faceZone
2018-06-06 13:00 henry Note Added: 0009711
2018-06-06 15:44 will Assigned To => will
2018-06-06 15:44 will Status new => closed
2018-06-06 15:44 will Resolution open => no change required
2018-06-06 15:44 will Note Added: 0009712
2018-07-10 11:22 administrator Tag Detached: sum(phi) sum(alphaPhi10) faceZone