Reference input variable in solver input arguments
Hello. Is it possible to reference an input variable for the solver input arguments in the model definition? This is helpful if something cannot be done in TPL format. Right now I have a dummy text file that gets modified, then read during the execution, but I was just thinking it would be more efficient if I could skip this step. If not, I think it would be a useful feature to add.
Find more posts tagged with
- Have the tcl script open and read a tpl/text file that updates with the input variable
- Make the tcl script a tpl file where the input variable is updated there
Can you elaborate more about this?
I didn't understand what you need.
For some solvers, such as OptiStruct, Radioss,etc.. you can create a parametrized file, and trasnform these parameters in design variables, by using the template .tpl.
Hi Adriano,
Let's say I want to call hmbatch which runs a tcl script, which then takes inputs via solver arguments when called. If I want to provide an variable input to the tcl script, I believe these are the only approaches:
Ideally, I could have the solver input arguments in the model definition reference an input variable directly, rather than one of these two roundabouts.
Does that make sense?
Can you elaborate more about this?
I didn't understand what you need.
For some solvers, such as OptiStruct, Radioss,etc.. you can create a parametrized file, and trasnform these parameters in design variables, by using the template .tpl.