global or local variable?
global or local variable?
(OP)
Hello there I am trying to navigate through /SOLU and /POST embed in a *DO,i,1,number loop but it seems that ANSYS forget the value of i when entering /SOLU or /POST...
To do things simple I have tryed only with:
*DO,i,1,ndiv
/SOLU
ANTYPE,,REST
TUNIF,Ta_vector(i)
SOLVE
FINISH
*ENDDO
and still does not work...
Any suggestion?
To do things simple I have tryed only with:
*DO,i,1,ndiv
/SOLU
ANTYPE,,REST
TUNIF,Ta_vector(i)
SOLVE
FINISH
*ENDDO
and still does not work...
Any suggestion?





RE: global or local variable?
-- drej --
RE: global or local variable?
thank you for answering but, yes Ta_vector is an array and I am sure there is no problem with this thing because I have been using it perfectly when not using /SOLU in a *DO loop, it is really the fact that the program forget the value for i when it enters the /SOLU resulting on trying to read position 0 of Ta_vector...
mtlmech
RE: global or local variable?
Expressing actual values based on i, by some suitable expression - instead of drawing the values from the array.
If feasible, if the value progression does lent itself towards evaluation via equation
Frank Exius
IFE Bonn Germany
www.ife.subito.cc
Telefon ++49\2642\980409
Dienstleistung in ANSYS
FEM Berechnung numerische Simulation
Digital/virtual Prototyping Outsourcing