LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Change from 2D to 3D
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Change from 2D to 3D


From: Stefan Paquay <stefanpaquay@...24...>
Date: Thu, 17 Aug 2017 08:58:33 -0400

Nexr time please post the error immediately, that makes answering a lot more efficient. 

This error is caused by using a 2D lattice style  (hex, sq2) in a 3D simulation box. If you want closest packing in 3D, you should use hcp. Alternatively there's bcc and fcc.

On Aug 17, 2017 12:38 AM, "Sisir Das" <sisirdas@...24...> wrote:
thank you Axel and Nader

Actually I already changed dimension to 3 and wall conditions before posting this . But I was getting below errors after changing. I am checking more details .
Thank you for advice.

ERROR: Lattice style incompatible with simulation dimension (../lattice.cpp:80)

Even though, I'm checking
On 16 August 2017 at 20:05, Nader Ameli <nader.mechanic@...24...> wrote:
Hi Sisir

You can change your script to a 3d one, by "dimension 3" instead "dimension 2".
Nevertheless, you should have a few changes in your script to modify it for a 3d simulation. E.g. you should change the regions bounds from "inf" to an specific amount.

Nader



 

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