hello,
I have been compress my model by add a force to the set " wall" in the Z direction, and then i count the force of the set "wall", but the forceZ got is fluctuate heavy. the average force is different to the adding force. why?
add force by this :
ExternalForceX => 0,
ExternalForceY => 0,
ExternalForceZ => -1,
ExternalForceStrength => 200,
count force by this:
my \\\$forceX=0;
my \\\$forceY=0;
my \\\$forceZ=0;
foreach my \\\$atoms(@\\\$atoms)
{
my \\\$Force = \\\$atoms->Force;
\\\$forceX = \\\$forceX+\\\$Force->X;
\\\$forceY = \\\$forceY+\\\$Force->Y;
\\\$forceZ = \\\$forceZ+\\\$Force->Z;
}
