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

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

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

revision 2774 by ahallam, Thu Sep 24 03:04:04 2009 UTC revision 2775 by ahallam, Wed Nov 25 05:01:43 2009 UTC
# Line 230  This process can be repeated for various Line 230  This process can be repeated for various
230  \subsection{Quiver plots in \mpl}  \subsection{Quiver plots in \mpl}
231  To visualise this data we are going to do three things. Firstly we will generate the gradient of the solution and create some quivers or arrows that describe the gradient. Then we need to generate some temperatur contours and thirdly, we will create some polygons from our meshing output files to show our material boundaries.  To visualise this data we are going to do three things. Firstly we will generate the gradient of the solution and create some quivers or arrows that describe the gradient. Then we need to generate some temperatur contours and thirdly, we will create some polygons from our meshing output files to show our material boundaries.
232    
233  The first step is very easily provided by \ESCRIPT, where we can use the \verb grad()  function to generate our gradient. It is then necessary to mold the solution to the domain node points. We do this by first extracting the nodes to \verb oldspacecoords  and transforming them via interpolation to suit our solution which is in the function space form of \verb T  .  The first step is very easily provided by \esc, where we can use the \verb grad()  function to generate our gradient. It is then necessary to mold the solution to the domain node points. We do this by first extracting the nodes to \verb oldspacecoords  and transforming them via interpolation to suit our solution which is in the function space form of \verb T  .
234  \begin{verbatim}  \begin{verbatim}
235  # calculate gradient of solution for quiver plot  # calculate gradient of solution for quiver plot
236  qu=-kappa*grad(T)  qu=-kappa*grad(T)

Legend:
Removed from v.2774  
changed lines
  Added in v.2775

  ViewVC Help
Powered by ViewVC 1.1.26