Personal tools

LS-PrePost

History and Response result extraction using LS-PrePost

The post-processor LS-PREPOST (http://www.lstc.com/lspp) may be used to extract history results in LS-OPT. A command file containing LS-PrePost commands that extract the results may be generated by executing the appropriate commands in LS-PrePost. LS-PrePost saves the commands in lspost.cfile. An example for a LS-PrePost command file is given below.

open d3plot d3plot
ascii rcforc open rcforc 0
ascii rcforc plot 4 Ma-1
xyplot 1 savefile xypair LsoptHistory 1
deletewin 1
quit

The command file is renamed to get_force and may now be executed in batch mode to extract the history result in LS-OPT. The LS-OPT command is given below.

history 'Force' "lspp c=../../get_force -nographics"

 

 

The created history may be used to create Response results by defining response expressions, e.g. the maximal value of the force curve may be extracted.

response 'max_force' expression {Max("force(t)")}