CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2022, 04:40
Default Strange error in autoPtr with v2206, not problem in v2112
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 357
Rep Power: 16
quarkz is on a distinguished road
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.
quarkz is offline   Reply With Quote

Reply

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 21:52
Strange problem with combustion Luk CFX 1 April 28, 2008 10:54
A strange problem when doing multi-phase flow Yun Kang CFX 0 September 28, 2006 10:26
strange problem simple Main CFD Forum 4 August 11, 2006 00:35
CHT strange problem MatejK CFX 3 September 1, 2005 06:32


All times are GMT -4. The time now is 21:23.