<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to simple_snII</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>Recent changes to simple_snII</description><atom:link href="https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 26 Feb 2014 22:55:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/feed" rel="self" type="application/rss+xml"/><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,6 +1,6 @@
 ### simple_snII ###

-This project computes simple models of the passage of a shock through the layers of a massive star and the attendant nucleosynthesis.
+This project computes simple models of the passage of a shock through the layers of a massive star and the attendant nucleosynthesis.  This project was introduced in the paper [Explosive nucleosynthesis of &lt;sup&gt;15&lt;/sup&gt;N in a massive-star model](http://journals.aps.org/prc/abstract/10.1103/PhysRevC.89.025807).  Instructions for downloading, installing, and running the codes to make the calculations in that paper are [here](http://nucnet-projects.sourceforge.net/data_pub/2014-02-26/).

 ##### Installing the project. #####

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Wed, 26 Feb 2014 22:55:08 -0000</pubDate><guid>https://sourceforge.netc474d5893b69228a1b26f58ce4c646ed529d7793</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -30,9 +30,9 @@

 ##### Running the simple explosion code. #####

-Create a presupernova model xml file.  For illustration, we will use the *../nucnet-tools-code/data_pub/s15a28a28_presn.xml* created in the [rauscher_xml] tutorial.  To run the explosion code for an explosion energy of 1.0 B (1 B = 1 [Bethe](http://en.wikipedia.org/wiki/Foe_(unit)) = 1.0 x 10&lt;sup&gt;51&lt;/sup&gt; ergs), type:
+Create a presupernova model xml file.  For illustration, we will use the *../nucnet-tools-code/data_pub/s15a28a29_presn.xml* created in the [rauscher_xml] tutorial.  To run the explosion code for an explosion energy of 1.0 B (1 B = 1 [Bethe](http://en.wikipedia.org/wiki/Foe_(unit)) = 1.0 x 10&lt;sup&gt;51&lt;/sup&gt; ergs), type:

-** `./simple_snII ../nucnet-tools-code/data_pub/s15a28a28_presn.xml 1.0e51 expl_1.0e51.xml`**
+** `./simple_snII ../nucnet-tools-code/data_pub/s15a28a29_presn.xml 1.0e51 expl_1.0e51.xml`**

 The file *expl_1.0e51.xml* is the output.  Properties in this file may be examined with the codes in the *../nucnet-tools-code/examples/analysis* directory.  The abundances in this file are still the pre-supernova abundances.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Thu, 28 Nov 2013 15:39:33 -0000</pubDate><guid>https://sourceforge.netda2cf965df616c076ebb709d637b9f5ebb1a1a5a</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -60,9 +60,9 @@

 The zones in the output file *my_output_1.0e51.xml* contain the final mass fractions of each zone at the end of the calculation.  You can use the *nucnet-tools-code/examples/analysis* codes to study the output, but remember the zones now represent the different spatial zones in the supernova, not time dumps.

-You can run a subset of zones by choosing the appropriate XPath expression.  For example, to run calculations only for zones with interior mass larger than 5.0e33 grams, type:
+You can run a subset of zones by choosing the appropriate XPath expression.  For example, to run calculations only for zones with interior mass greater than 5.0 Solar masses and less than 7.0 Solar masses (one Solar mass is 1.9891e33 grams), type:

-** `./run_multiple_zone_omp expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml my_output_1.e51.xml "[optional_properties/property[@name = "mass below"] &gt; 5.0e33]"`**
+** `./run_multiple_zone_omp expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml my_output_1.e51.xml "[optional_properties[property[@name = 'mass below'] &gt; (5.0 * 1.9891e33) and property[@name = 'mass below'] &lt; (7.0 * 1.9891e33)]]"`**

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Wed, 17 Jul 2013 21:34:54 -0000</pubDate><guid>https://sourceforge.net294aa53e80f06125406443d77a03f4a26699b644</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -26,7 +26,7 @@

 ** `./project_make` **

-The project compiled successfully if you see *Make succeeded.*  Otherwise, contact a project member for help.
+The project compiled successfully if you see *Make succeeded.*   Otherwise, please submit a Ticket or make a post to the Discussion board (see links above).

 ##### Running the simple explosion code. #####

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Mon, 24 Jun 2013 20:12:26 -0000</pubDate><guid>https://sourceforge.netb9cad3f87badb45a294973659421f5442ab451fc</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -46,7 +46,7 @@

 ** `./run_single_zone expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml "[@label1 = '600']" my_output_600.xml`**

-You can analyze this file with the analysis codes as described in this [blog post](https://sourceforge.net/u/mbradle/blog/2012/07/analyzing-a-first-network-calculation/).  The zones in this output file are the time dumps during the calculation.
+You can analyze the output file *my_output_600.xml* with the analysis codes as described in this [blog post](https://sourceforge.net/u/mbradle/blog/2012/07/analyzing-a-first-network-calculation/).  The zones in this output file are the time dumps during the calculation.

 ##### Running the multi-zone nucleosynthesis code. #####

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Tue, 11 Jun 2013 02:53:28 -0000</pubDate><guid>https://sourceforge.net43b6e3df304a2a2c77b87cdf5b093c2dc3fb0549</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -6,26 +6,65 @@

 If you have not previously done so, install the necessary [libraries].  Next, if you have not previously done so, create a projects directory:

-** mkdir projects **
+** `mkdir projects` **

 Change into the projects directory:

-** cd projects **
+** `cd projects` **

 Now you can checkout the project:

-** svn checkout svn://svn.code.sf.net/p/nucnet-projects/code/trunk/projects/simple_snII **
+** `svn checkout svn://svn.code.sf.net/p/nucnet-projects/code/trunk/projects/simple_snII`**

 ##### Compiling the executables. #####

 Change into the project directory:

-** cd simple_snII **
+** `cd simple_snII` **

 and compile the codes:

-** ./project_make **
+** `./project_make` **

 The project compiled successfully if you see *Make succeeded.*  Otherwise, contact a project member for help.

+##### Running the simple explosion code. #####
+
+Create a presupernova model xml file.  For illustration, we will use the *../nucnet-tools-code/data_pub/s15a28a28_presn.xml* created in the [rauscher_xml] tutorial.  To run the explosion code for an explosion energy of 1.0 B (1 B = 1 [Bethe](http://en.wikipedia.org/wiki/Foe_(unit)) = 1.0 x 10&lt;sup&gt;51&lt;/sup&gt; ergs), type:
+
+** `./simple_snII ../nucnet-tools-code/data_pub/s15a28a28_presn.xml 1.0e51 expl_1.0e51.xml`**
+
+The file *expl_1.0e51.xml* is the output.  Properties in this file may be examined with the codes in the *../nucnet-tools-code/examples/analysis* directory.  The abundances in this file are still the pre-supernova abundances.
+
+##### Running the single-zone nucleosynthesis code. #####
+
+Get the data to run the nucleosynthesis codes by typing
+
+** `make simple_snII_data`**
+
+Now run the single-zone code for a particular zone.  For example, to run the code for the zone with label1 = 600, type:
+
+** `./run_single_zone expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml "[@label1 = '600']" my_output_600.xml`**
+
+You can analyze this file with the analysis codes as described in this [blog post](https://sourceforge.net/u/mbradle/blog/2012/07/analyzing-a-first-network-calculation/).  The zones in this output file are the time dumps during the calculation.
+
+##### Running the multi-zone nucleosynthesis code. #####
+
+If you have not already done so, get the data for the nucleosynthesis calculations:
+
+** `make simple_snII_data`**
+
+Now run the multi-zone code for all zones by typing:
+
+** `./run_multiple_zone_omp expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml my_output_1.e51.xml ""`**
+
+The zones in the output file *my_output_1.0e51.xml* contain the final mass fractions of each zone at the end of the calculation.  You can use the *nucnet-tools-code/examples/analysis* codes to study the output, but remember the zones now represent the different spatial zones in the supernova, not time dumps.
+
+You can run a subset of zones by choosing the appropriate XPath expression.  For example, to run calculations only for zones with interior mass larger than 5.0e33 grams, type:
+
+** `./run_multiple_zone_omp expl_1.0e51.xml ../nucnet-tools-code/data_pub/simple_snII__zone.xml my_output_1.e51.xml "[optional_properties/property[@name = "mass below"] &gt; 5.0e33]"`**
+
+
+
+
 [[members]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Tue, 11 Jun 2013 02:34:09 -0000</pubDate><guid>https://sourceforge.net05bf27aa137b88e306ac65ca008c0ed3d01808e2</guid></item><item><title>simple_snII modified by Bradley S. Meyer</title><link>https://sourceforge.net/p/nucnet-projects/wiki/simple_snII/</link><description>&lt;div class="markdown_content"&gt;&lt;h3 id="simple_snii"&gt;simple_snII&lt;/h3&gt;
&lt;p&gt;This project computes simple models of the passage of a shock through the layers of a massive star and the attendant nucleosynthesis.&lt;/p&gt;
&lt;h5 id="installing-the-project"&gt;Installing the project.&lt;/h5&gt;
&lt;p&gt;If you have not previously done so, install the necessary &lt;a class="alink" href="/p/nucnet-projects/wiki/libraries/"&gt;[libraries]&lt;/a&gt;.  Next, if you have not previously done so, create a projects directory:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; mkdir projects &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Change into the projects directory:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; cd projects &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now you can checkout the project:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; svn checkout svn://svn.code.sf.net/p/nucnet-projects/code/trunk/projects/simple_snII &lt;/strong&gt;&lt;/p&gt;
&lt;h5 id="compiling-the-executables"&gt;Compiling the executables.&lt;/h5&gt;
&lt;p&gt;Change into the project directory:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; cd simple_snII &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and compile the codes:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; ./project_make &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The project compiled successfully if you see &lt;em&gt;Make succeeded.&lt;/em&gt;  Otherwise, contact a project member for help.&lt;/p&gt;
&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/mbradle/"&gt;Bradley S. Meyer&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley S. Meyer</dc:creator><pubDate>Wed, 05 Jun 2013 03:13:48 -0000</pubDate><guid>https://sourceforge.neta2e182775f878181a6d8a0b4501a25ae9a63aa70</guid></item></channel></rss>