View Issue Details

IDProjectCategoryView StatusLast Update
0000808OpenFOAMBugpublic2013-04-08 15:19
ReportermartinB Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSUSEOS Version12.1
Summary0000808: snGrad() missing in processorFvPatchField.C
DescriptionThe snGrad() method (i.e. without additional parameters) is missing in processorFvPatchField.C.

processorFvPatchField.H should have:
virtual tmp<Field<Type> > snGrad() const;

and processorFvPatchField.C should have:
template<class Type>
Foam::tmp<Foam::Field<Type> >
Foam::processorFvPatchField<Type>::snGrad() const
{
    return this->patch().deltaCoeffs()*(*this - this->patchInternalField());
}
Steps To ReproduceRun incompressible case in parallel, for example simpleFoam with pitzDaily tutorial.
Run wallGradU in parallel.
Error message will be:
...
[2] --> FOAM FATAL ERROR:
[2] Not implemented
[2]
[2] From function processor::coupledFvPatchField<Type>::snGrad()
[2] in file lnInclude/coupledFvPatchField.H at line 153.
...
Additional InformationIt was implemented in 2.1.x and before.
TagsNo tags attached.

Activities

henry

2013-04-07 21:27

manager   ~0002094

The issue is not that snGrad() method (i.e. without additional parameters) is missing in processorFvPatchField.C (it shound not have such this function) but that wallGradU operates on processor patches which it should not. I will correct this shortly.

henry

2013-04-08 15:19

manager   ~0002098

Resolved by commit f12eca9bce4ebc66e2d40bde77ede3fd7d188abe

Issue History

Date Modified Username Field Change
2013-04-07 20:36 martinB New Issue
2013-04-07 21:27 henry Note Added: 0002094
2013-04-08 15:19 henry Note Added: 0002098
2013-04-08 15:19 henry Status new => resolved
2013-04-08 15:19 henry Resolution open => fixed
2013-04-08 15:19 henry Assigned To => henry