If you specify a function, use "FUNCTION CREATE FUNCTION_NAME=..." to create it. Make sure that your function has exactly one argument named "analysis". You may or may not use this argument in the function, but it must still be there. For example, FUN CRE FUN=objective_function ARG=analysis TEXT="MAX(analysis.req1.r1.values)" or FUN CRE FUN=total_mass ARG=analysis TEXT="100 - par1.mass + par2.mass"
An analysis may be picked from the screen if you have read an Adams Graphics file, and use the GRAPHIC_RESULTS command to display it. If the analysis is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the analysis is displayed.You may have explicitly named the analysis when you created it by reading one or more Adams output files. By default, the name of the analysis is the root name of the Adams output files. If you created the analysis by reading an Adams Graphics file, for instance, the analysis name is the name of the graphics file without the '.gra' extension.