View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003069 | OpenFOAM | Bug | public | 2018-09-06 13:45 | 2018-09-06 16:49 |
Reporter | sose | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Summary | 0003069: possible sign error in fvc::surfaceSum | ||||
Description | Possibly the sign use in the sum of the face flux in fvc::surfaceSum is not correct, please see below. template<class Type> tmp<GeometricField<Type, fvPatchField, volMesh>> surfaceSum ( const GeometricField<Type, fvsPatchField, surfaceMesh>& ssf ) { ... current implementation forAll(owner, facei) { vf[owner[facei]] += ssf[facei]; vf[neighbour[facei]] += ssf[facei]; } ... correction forAll(owner, facei) { vf[owner[facei]] += ssf[facei]; vf[neighbour[facei]] -= ssf[facei]; } } | ||||
Tags | No tags attached. | ||||