hello
i would like to create an optimization approach in hyperstudy. i use a tcl-script based model file with parametrized geometry to generate my .fem model. the objective is to minimize the geometry till a certain stress level is reached. i define my stress response with the 'max(resvector(...))' function.
this works well, but due to the changing geometry in the optimization approach, the script use a criteria-based automesh function to obtain a good element quality. as a result, the total number of elements varies and i get a error message 'index out of range' for 'resvector' if the number of elements are below the end_request arguement of the function. so i want to implement some kind of automated element range function (minimum to maximum element index) into the 'resvector' function.
question: is it possible to include a dynamic range of elements into the 'resvector' function?
[f.e. 'resvector(file_name, type, 0 [start_request], maximum element index [end_request], ...)']
greetings
stefan