root/www/docbook/nekcem.xml

Revision 48, 6.9 kB (checked in by gcobb, 8 months ago)

added an example index in the docbook source file

Line 
1 <?xml version="1.0"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
3 <article>
4
5         <articleinfo>
6                 <title>NEKCEM</title>
7                 <abstract>
8                         <para>In the software package  NEKCEM  (Nekton for Computational ElectroMagnetics) the spectral element discontinuous Galerkin  (SEDG)  method is employed on a conformal spectral-element mesh. NEKCEM features geometric flexibility, spectrally accurate numerical convergence, and an efficient parallel implementation. </para>
9                         <para> This package consists of the components of meshing, Maxwell time domain solver, electrostatic poisson solver, and visualization tools. It supports the computational domain boundary with perfectly matched layer, perfect conductor, and periodic material. </para>
10                 </abstract>
11         </articleinfo>
12        
13         <sect1>
14                 <title>Getting started with NEKCEM</title>
15                 <para>The following sections describe the process for downloading and building the NEKCEM package. It is assumed the user is comfortable with using <ulink url="http://subversion.tigris.org/"><citetitle>Subversion</citetitle></ulink>, as well as with compiling Fortran and C programs.</para>
16
17                 <sect2>
18                         <title> Getting the source</title>
19                         <para>
20                                 NEKCEM is available for download via <ulink url="https://trac.mcs.anl.gov/projects/NEKCEM"><citetitle> the Subversion repository</citetitle></ulink>:
21                                 <programlisting>svn co https://svn.mcs.anl.gov/repos/NEKCEM</programlisting>
22                         </para>
23                         <para>
24                                 Other utilities are available  <ulink url="http://www-unix.mcs.anl.gov/~mmin/nekcem/nek-helpful-software.tar"><citetitle>here</citetitle></ulink>. This utilities collection contains the following:
25                                 <itemizedlist>
26                                 <listitem><para>prex: description goes here...</para></listitem>
27                                 <listitem><para>postx: description goes here...</para></listitem>
28                                 <listitem><para>genmap: description goes here...</para></listitem>
29                                 <listitem><para>n2to3: description goes here...</para></listitem>
30                                 </itemizedlist>
31                         </para>
32                         <para> It is also recommended to download <ulink url="http://www.paraview.org/New/index.html"><citetitle>ParaView</citetitle></ulink> and <ulink url="http://cens.ioc.ee/projects/pyvtk/"><citetitle>PyVTK</citetitle></ulink></para>
33                 </sect2>
34
35                 <sect2>
36                         <title>Contents of the NEKCEM package</title>
37                         <para>The NEKCEM package contains the source code, examples (generated by prex and genmap), libraries used, and documentation.</para>
38
39                         <itemizedlist>
40                                 <listitem><para>bin: a collection of scripts for building and running NEKCEM</para>
41                                         <itemizedlist>
42                                                 <listitem><para>makenek: builds the nekcem package. Run from an 'example' directory via ../../bin/makenek. See makenek --help for options</para></listitem>
43                                                 <listitem><para>nek: runs the nekcem package with 'reasonable' defaults for the platform. See nek --help for options</para></listitem>
44                                                 <listitem><para>arch-settings: contains architecture-specific settings for building NEKCEM. Used by makenek</para></listitem>
45                                                 <listitem><para>run_paraview: used for visualization. MORE DESCRIPTION GOES HERE</para></listitem>
46                                                 <listitem><para>post2vtk: convert a .dat dump from FORTRAN into a VTK file for use in paraview</para></listitem>
47                                         </itemizedlist>
48                                 </listitem>
49                                 <listitem><para>examples: sample problems generated by prex, genmap</para>
50                                         <itemizedlist>
51                                                 <listitem><para>tube: DESCRIPTION GOES HERE</para></listitem>
52                                                 <listitem><para>tube-mw: DESCRIPTION GOES HERE</para></listitem>
53                                         </itemizedlist>
54                                 </listitem>
55                                 <listitem><para>libs: BLAS and LAPACK can be placed here if not already installed on your system</para></listitem>
56                                 <listitem><para>src: source code</para></listitem>
57                                 <listitem><para>doc: documentation</para></listitem>
58                         </itemizedlist>
59                 </sect2>
60
61         </sect1>
62
63         <sect1>
64                 <title>Building and Running NEKCEM</title>
65                 <para>Building and using NEKCEM consist of creating an appropriate mesh and building the package for that mesh</para>
66
67                 <sect2>
68                         <title>Mesh generation</title>
69                         <orderedlist>
70                                 <listitem>
71                                         <para>Invoke the prex GUI tool to generate a mesh from directory where you want the generated files to be stored:
72                                                 <programlisting>
73                                                         cd example/2dnanocyl
74                                                         ../../bin/prex
75                                                 </programlisting>
76                                         </para>
77                                 </listitem>
78                                 <listitem><para>specify the name to be used for the mesh in prex (i.e. 2dnanocyl) </para></listitem>
79                                 <listitem><para>use prex to specify the geometry and boundary conditions of the mesh</para></listitem>
80                                 <listitem><para>OTHER INSTRUCTIONS GO HERE</para></listitem>
81                         </orderedlist>
82                 </sect2>
83
84                 <sect2>
85                         <title>Compiling NEKCEM</title>
86                         <para>To compile the package, run the makenek script from the directory of the example just created:
87                                 <programlisting>
88                                         ../../bin/makenek
89                                 </programlisting>
90                                 See makenek -h for compile options. The most useful option is probably -d, which builds in debug mode (debug symbols and no optimization).
91                         </para>
92                         <para>A few files will get moved around during the compile process:
93                                 <itemizedlist>
94                                         <listitem><para> The 2dnanocyl.usr file will get copied into the ../../src directory as subuser.F.  </para></listitem>
95                                         <listitem><para> The SIZEu file will get copied into the ../../src directory as SIZE.  </para></listitem>
96                                 </itemizedlist>
97                         </para>
98                 </sect2>
99
100                 <sect2>
101                         <title>Running NEKCEM</title>
102                         <para>To run on the current example, use the nek script
103                                 <programlisting>
104                                         ../../bin/nek 2dnanocyl
105                                 </programlisting>
106                                 See nek -h for options. You'll probably want to use -n for controlling the number of nodes, and -t for the walltime.
107                         </para>
108                         <para>A few files will get generated during the execution:
109                                 <itemizedlist>
110                                         <listitem><para>DESCRIPTION OF LOG FILES GOES HERE</para></listitem>
111                                         <listitem><para>Field files will be generated in a format 2dnanocyl001.dat in the vtk directory (also created). After conversion with post2vtk these can be viewed in paraview</para></listitem>
112                                 </itemizedlist>
113                         </para>
114                 </sect2>
115
116                 <sect2>
117                         <title>Viewing Results</title>
118                         <para>Paraview can be used to view the results for each processor and timestep. The vtk directory contains the files needed by paraview. For more information, see the <ulink url="http://www.paraview.org/New/index.html">ParaView website.</ulink></para>
119                 </sect2>
120
121         </sect1>
122        
123         <sect1>
124                 <title>Documentation</title>
125                 <para>The rea-file.txt file located in /doc describes the format of the .rea file generated by prex</para>
126         </sect1>
127
128         <index><title>Index</title>
129                 <indexdiv><title>D</title>
130                         <indexentry>
131                           <primaryie>database (bibliographic), 253, 255</primaryie>
132                           <secondaryie>structure, 255</secondaryie>
133                           <secondaryie>tools, 259</secondaryie>
134                         </indexentry>
135                         <indexentry>
136                           <primaryie>dates (language specific), 179</primaryie>
137                         </indexentry>
138                         <indexentry>
139                           <primaryie>DC fonts, <emphasis>172</emphasis>, 177</primaryie>
140                           <secondaryie>Math fonts, 177</secondaryie>
141                         </indexentry>
142                 </indexdiv>
143         </index>
144
145
146 </article>
147
Note: See TracBrowser for help on using the browser.