/[escript]/trunk/doc/examples/cookbook/onedheatdiff002.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/onedheatdiff002.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2644 by ahallam, Wed Aug 26 22:18:19 2009 UTC revision 2645 by ahallam, Thu Sep 3 02:20:33 2009 UTC
# Line 60  kappa=2.2*W/m/K #watts/m.K thermal condu Line 60  kappa=2.2*W/m/K #watts/m.K thermal condu
60    
61  #Script/Iteration Related  #Script/Iteration Related
62  t=0. #our start time, usually zero  t=0. #our start time, usually zero
63  tday=10*365. #the time we want to end the simulation in days  tend=10*yr #the time we want to end the simulation in years
 tend=tday*24*60*60  
64  outputs = 400 # number of time steps required.  outputs = 400 # number of time steps required.
65  h=(tend-t)/outputs #size of time step  h=(tend-t)/outputs #size of time step
66  #user warning statement  #user warning statement

Legend:
Removed from v.2644  
changed lines
  Added in v.2645

  ViewVC Help
Powered by ViewVC 1.1.26