x
Our website uses cookies. By using the website you agree ot its use. More information can be found in our privacy policy.

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. It is required to name the saved xyplot LsoptHistory. Thereby LS-OPT imports the created/saved curve.

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.cfile 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.cfile -nographics"

 Note: Under windows we need to give the complete path of LS-PrePost, if  the path environment variable is not set.

 

History

 

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)")}

Response