/[escript]/trunk/doc/cookbook/example02.tex
ViewVC logotype

Diff of /trunk/doc/cookbook/example02.tex

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

revision 2963 by gross, Thu Feb 25 10:00:23 2010 UTC revision 2964 by artak, Wed Mar 3 01:21:09 2010 UTC
# Line 20  Line 20 
20  \sslist{example02.py}  \sslist{example02.py}
21  \label{Sec:1DHDv0}  \label{Sec:1DHDv0}
22    
23  Our second example is a cold iron bar at a constant temperature of $T\hackscore{ref}=20^{\circ} C$, see \reffig{fig:onedhdmodel}. The bar is perfectly insulated on all sides with a heating element at one end keeping the the temperature at a constant level $T\hackscore0=100^{\circ} C$.  as heat is applied; energy will disperse along the bar via conduction. With time the bar will reach a constant temperature equivalent to that of the heat source.  Our second example is a cold iron bar at a constant temperature of $T\hackscore{ref}=20^{\circ} C$, see \reffig{fig:onedhdmodel}. The bar is perfectly insulated on all sides with a heating element at one end keeping the the temperature at a constant level $T\hackscore0=100^{\circ} C$.  As heat is applied; energy will disperse along the bar via conduction. With time the bar will reach a constant temperature equivalent to that of the heat source.
24    
25  This problem is very similar to the example of temperature diffusion in granite blocks presented in the previous section~\ref{Sec:1DHDv00}. So we will modify the script we have already developed for the granite blocks to adjust  This problem is very similar to the example of temperature diffusion in granite blocks presented in the previous section~\ref{Sec:1DHDv00}. So we modify the script we have already developed for the granite blocks to adjust
26  it to the iron bar problem.    it to the iron bar problem.  
27  The obvious difference between the two problems are the dimensions of the domain and different materials involved. This will change the time scale of the model from years to hours.  The obvious difference between the two problems are the dimensions of the domain and different materials involved. This will change the time scale of the model from years to hours.
28  The new settings are;  The new settings are;
# Line 112  condition \esc sets by default (or you m Line 112  condition \esc sets by default (or you m
112  Besides some cosmetic modification this all we need to change. The total energy over time is shown in \reffig{fig:onedheatout1 002}. As heat  Besides some cosmetic modification this all we need to change. The total energy over time is shown in \reffig{fig:onedheatout1 002}. As heat
113  is transfered into the rod by the heater the total energy is growing over time but reaches a plateau  is transfered into the rod by the heater the total energy is growing over time but reaches a plateau
114  when the temperature is constant is the rod, see \reffig{fig:onedheatout 002}.  when the temperature is constant is the rod, see \reffig{fig:onedheatout 002}.
115  YOu will notice that the time scale of this model is several order of magnitudes faster than  You will notice that the time scale of this model is several order of magnitudes faster than
116  for the granite rock problem due to the different length scale and material parameters.  for the granite rock problem due to the different length scale and material parameters.
117  In practice it can take a few models run before the right time scale has been chosen\footnote{An estimate of the  In practice it can take a few models run before the right time scale has been chosen\footnote{An estimate of the
118  time scale for a diffusion problem is given by the formula $\frac{\rho c\hackscore{p} L\hackscore{0}^2}{4 \kappa}$, see  time scale for a diffusion problem is given by the formula $\frac{\rho c\hackscore{p} L\hackscore{0}^2}{4 \kappa}$, see

Legend:
Removed from v.2963  
changed lines
  Added in v.2964

  ViewVC Help
Powered by ViewVC 1.1.26