Error using Measuretool

edited June 2016 in DualSPHysics_v4.0
Hi
By running the Measuretool, the following error was captured:

variable 'Pos' is not defined in list of valid variables.

Would you mind please help?

Comments

  • With only that, it is difficult to help....
    Please send at least the whole command line to run Measuretool including parameters.
  • Hi

    The command of the Measueretool:

    %measuretool% -dirin %dirout% -points heights.txt -height -onlytype:-all,+fluid -savecsv %dirout%/heights


    The heigths.txt includes:

    POINTSLIST
    2.83 0.0 0.20
    0 0 0.001
    1 1 400


    Regards
  • edited June 2016
    Dear Amir


    The problem is that you are saving output data in double precision using:

    parameter key="PosDouble" value="2" comment="Precision in particle interaction 0:Simple, 1:Double, 2:Uses and saves double (default=0)" /

    and MeasureTool is not prepared to manage data in double.


    We are going to update MeasureTool to include this options as soon as possible, meanwhile you should use:

    parameter key="PosDouble" value="1" comment="Precision in particle interaction 0:Simple, 1:Double, 2:Uses and saves double (default=0)" /

    which should be enough for your purposes.
Sign In or Register to comment.