|
[Sponsors] |
February 20, 2004, 05:27 |
array initialization
|
#1 |
Guest
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.
|
|
February 20, 2004, 11:07 |
Re: array initialization
|
#2 |
Guest
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |