CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Strange error in autoPtr with v2206, not problem in v2112

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2022, 03:40
Default Strange error in autoPtr with v2206, not problem in v2112
Senior Member
Join Date: Mar 2009
Posts: 393
Rep Power: 17
quarkz is on a distinguished road

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:

Reading surfaceVectorField: Uf

[0] --> FOAM FATAL ERROR: (openfoam-2206)
[0] unallocated autoPtr of type N4Foam5FieldIdEE
[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.
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.


PS:Moreover, it seems that I can resume my run only with decomposePar and then pimpleFoam. There's no need for renumberMesh.
quarkz is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OF v2112: problem with twoPhaseEulerFoam & scalarCodedSource user OpenFOAM Programming & Development 4 April 8, 2022 20:52
Strange problem with combustion Luk CFX 1 April 28, 2008 09:54
A strange problem when doing multi-phase flow Yun Kang CFX 0 September 28, 2006 09:26
strange problem simple Main CFD Forum 4 August 10, 2006 23:35
CHT strange problem MatejK CFX 3 September 1, 2005 05:32

All times are GMT -4. The time now is 00:42.