LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Errors when define a region after reading a data file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Errors when define a region after reading a data file


From: Axel Kohlmeyer <akohlmey@...24...>
Date: Thu, 20 Jul 2017 15:01:15 -0400

On Thu, Jul 20, 2017 at 2:45 PM, Cong Dai <congdai1220@...24...> wrote:
> Dear LAMMPS users,
>
>   I tried many ways to solve this problem but failed, so I hope you can give me any hints.
> The part of the script is:
>
> read_data   /datafile.data
> region          box block INF INF INF INF -65.0 65.0 units box
> group           mobile region box
> region          low block INF INF INF INF INF -65.0 units box
> group           lowsurface region low
> region          upper block INF INF INF INF 65.0 INF units box
> group           uppersurface region upper
> group               boundary union lowsurface uppersurface
>
> and log file shows the error:
> region          box block INF INF INF INF -65.0 65.0 units box
> group           mobile region box
> ERROR: Illegal region command (../region.cpp:397)
> Last command: region            box block INF INF INF INF -65.0 65.0 units box
> group           mobile region box
>
> I tried to only define the region without defining the group and it works, then why it said that the error is in region command?

i can add these commands to, e.g. example/micelle/in.micelle, and
there is no error.

axel.


>
> Cong
>
>
> ------------------------------------------------------------------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lammps-users



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