View Issue Details

IDProjectCategoryView StatusLast Update
0002699OpenFOAMBugpublic2017-09-15 11:44
ReporterJuho Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSOtherOS Version(please specify)
Product Versiondev 
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.

Activities

Juho

2017-09-15 07:35

reporter  

waterInjection.tar.gz (3,516 bytes)

Juho

2017-09-15 07:36

reporter  

cellMomentum.png (8,622 bytes)   
cellMomentum.png (8,622 bytes)   

Juho

2017-09-15 07:36

reporter  

faceMomentum.png (9,215 bytes)   
faceMomentum.png (9,215 bytes)   

Juho

2017-09-15 07:36

reporter  

faceMomentum_modified.png (9,364 bytes)   
faceMomentum_modified.png (9,364 bytes)   

Juho

2017-09-15 07:36

reporter  

UEqns.H (1,647 bytes)

henry

2017-09-15 11:44

manager   ~0008779

Thanks Juho

Resolved in OpenFOAM-5.x by commit db90699cffd3626d65945c6dbf2e4211ff2a8485

Resolved in OpenFOAM-dev by commit adb66dd625124c4265038a337d64cf5a4617efe0

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