Figure 26

  Run the single-zone calculation to create the output XML file my_output_345_1.0e51_neutrinos_doubled_updated_rates_alpha_0.2.xml in the directory projects/nucnet-tools-code/data_pub/s15a28a28/. Be sure to indicate, in projects/nucnet-tools-code/data_pub/simple_snII__zone.xml, the name of the file that will contain the currents. Now change into the projects/nucnet-tools-code/examples/graph/ directory and compile the flow code:

cd ~/projects/nucnet-tools-code/examples/graph/  
 
export NNT_MY_USER=1  
 
make all_graph

Once the codes have compiled, create a pdf file showing the flows at the appropriate time dump. For example, to create the figure for flows at time dump number 10, type

./flow_graph.sh ../../data_pub/s15a28a28/my_output_345_1.0e51_neutrinos_doubled_updated_rates_alpha_0.2.xml "" "" "[position() = 10]" "[z >= 3 and z <= 10 and a - z >= 4 and a - z <= 11]" net linear flows_345_1_0e51_neutrinos_doubled_updated_rates_alpha_0_2_10.pdf

The output is the pdf file flows_345_1_0e51_neutrinos_doubled_updated_rates_alpha_0_2_10.pdf. Note that the diagram has text showing the time, temperature, density, and maximum flow. You can crop the figure to get rid of that text.

  It is also possible to create a pdf file showing the flows at all time dumps:

./flow_graph.sh ../../data_pub/s15a28a28/my_output_345_1.0e51_neutrinos_doubled_updated_rates_alpha_0.2.xml "" "" "" "[z >= 3 and z <= 10 and a - z >= 3 and a - z <= 12]" net linear flows_345_1_0e51_neutrinos_doubled_updated_rates_alpha_0_2_all.pdf

The flows for a given time dump are on one of the pages of the output pdf file. You can then select the particular time dump(s) you want and save them to another pdf file. The code places the output files in the projects/nucnet-tools-code/examples/graph/ directory. You may choose to move them to the projects/nucnet-tools-code/data_pub/s15a28a28/ directory, where they will reside with the other data files.

For more on flow diagrams, please see https://sourceforge.net/u/mbradle/blog/2013/06/changing-scalings-in-flow-diagrams/ and related posts.