File: plot_examples.rst

package info (click to toggle)
rocketcea 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 39,944 kB
  • sloc: fortran: 23,152; python: 9,235; pascal: 370; makefile: 168; sh: 9
file content (55 lines) | stat: -rw-r--r-- 1,241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.. plot_examples

Plot Examples
=============

The following examples show easy approaches to plotting RocketCEA results.

Copy and Paste any of the code below into your text editor, save it and run it.
(For many text editors, hitting the **F5** key will execute the code)
    
Cstar Plot
----------

The script below plots Cstar Values for LOX/LH2 for several values of chamber pressure
and a range of mixture ratio.

.. literalinclude:: ./_static/example_scripts/cea_cstar_plot.py


.. image:: ./_static/example_scripts/cea_cstar_plot.png
    :width: 45%
    
`Click images to see full size`

Isp Plot
--------

Plot several area ratios over a range of mixture ratio.

.. literalinclude:: ./_static/example_scripts/cea_plot.py

    
.. image:: ./_static/example_scripts/cea_plot.png
    :width: 45%
    
`Click images to see full size`
    
Isp Comparisons
---------------

Compare propellant combinations. 

Notice that the plots are sorted by max Isp to make them easier to interpret.
    
.. literalinclude:: ./_static/example_scripts/cea_compare2.py

    
.. image:: ./_static/example_scripts/cea_compare2.png
    :width: 45%
    
.. image:: ./_static/example_scripts/cea_compare3.png
    :width: 45%

`Click images to see full size`