How to evaluate a variable instantly using variables in predefinition?

Hello!

Suppose I have a variable vel = 4, and time = 2. How do I get a new variable which gives me:

newvar = 8

Instead of

newvar = vel*time

I need to get the number out since I am trying to construct a string for extending the simulation domain inside of the xml file. It does not understand "default+#vel*time", unfortunately.

Kind regards

Sign In or Register to comment.