3.7.8.4.12. Paraview SubfigureΒΆ
The "Paraview" class of subfigure is used to set up Paraview,
specifically pvpython, to create figures for each solution. This
pvpython program, which is part of Paraview, executes a Python script
within the solution folder.
The script has access to the file conditions.json within each solution
folder, which can be used to determine the freestream Mach number, etc. within
the Python script.
The full list of options is shown below.
- S:
dictDictionary of settings for Paraview subfigure
- Type: {
"Tecplot"} |strSubfigure type
- Header: {
""} |strHeading placed above subfigure (bold, italic)
- Position:
"t"|"c"| {"b"}Vertical alignment of subfigure
- Alignment:
"left"| {"center"}Horizontal alignment
- Width: {
0.5} |floatWidth of subfigure as a fraction of page text width
- Layout: {
"layout.py"} |strName of Python script to copy to folder and run with
pvpython- ImageFile: {
"export.png"} |strName of file created by executing script
- Format: {
"png"} |strFormat of image created
- Command: {
"pvpython"} |strCommand used to open layout; can be set to
"python"to just run a raw Python script to create a figure