... | ... | @@ -15,6 +15,23 @@ This function needs the path to the archive file, the path to the variable you w |
|
|
```python
|
|
|
slimPost.extract_one_time_step("myArchive.tar", "output/sw2d/eta", 200, "msh", "my_new_folder", export_all=False)
|
|
|
```
|
|
|
|
|
|
# Extract a time series from one point
|
|
|
|
|
|
A function in slimPost allows to extract the time series of a chosen variable at one particular point
|
|
|
|
|
|
Useful import
|
|
|
|
|
|
```python
|
|
|
import slimPost
|
|
|
```
|
|
|
|
|
|
This function needs the mesh file, the path to the model outputs, the file format (msh or vtk), the first requested time step, the last requested time step, an array with the projected coordinates of the point, the path leading to the output file and the chosen variable (eta, u, v or the name of the tracer).
|
|
|
|
|
|
```python
|
|
|
slimPost.extract_time_series(mesh_file_name, path_input, file_format, T_init, T_final, xyz, output ="data.txt", variable="eta", mesh_order = 1)
|
|
|
```
|
|
|
|
|
|
# Particle tracker
|
|
|
|
|
|
SLIM is able to predict the position of one (or several) particle(s) from the hydrodynamic output.
|
... | ... | |