CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens

array initialization

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2004, 05:27
Default array initialization
Posts: n/a
Is there an option to initialize all arrays is Star (and prostar) as zero before the start of calculation. It seems to me that sometimes there is some scratch data left in the computation especially when doing a restart with own subroutines.

  Reply With Quote

Old   February 20, 2004, 11:07
Default Re: array initialization
Posts: n/a
STAR should initialise its own arrays - you shouldn't have to worry about that. If this was not happening and you suspected one analysis/session was being corrupted by the previous one then you should report that to CD as a bug in STAR or PROSTAR. On the other hand, if you are talking about arrays in your own subroutines, it's your responsibility to initialise them. As far as I know, the Fortran standard states that there should be no initialisation except for arrays in common blocks. Maybe not even that.
  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
array in UDF Kamal FLUENT 1 November 7, 2013 01:15
Array problems Malachy FLUENT 2 March 5, 2012 15:11
UDF array problem Malachy FLUENT 0 February 10, 2009 10:41
Array declaration kdarc OpenFOAM Running, Solving & CFD 0 August 23, 2007 23:21
??cfx5.6 array name?? Erica CFX 0 December 28, 2004 07:28

All times are GMT -4. The time now is 20:03.