Hi everyone,
As we know the command fix mesh/gran/stressanalysis command can analysis the stress on a wall. My question is how to use the pressure analysed by this command to control a loop in a script file. If I output the pressure on the wall first to a dump file, can I use any command to read the pressure in the dump file and then use it in the loop? Anybody can help me?
Many thanks.
J. Wang
ckloss | Mon, 10/10/2011 - 08:40
see the doc for the variable
see the doc for the variable command for details on how to use fix output for a loop, e.g. variable fmeshx equal f_mymesh[1]
Christoph
J_Wang | Tue, 10/11/2011 - 21:55
Is it force or pressure
Hi, Christoph,
Thank you for your help. When I use the variable command I found the output from a fix mesh/gran/analysis command is different with the output results from a dump file of the wall. So is the variable command is using total force on the wall rather than stress?
Thank you
J.Wang
ckloss | Wed, 10/12/2011 - 10:59
fix mesh/gran/stressanalysis
fix mesh/gran/stressanalysis outputs the total force, as written in the manual
Christoph