September 22, 2022, 03:40
|
Strange error in autoPtr with v2206, not problem in v2112
|
#1
|
Senior Member
TWB
Join Date: Mar 2009
Posts: 393
Rep Power: 17
|
Hi,
I am running OF with my custom subroutine, which modifies the Incoming velocity of my external flow.
It works well in v2112 and v2206. But when I tried to resume a run, I got the error in v2206 when running renumberMesh after decomposePar:
Code:
Reading surfaceVectorField: Uf
[0]
[0]
[0] --> FOAM FATAL ERROR: (openfoam-2206)
[0] unallocated autoPtr of type N4Foam5FieldIdEE
[0]
[0] From T& Foam::autoPtr<T>::operator*() [with T = Foam::Field<double>]
[0] in file /opt/ohpc/pub/apps/OpenFOAM/v2206/OpenFOAM-v2206/src/OpenFOAM/lnInclude/autoPtrI.H at line 158.
[0]
FOAM parallel run aborting
There's no error in v2112. Does anyone have similar experience before? I'm worried there's some mistakes in my subroutine which is why there's such an error.
Thanks.
PS:Moreover, it seems that I can resume my run only with decomposePar and then pimpleFoam. There's no need for renumberMesh.
|
|
|