²é¿´: 7506  |  »Ø¸´: 13
µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû

zxzj05

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

[½»Á÷] ¡¾×ªÌû¡¿Èȵ¼ÂʼÆËãµÄinÎļþ ÒÑÓÐ12È˲ÎÓë

¿´µ½Óв»ÉÙÈËÔÚÕÒÈȵ¼ÂʼÆËã·½ÃæµÄinÎļþ£¬ÎҾ͹±Ï×Èý¸öinÎļþ°É£¬½ö¹©²Î¿¼¡£

    ͬʱ£¬¸½¼þÀïÌù³öÁËÎҵļÆËã½á¹û¡£EMDµÄÊä³ö½á¹û£¨compute heat/flux command+compute tc commandµÄ¼ÆËã½á¹û£©ÖУ¬ ¡°ac.dat¡±£¨¼û¸½¼þÖеÄ"ac.wmf"£©ÊÇÈÈÁ÷×ÔÏà¹Øº¯Êý£¨ÎÒÒѾ­ÐÞ¸ÄÁËcompute_tc.cpp£¬Ä¿Ç°Êä³öµÄÊÇnormalized HCACF£¬µ«½á¹ûÖиø³öµÄ»¹ÊÇûÓйéÒ»»¯µÄÈÈÁ÷×ÔÏà¹Øº¯Êý£¬µ«ÐÎ×´ºÍ¹éÒ»»¯µÄÊÇÒ»ÑùµÄ£¬Çë×¢Ò⣡£©ËæmµÄ±ä»¯£¬"tc.dat"(¼û¸½¼þÖеÄ"tc.wmf"ÊÇÈȵ¼ÂÊËæmµÄ±ä»¯£¨mµÄº­ÒåÇë²Î¿´Èȵ¼ÂʼÆËãµÄGreen KuboÀëÉ¢»¯¹«Ê½,¼û¸½¼þ"Comparison of atomic-level simulation methods for computing thermal conductivity¡±ÖеÄ(9)ʽ£©£¬"tc_time.dat"(¼û¸½¼þÖеÄ"tc_time.wmf"ÊÇÈȵ¼ÂÊËæÊ±¼äµÄ±ä»¯£»NEMDµÄ½á¹ûÖУ¬"temp.profile"(¼û¸½¼þÖеÄ"temp_distribution.wmf"ÊÇz·½ÏòÉϵÄζȷֲ¼£¬"thermal_conductivity.dat¡°(¼û¸½¼þÖеÄ"NEMD.wmf"±íʾÈȵ¼ÂÊËæÊ±¼äµÄ±ä»¯£¬Á½Õß¶¼°üº¬ÁËfix heat command ºÍfix thermal/conductivity commandµÄ¼ÆËã½á¹û¡£

1.ÓÃcompute heat/flux command+compute tc commandµÃµ½ÈÈÁ÷×ÔÏà¹Øº¯ÊýºÍÈȵ¼ÂÊ£¨EMD·½·¨£©

# MD simulation of Ar thermal conductivity
# Initialization
units             lj
dimension         3
newton            on
boundary          p   p   p
atom_style        atomic
neighbor          0.3    bin
neigh_modify      check  yes
lattice           fcc   0.844
region            box  block -4  4  -4  4  -4  4  units lattice
create_box     1  box
create_atoms     1  box
mass      1  1.0
velocity          all  create  0.71 458127641 mom yes  rot yes dist gaussian units box
# LJ potential *********************************************************
pair_style        lj/cut 2.8
pair_coeff        1  1   1.0                  1.0                     #  LJ parameters for Ar-Ar
fix               temp all  temp/berendsen 0.71 0.71 0.000466
fix               nve  all  nve
thermo_style      custom step temp etotal vol
thermo_modify     lost warn
thermo            100
# Run

timestep          0.000466
run               200000
reset_timestep    0
# -------------- Flux calculation in nve ---------------
compute     myKE all ke/atom
compute     myPE all pe/atom
compute     myStress all stress/atom virial
variable          factor_ac equal 1.0
variable          factor_tc equal 1.3806504e-23*sqrt(1.67e-21/6.633e-26)/3.405e-10^2
compute      jflux all heat/flux myKE myPE myStress
compute           tc all tc c_thermo_temp c_jflux v_factor_ac v_factor_tc iso first 10000 900000 100000
fix               tc_out  all  ave/time  1  1  1  c_tc   file  tc_time.dat
thermo_style      custom  step  temp
restart           100000   restart.*            
run             1000000

2. ÓÃfix thermal/conductivity commandµÃµ½Î¶ÈÌݶȣ¬½ø¶øµÃµ½Èȵ¼ÂÊ(NEMD·½·¨)

# MD simulation of Ar thermal conductivity
# Initialization
units             lj
dimension         3
newton            on
boundary          p   p   p
atom_style        atomic
neighbor          0.3    bin
neigh_modify      check  yes
lattice           fcc   0.844
region            box  block -4  4  -4  4  -4  4  units lattice
create_box     1  box
create_atoms     1  box
region            up1    block  INF INF  INF INF  -0.5  -0.25  units lattice
region            up2    block  INF INF  INF INF   0.5   0.75  units lattice
region            up  union 2 up1 up2
region            down1  block  INF INF  INF INF  -3.5  -3.25  units lattice
region            down2  block  INF INF  INF INF   3.5   3.75  units lattice
region            down union 2 down1 down2
mass      1  1.0

velocity          all  create  0.71 458127641 mom yes  rot yes dist gaussian units box
# Tersoff potential *********************************************************
pair_style        lj/cut 2.8
pair_coeff        1  1   1.0                  1.0                     #  LJ parameters for Ar-Ar
fix               temp all  temp/berendsen 0.71 0.71 0.0466
fix               nve  all  nve
compute           ke  all  ke/atom
variable          temp atom  c_ke/(1.5*1.0)
fix               temp_profile    all    ave/spatial  1  100000  100000  z  lower  0.25      v_temp  file  temp.profile    units  lattice
compute           up_temp    all  temp/region up
compute           down_temp  all  temp/region down
variable          delta_temp   equal  c_up_temp-c_down_temp
fix               delta_out  all  ave/time  1  100000  100000  v_delta_temp   file  delta_temp.dat
thermo_style      custom step temp etotal vol
thermo_modify     lost warn
thermo            100
# Run

timestep          0.000466
run               100001
unfix             temp
fix               heat_swap   all  thermal/conductivity  10  z  32
fix               e_exchange  all  ave/time  10  10000  100000  f_heat_swap  file  e_exchange.dat   
variable          thermal_conductivity equal f_e_exchange/(0.000466*10.0*4.0*f_delta_out)*1.3806504e-23/3.405e-10/3.405e-10*sqrt(1.67e-21/6.633e-26)*6.0/8.0

# ÒÔÉÏvariableÃüÁîÐèÒªÌØ±ð×¢Ò⣬ÒòΪÎÒËùÄ£ÄâµÄϵͳ£¬ºÐ×ӱ߳¤Lx=Ly=Lz£¬Èȵ¼ÂʼÆË㹫ʽ¾­¹ýÍÆµ¼±ä³ÉΪe_exchange/(4.0*t*L*delta_T)£¬
# ΪÁ˲»ÔÚinÎļþÀï¸øL¸³Öµ£¬ÎÒÐÞ¸ÄÁËfix_thermal_conductivity.cppÎļþ(¼û¸½¼þ)£¬½«e_exchangeÐ޸ijÉÁË e_exchange += force->mvv2e * (all[0].value - all[1].value) / (domain->zprd); ͬʱÔÚend_of_step()
ÀïÌí¼ÓÁËÒ»¾ä ¡°   e_exchange = 0.0;¡°,Ïê¼û¸½¼þÖеÄfix_thermal_conductivity.cpp£¬ÕâÑùËùµÃµÄe_exchangeÇúÏß»ù±¾ÉÏÊÇÒ»ÌõˮƽÇúÏߣ¬¶ø²»ÊÇÓÃÔ­À´µÄfix thermal/conductivity commandËùµÃµ½µÄбÏòÉϵÄÇúÏߣ¬Çë×¢Ò⣡£¡£¡
# ËùÒԲųöÏÖÒÔÉÏvariableµÄ±í´ïʽ¡£
# Çë¿´Ã÷°×ºóÔÙ×ö¼ÆË㣬ÃâµÃËã³ö´íÎóµÄ½á¹û£¡£¡£¡

fix               thermal_conductivity_out  all  ave/time  100000  1   100000  v_thermal_conductivity   file  thermal_conductivity.dat
                  
# Run
run               10000000

3. ÓÃfix heat command½¨Á¢Î¶ÈÌݶȣ¬½ø¶øµÃµ½Èȵ¼ÂÊ£¨NEMD·½·¨£©

# MD simulation of Ar thermal conductivity
# Initialization
units             lj
dimension         3
newton            on
boundary          p   p   p
atom_style        atomic
neighbor          0.3    bin
neigh_modify      check  yes
lattice           fcc   0.844
region            box  block -4  4  -4  4  -4  4  units lattice
create_box     1  box
create_atoms     1  box
region            up1    block  INF INF  INF INF  -0.5  -0.25  units lattice
region            up2    block  INF INF  INF INF   0.5   0.75  units lattice
region            up  union 2 up1 up2
region            down1  block  INF INF  INF INF  -3.5  -3.25  units lattice
region            down2  block  INF INF  INF INF   3.5   3.75  units lattice
region            down union 2 down1 down2
region            hot  block  INF INF  INF INF     0.0   0.25  units lattice
group             hot  region  hot
region            cold  block  INF INF  INF INF   -4.0  -3.75  units lattice
group             cold  region  cold
mass      1  1.0
mass0             6.633e-26
epsilon0          1.67e-21
sigma0            3.405e-10
velocity          all  create  0.71 458127641 mom yes  rot yes dist gaussian units box
# Tersoff potential *********************************************************
pair_style        lj/cut 2.8
pair_coeff        1  1   1.0                  1.0                     #  LJ parameters for Ar-Ar
fix               temp all  temp/berendsen 0.71 0.71 0.0466
fix               nve  all  nve
compute           ke  all  ke/atom
variable          temp atom  c_ke/(1.5*1.0)
fix               temp_profile    all    ave/spatial  1  100000  100000  z  lower  0.25      v_temp  file  temp.profile    units  lattice
compute           up_temp    all  temp/region up
compute           down_temp  all  temp/region down
variable          delta_temp   equal  c_up_temp-c_down_temp
fix               delta_out  all  ave/time  1  100000  100000  v_delta_temp   file  delta_temp.dat
thermo_style      custom step temp etotal vol
thermo_modify     lost warn
thermo            100
# Run

timestep          0.000466
run               100001
unfix             temp
fix               hot   all  heat  1   50   region hot
fix               cold  all  heat  1  -50   region cold
variable          thermal_conductivity equal 50.0*0.5*1.67e-21/3.405e-10/sqrt(6.633e-26/1.67e-21)/((4.0*8.0*8.0*8.0/0.844)^(1.0/3.0)*3.405e-10*2.0*f_delta_out*1.67e-21/1.3806504e-23)*6.0/8.0
fix               thermal_conductivity_out  all  ave/time  100000  1   100000  v_thermal_conductivity   file  thermal_conductivity.dat
                  
# Run
run               10000000



¡¾×ª×Ô¡¿http://www.mdbbs.org/thread-26451-1-1.html
»Ø¸´´ËÂ¥

» ÊÕ¼±¾ÌûµÄÌÔÌûר¼­ÍƼö

ÊÕ²Ø

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

´¢Çâ¼Ò×å»¶Ó­´¢ÇâÑо¿Õߣ¡
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

354895492

ľ³æ (ÕýʽдÊÖ)

¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
лл·ÖÏí£¬²»¹ýÒªÊǸ½¼þÒ²ÓоͺÃÁË£¬ÎҵķÖ×ÓÄ£ÄâÂÛ̳Ҳû½ð±ÒÁË
4Â¥2010-12-20 22:19:54
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
²é¿´È«²¿ 14 ¸ö»Ø´ð

c_friends

½ð³æ (СÓÐÃûÆø)

¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
Â¥Ö÷×ªÔØ×îºÃ°ÑÄǸö¸½¼þҲתһϰ¡£¬ÎÒÕâÀïÏÂÔØ²»ÁË·Ö×ÓÄ£ÄâÂÛ̳µÄ¸½¼þ¡£¡£ÆÚ´ýing¡£¡£¡£¡£
2Â¥2010-12-12 18:35:59
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

zxzj05

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

²»ºÃÒâ˼£¬ÎÒÔÚ·Ö×ÓÄ£ÄâÂÛ̳µÄÕ˺Åû»ý·ÖÁË¡£
´¢Çâ¼Ò×å»¶Ó­´¢ÇâÑо¿Õߣ¡
3Â¥2010-12-13 15:16:07
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

babaleo

ľ³æ (ÕýʽдÊÖ)

¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
Ö»ÓÐÆäÖÐÒ»¸ö,·ÖÏíÒÔÏÂ
5Â¥2011-01-17 10:12:19
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 332Çóµ÷¼Á +4 ydfyh 2026-03-17 4/200 2026-03-21 02:20 by JourneyLucky
[¿¼ÑÐ] 328Çóµ÷¼Á£¬Ó¢ÓïÁù¼¶551£¬ÓпÆÑо­Àú +4 ÉúÎ﹤³Ìµ÷¼Á 2026-03-17 8/400 2026-03-21 02:12 by JourneyLucky
[¿¼ÑÐ] 307Çóµ÷¼Á +10 ÀäóÏ123 2026-03-17 10/500 2026-03-21 01:54 by JourneyLucky
[¿¼ÑÐ] Ò»Ö¾Ô¸ Î÷±±´óѧ £¬070300»¯Ñ§Ñ§Ë¶£¬×Ü·Ö287£¬Ë«·ÇÒ»±¾£¬Çóµ÷¼Á¡£ +3 ³¿»èÏßÓëÐǺ£ 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[¿¼ÑÐ] Ò»Ö¾Ô¸ ÄϾ©º½¿Õº½Ìì´óѧ´óѧ £¬080500²ÄÁÏ¿ÆÑ§Ó빤³Ìѧ˶ +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[¿¼ÑÐ] Ò»Ö¾Ô¸¼ªÁÖ´óѧ²ÄÁÏѧ˶321Çóµ÷¼Á +11 Ymlll 2026-03-18 15/750 2026-03-20 19:40 by ¶¡¶¡*
[¿¼ÑÐ] ¹ãÎ÷´óѧ¼ÒÇÝÒÅ´«ÓýÖÖ¿ÎÌâ×é2026Äê˶ʿÕÐÉú£¨½ÓÊÕ¼ÆËã»úרҵµ÷¼Á£© +3 123°¢±ê 2026-03-17 3/150 2026-03-20 15:58 by ·ÉÐÐçù
[»ù½ðÉêÇë] ѧУÒѾ­Ìá½»µ½NSFC£¬»¹ÄÜÐÞ¸ÄÂ𣿠40+4 babangida 2026-03-19 8/400 2026-03-20 15:58 by babero
[¿¼ÑÐ] ÉúÎïѧµ÷¼ÁÕÐÈË£¡£¡£¡ +3 ɽº£Ììá° 2026-03-17 4/200 2026-03-19 21:34 by ÔõôÊÍ»³
[¿¼ÑÐ] 085601²ÄÁϹ¤³Ìר˶Çóµ÷¼Á +10 Ľº®mio 2026-03-16 10/500 2026-03-19 15:26 by ¶¡¶¡*
[¿¼ÑÐ] Ò»Ö¾Ô¸¸£´ó288Óлú»¯Ñ§£¬Çóµ÷¼Á +3 Сľ³æ200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
[¿¼ÑÐ] 0817µ÷¼Á +3 ûÓдð°¸_ 2026-03-14 3/150 2026-03-19 09:51 by Xu de nuo
[¿¼ÑÐ] »¯Ñ§¹¤³Ì321·ÖÇóµ÷¼Á +15 ´óÃ×·¹£¡ 2026-03-15 18/900 2026-03-18 14:52 by haxia
[¿¼ÑÐ] 0703»¯Ñ§µ÷¼Á +3 ÄÝÄÝninicgb 2026-03-17 3/150 2026-03-18 10:29 by macy2011
[¿¼ÑÐ] ÉúÎïѧ071000 329·ÖÇóµ÷¼Á +3 ÎÒ°®ÉúÎïÉúÎﰮΠ2026-03-17 3/150 2026-03-18 10:12 by macy2011
[¿¼ÑÐ] 268Çóµ÷¼Á +8 Ò»¶¨ÓÐѧÉÏ- 2026-03-14 9/450 2026-03-17 17:47 by laoshidan
[¿¼ÑÐ] ¿¼Ñл¯Ñ§Ñ§Ë¶µ÷¼Á£¬Ò»Ö¾Ô¸985 +4 ÕÅvvvv 2026-03-15 6/300 2026-03-17 17:15 by ruiyingmiao
[¿¼ÑÐ] ÖпÆÔº²ÄÁÏ273Çóµ÷¼Á +4 yzydy 2026-03-15 4/200 2026-03-16 15:59 by Gaodh_82
[¿¼ÑÐ] 0856Çóµ÷¼Á +3 ÁõÃÎ΢ 2026-03-15 3/150 2026-03-16 10:00 by houyaoxu
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +3 ºôºô£¿~+123456 2026-03-14 3/150 2026-03-14 16:53 by WTUChen
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û