On Wed, Jun 4, 2014 at 6:17 PM, <f_alidadi@...5015...> wrote:
i try it before. but it doesn't work .temperature is always equal
zero!!!my code is here

​it doesn't work, because it is wrong in too many ways. please read the manual more carefully.



 
fix 1 all nvt/asphere temp 10.0 10.0
run 1000
variable k loop 10
label loop1
variable t equal 10*10^(-k)
velocity all scale t
#fix 2 all nvt/asphere temp t t
run 1000
next k
jump in.lammps loop1



---------------------------- Original Message ----------------------------
Subject: Re: [lammps-users] [Fwd: Re: change temp]
From:    "Axel Kohlmeyer" <akohlmey@gmail.com>
Date:    Wed, June 4, 2014 8:42 pm
To:      f_alidadi@...5015...
Cc:      "LAMMPS Users Mailing List" <lammps-users@...430...orge.net>
--------------------------------------------------------------------------

On Wed, Jun 4, 2014 at 5:47 PM, <f_alidadi@...5015...> wrote:

> i want  the temperature of the system reduce for 100 times in a way that
> ratio of two temperature of system in two consecutive mode be a constant
> number. i mean: new temperature/old temperature = constant number(like
> constant number=0.9).


​you can do that easily using a variable, either using an index variable
with a list of those temperatures or using an equal style variable using
the ramp() function. also, you can use fix viscous to do the annealing.


> i want to see Phase transition.
>

​this is not likely to happen the way you expect it due to finite size
effects causing a significant hysteresis.


axel.​





>
>
>
>
>
> On Wed, Jun 4, 2014 at 5:01 PM, <f_alidadi@...5015...> wrote:
>
> > in velocity command scale the velocity change in a way that temperature
> be
> > a fix amount. but i want temperature change like this for example: 10 , 1
> >, 0.1 , 0.01 ,... . i want it change multiplicative. do you have a
> suggestion?
> >
>
> ​i don't understand the question. you are not making sense here.
>
>
> axel.​
>
>
>
>
> >
> > > On Wed, Jun 4, 2014 at 3:22 PM, <f_alidadi@...5015...> wrote:
> > >
> > >> Dear Sir or Madam,
> > >> I have a system that contains hundreds of particle. I want to change
> the
> > >> temperature of systems that be a fraction of previous temperature
> > >> several
> > >> times. how can I do this. I did some thing like this for size of box
> > >> with
> > >> fix  4 all deform 100000 x scale 0.46 y scale 0.46 z scale 0.46 , but
> > >> for
> > >> temperature I don't know how do some thing like this.
> > >>
> > >
> > > ​i already answered the same question yesterday. use the velocity
> > > command.​
> > >
> > >
> > >
> > >
> > >> thanks.
> > >>
> > >>
> > >>
> >
> ------------------------------------------------------------------------------
> > >> Learn Graph Databases - Download FREE O'Reilly Book
> > >> "Graph Databases" is the definitive new guide to graph databases and
> > >> their
> > >> applications. Written by three acclaimed leaders in the field,
> > >> this first edition is now available. Download your free book today!
> > >> http://p.sf.net/sfu/NeoTech
> > >> _______________________________________________
> > >> lammps-users mailing list
> > >> lammps-users@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/lammps-users
> > >>
> > >
> > >
> > >
> > > --
> > > Dr. Axel Kohlmeyer  akohlmey@gmail.com  http://goo.gl/1wk0
> > > College of Science & Technology, Temple University, Philadelphia PA,
> USA
> > > International Centre for Theoretical Physics, Trieste. Italy.
> > >
> >
> >
>
>
> --
> 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.
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> lammps-users mailing list
> lammps-users@...38...ists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lammps-users
>
>


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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
lammps-users mailing list
lammps-users@...396...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.