Guys, did you know this was possible? MeasureTool, automatic positioning

Hello!

For post-processing simulations I have to measure at a point which depends on a variable, lets call it "plate_xpos". In the points file you can then write, NOTE DO NOT USE #

POINTSLIST
plate_xpos 0 -1.2
plate_xpos 0 0.0012
1 1 1501

And then it will automatically take the value from your simulation file, in my case (defined in "geometry" -> "predefinition" tag, look at DualSPHysics XML documentation, "newvarcte")

This is a huge game changer for automatisation of simulations!

Based on this I think that the documentation could use a bit of a few more examples, since for example it says:

I suppose it always uses -filexml AUTO if not specified, because how else would it get default values then? And I suppose if one defines the values then it overrides the values from ones simulation?


I just discovered this today and have not seen anyone cover / use it in the last few months, so please excuse me if this is widely known!

Kind regards

Comments

  • Unfortunately I was wrong! I used the file with text as shown above, but whatever you write it just defaults to "0"..

    Would like to hear if it is possible in some other way..

    Kind regards

Sign In or Register to comment.