2017-12-15 23:47 GMT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002699OpenFOAM[All Projects] Bugpublic2017-09-15 11:44
ReporterJuho 
Assigned Tohenry 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformUnixOSOtherOS Version(please specify)
Product Versiondev 
Target VersionFixed in Version5.x 
Summary0002699: Eulerian multiphase, faceMomentum: fvOption rho sources are neglected in momentum equations
DescriptionfaceMomentum formulation does account for fvOption rho sources in the momentum equation, which produces erroneous velocity fields when such sources are present.
Steps To ReproduceI've attached a reactingTwoPhaseEulerFoam test case where water is injected in to a vessel filled with air. The expected water injection velocity is 1 m/s.

If you run it with faceMomentum on and off the the results will show:
faceMomentum off: 1 m/s as expected
facemomentum on: 167 m/s

I've also attached a modified UEqns.H that includes the rho fvOption term. With this modification the "facemomentum on" also produces the expected 1 m/s injection velocity.
Additional InformationThe same issue applies to the twoPhaseEulerFoam faceMomentum formulation.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0008779

henry (manager)

Thanks Juho

Resolved in OpenFOAM-5.x by commit db90699cffd3626d65945c6dbf2e4211ff2a8485

Resolved in OpenFOAM-dev by commit adb66dd625124c4265038a337d64cf5a4617efe0
+Notes

-Issue History
Date Modified Username Field Change
2017-09-15 07:35 Juho New Issue
2017-09-15 07:35 Juho File Added: waterInjection.tar.gz
2017-09-15 07:36 Juho File Added: cellMomentum.png
2017-09-15 07:36 Juho File Added: faceMomentum.png
2017-09-15 07:36 Juho File Added: faceMomentum_modified.png
2017-09-15 07:36 Juho File Added: UEqns.H
2017-09-15 11:44 henry Assigned To => henry
2017-09-15 11:44 henry Status new => resolved
2017-09-15 11:44 henry Resolution open => fixed
2017-09-15 11:44 henry Fixed in Version => 5.x
2017-09-15 11:44 henry Note Added: 0008779
+Issue History