View Issue Details

IDProjectCategoryView StatusLast Update
0000596OpenFOAMBugpublic2012-07-25 12:05
Reporterdavidh Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformAllOSOtherOS Version(please specify)
Summary0000596: compressibleTwoPhaseEulerFoam - KTGF pressure gradient is not included in the cell center velocity update
DescriptionIn pEqn.H, compressibleTwoPhaseEulerFoam is missing a "ppDrag" term which is the pressure gradient from KTGF. The recent bug fix did add the term to the flux update.

compressibleTwoPhaseEulerFoam has:
            U1 = HbyA1
               + fvc::reconstruct
                 (
                     rAlphaAU1f
                    *(
                         (g & mesh.Sf())
                       + mSfGradp/fvc::interpolate(rho1)
                     )
                 );

the analogous code in twoPhaseEulerFoam:
               U1 = HbyA1
               + fvc::reconstruct
                 (
                     ppDrag
                   + rAU1f*((g & mesh.Sf()) - SfGradp/rho1)
                 );

TagsNo tags attached.

Activities

henry

2012-07-25 12:05

manager   ~0001501

Thanks for the bug-report
Resolved by commit d40bdddb21e228061ac3790f2a8307ff51f756ea

Issue History

Date Modified Username Field Change
2012-07-24 15:48 davidh New Issue
2012-07-25 12:05 henry Note Added: 0001501
2012-07-25 12:05 henry Status new => resolved
2012-07-25 12:05 henry Resolution open => fixed
2012-07-25 12:05 henry Assigned To => henry