LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Invalid thermo keyword in variable formula
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Invalid thermo keyword in variable formula


From: Nader Ameli <nader.mechanic@...24...>
Date: Wed, 29 Nov 2017 13:38:54 +0330

Change your command as bellow:
region dens block ${d11} ${d12} 7 12 ${d11} ${d12}

On Wed, Nov 29, 2017 at 1:31 PM, Maksim <esmax@...33....2375...> wrote:
Hello
I can not understand where is my mistake:
LAMMPS (23 Oct 2017) (windows)
ERROR: Invalid thermo keyword in variable formula (../variable.cpp:2037)
Last command: region dens block $(d11) $(d12) 7 12 $(d11) $(d12)  
 
 
package gpu 2
units        metal
boundary    p s p
atom_style     atomic 
 
variable cell1 equal 54
variable cell2 equal 47
 
lattice         fcc 3.52
region        target block 0 ${cell1} 0 7 0 ${cell1}
lattice         fcc  4.05
region        udar block 0 ${cell2} 6.5 13 0 ${cell2}
region        whole union 2 udar target
 
create_box    2 whole
lattice     fcc 3.52 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms    1 region target
lattice     fcc 4.05 origin 0 0 .247 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms    2 region udar
 
variable cntr equal v_cell2/2
variable d11 equal 11
variable d12 equal 12
 
region dens block $(d11) $(d12) 7 12 $(d11) $(d12)
 
 
 

------------------------------------------------------------------------------
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