Sharing variables

Creating Tecplot binary data files

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

zonexo
Expert
Posts: 59
Joined: Mon Feb 11, 2008 8:57 pm
Location: Singapore
Contact:

Sharing variables

Postby zonexo » Mon Jul 18, 2016 11:49 pm

Hi,

I hope to share variables x,y,z for transient data. However, I got the error:

variable 1 of zone 2 is attempting to share with zone 2 which has not been loaded

My subroutine is:

pointer (NullPtr,Null)

integer Null(*)

...

if (file_write_no == 1) then !1st solution time


ier = TecZne112('Flowfield'//nulchar, ZoneType,IMax,JMax,KMax,ICellMax,JCellMax,KCellMax,real((act_time - quasi_steady_time),8),StrandID,ParentZn, &

! IsBlock,NFConns,FNMode,0,0,0,varlist,varloc,Null,ShrConn)

!else !other solution time

! ShareVarFromZone(1:3) = 1 !share variables x,y,z

!use reset time

ier = TecZne112('Flowfield'//nulchar, ZoneType,IMax,JMax,KMax,ICellMax,JCellMax,KCellMax,real((act_time - quasi_steady_time),8),StrandID,ParentZn, &

IsBlock,NFConns,FNMode,0,0,0,varlist,varloc,ShareVarFromZone,ShrConn)

!end if

Thanks for the help!

Return to “TecIO Library”

Who is online

Users browsing this forum: No registered users and 1 guest

cron