List of Program Variable Names

Submitted by taya.chiang on Sat, 06/11/2016 - 00:33

Is there a list of all of the predefined program variable names used in calculations? If so, where can I find it?

Examples of program variables: Atom IDs, Atom Numbers, Young's Modulus, Normal and Tangential Stress, Sphere Radii, Coefficient of Restitution... etc.

I want to create an if statement to alter the simulation based on whether or not the predefined variables above meet certain conditions.

(For an arbitrary variable A that I create, I would refer to it as ${A}, but I do not know the syntax for referring the the program variables.)

ckloss's picture

ckloss | Tue, 06/14/2016 - 23:35

Hi Taya,

some of them are pre-defined (Atom IDs, # of Atoms), others depend on the model you are using (Young's Modulus, Coefficient of Restitution) so there can not be a general answer to your question.
You can access these quantities in the input script. The doc will tell you more about it! :-)

Best wishes
Christoph