|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Functions | |
| load_spectra_helpers () | |
| Import the PICGRID and PETSc-Vec readers from generators/spectra.gen. | |
| find_payload (checkpoint_dir, window, field, moment, block) | |
| Locate one statistics-window payload inside a checkpoint bundle. | |
| homogeneous_average (numpy, field, wall_kji) | |
| Average a cell array over both directions that are not the wall-normal one. | |
| main (argv=None) | |
| Entry point. | |
Variables | |
| REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..", "..")) | |
| SPECTRA_GEN = os.path.join(REPO_ROOT, "generators", "spectra.gen") | |
| dict | AXIS_TO_KJI = {"Xi": 2, "Eta": 1, "Zeta": 0} |
| dict | AXIS_TO_COMPONENT = {"Xi": 0, "Eta": 1, "Zeta": 2} |
| wall_normal_profile.load_spectra_helpers | ( | ) |
Import the PICGRID and PETSc-Vec readers from generators/spectra.gen.
Definition at line 52 of file wall_normal_profile.py.
| wall_normal_profile.find_payload | ( | checkpoint_dir, | |
| window, | |||
| field, | |||
| moment, | |||
| block | |||
| ) |
Locate one statistics-window payload inside a checkpoint bundle.
| [in] | checkpoint_dir | Checkpoint directory holding the window payloads. |
| [in] | window | Window name from monitor.yml. |
| [in] | field | Field name, e.g. Ucat. |
| [in] | moment | Moment name, e.g. first or second. |
| [in] | block | Block index. |
Definition at line 66 of file wall_normal_profile.py.
| wall_normal_profile.homogeneous_average | ( | numpy, | |
| field, | |||
| wall_kji | |||
| ) |
Average a cell array over both directions that are not the wall-normal one.
| [in] | numpy | The numpy module. |
| [in] | field | Cell array shaped (nk, nj, ni) or (nk, nj, ni, 3). |
| [in] | wall_kji | Index of the wall-normal axis in (k, j, i) order. |
Definition at line 97 of file wall_normal_profile.py.
| wall_normal_profile.main | ( | argv = None | ) |
Entry point.
| [in] | argv | Command-line style argument list supplied to the function. |
Definition at line 109 of file wall_normal_profile.py.
| wall_normal_profile.REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..", "..")) |
Definition at line 43 of file wall_normal_profile.py.
| wall_normal_profile.SPECTRA_GEN = os.path.join(REPO_ROOT, "generators", "spectra.gen") |
Definition at line 44 of file wall_normal_profile.py.
| dict wall_normal_profile.AXIS_TO_KJI = {"Xi": 2, "Eta": 1, "Zeta": 0} |
Definition at line 47 of file wall_normal_profile.py.
| dict wall_normal_profile.AXIS_TO_COMPONENT = {"Xi": 0, "Eta": 1, "Zeta": 2} |
Definition at line 49 of file wall_normal_profile.py.