ERROR: Expected floating point parameter in input script or data file

Submitted by Pankhi Singh on Sun, 12/06/2020 - 17:48

Hey
Can someone please help me with this error

Invalid MIT-MAGIC-COOKIE-1 keyLIGGGHTS (Version LIGGGHTS-PUBLIC 3.8.0, compiled 2020-03-23-07:35:01 by root, git commit unknown)
Created orthogonal box = (-0.05 -0.05 0) to (0.05 0.05 0.15)
1 by 1 by 1 MPI processor grid

Reading STL file 'pSi.stl' (mesh processing step 1/3)

Reading STL file 'boxes.stl' (mesh processing step 1/3)

Reading STL file 'pipes.stl' (mesh processing step 1/3)
WARNING:
The contact model you specified is not located in any whitelist.
Because of this the model will be run in an unoptimized version (increasing runtime by up to 20%).
In order to optimize this model you have the following options:
(i) Run the genAutoExamplesWhitelist.sh script in your LIGGGHTS(R) source folder to automatically parse the input script
(ii) Add the model combination by hand to your style_contact_model_user.whitelist that can be found in your LIGGGHTS(R) source folder
If you perform one of the steps above LIGGGHTS(R) needs to be recompiled to generate the optimized code.

(/build/liggghts-YO7u74/liggghts-3.8.0+repack1/src/contact_models.h:364)
ERROR: Expected floating point parameter in input script or data file

Kashminder | Thu, 05/27/2021 - 14:18

Basically, I want to define the boundary of z wall as a variable and that is when error occurs, it works fine when defined as a constant. for example
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane 0.002 (works fine)
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane v_dd (Expected floating point error occurs in this line)

P.s. I defined variable dd above and also using it it works well but only in this case it gives error

Kashminder | Wed, 05/26/2021 - 20:11

variable bod1 equal 1

fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane v_bod1
ERROR: Expected floating point parameter in input script or data file
I am getting this error and i have tried to play with values too. Please give your suggestions

Kashminder | Sat, 05/29/2021 - 22:51

I am using a If command (if "${b} <= ${bod1}" then "variable bod1 equal v_b") and getting an error (Compute used in variable between runs is not current. Use the update_on_run_end option for computes to avoid this.) I am trying to define update on run. when i try to do that they say illegal variable command. how and where to define update on run in variable defined in if command. I have defined variable like this (variable bod1 equal 1e-5) (variable b equal c_kash[1] ) (compute kash all property/atom z ). Can you please help me editing these commands to get rid of an error.

Thanks
Kashminder