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

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


From: Axel Kohlmeyer <akohlmey@...24...>
Date: Wed, 30 Aug 2017 13:31:47 -0400



On Wed, Aug 30, 2017 at 12:55 PM, Quang Ha <quang.t.ha.20@...33....24...> wrote:
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?

​for starters you are not reporting your LAMMPS version.

axel.​

 

Thanks,
Quang

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...6297....sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lammps-users




--
Dr. Axel Kohlmeyer  akohlmey@...12...24...  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.