LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
[lammps-users] Expected floating point parameter in input script or data file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lammps-users] Expected floating point parameter in input script or data file


From: Quang Ha <quang.t.ha.20@...24...>
Date: Wed, 30 Aug 2017 12:55:45 -0400

Hi all,

I have been encountering this very problem lately in my code:

[...]
variable bodyfx atom mass*${gx}
fix          pressure flow addforce bodyfx 0.0 0.0
[...]

The following error comes up:

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

This must be something very simple, yet having tried all c_, v_ and f_ it doesn't seem to work.

What am I missing?

Thanks,
Quang