fluidsim merge requestshttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests2022-10-26T21:20:13Zhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/317Topic/default/movies in core2022-10-26T21:20:13ZPierre AugierTopic/default/movies in corePierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/316Interactive animations without Jupyter2022-10-11T22:37:03ZPierre AugierInteractive animations without JupyterPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/315Prepare release of version 0.6.12022-09-07T12:53:29ZPierre AugierPrepare release of version 0.6.1Another step for #117Another step for #117Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/314New release candidate version 0.6.1rc12022-09-05T14:33:46ZPierre AugierNew release candidate version 0.6.1rc1Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/313Fix AttributeError signal.SIGUSR2 on Windows2022-09-05T14:04:33ZPierre AugierFix AttributeError signal.SIGUSR2 on WindowsPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/312Prepare release version 0.6.1rc02022-09-05T10:04:51ZPierre AugierPrepare release version 0.6.1rc0First steps for #117First steps for #117Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/311Fix/improve doc fluidsim/base/output2022-09-02T15:37:57ZPierre AugierFix/improve doc fluidsim/base/outputPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/310Fix get_mean_values_from_path2022-09-02T15:01:30ZPierre AugierFix get_mean_values_from_pathPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/309Output horizontal spatial means2022-09-02T08:50:08ZPierre AugierOutput horizontal spatial meansThis MR implement a new output class computing horizontal averages for the ns3d solver. It could be especially interesting for the Kolmogorov flow with LES models.
It becomes a bit more complicated for MPI simulations and this case is n...This MR implement a new output class computing horizontal averages for the ns3d solver. It could be especially interesting for the Kolmogorov flow with LES models.
It becomes a bit more complicated for MPI simulations and this case is not implemented at that time.Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/308turbulence models with extend_simul_class2022-09-01T09:48:36ZPierre Augierturbulence models with extend_simul_classThis is a quite foundational MR which fixes #116 (Simple LES and RANS models added with `extend_simul_class`).
There are quite a lot of changes at different levels:
- Base fluidsim things (in `fluidsim/base/solvers`, `fluidsim/base/for...This is a quite foundational MR which fixes #116 (Simple LES and RANS models added with `extend_simul_class`).
There are quite a lot of changes at different levels:
- Base fluidsim things (in `fluidsim/base/solvers`, `fluidsim/base/forcing`, `fluidsim/base/turb_model/base.py`). Just interesting for fluidsim core developers.
- Implementation of a model (class `SmagorinskyModel` in `fluidsim/base/turb_model/smagorinsky.py`)
- Testing (`fluidsim/base/turb_model/test_turb_model.py`)
- Examples (`doc/examples/kolmo_flow` and `doc/test_cases/Taylor_Green_vortices/run_simul_les_smago.py`)
If you want to take inspiration to implement another model, you should look only at `fluidsim.base.turb_model.smagorinsky.SmagorinskyModel` and the associated test class.
More work needed on this subject:
- For now, it works only for the `ns3d` solver
- The outputs do not take into account the forcing added by the turbulent model (see for example `sim.output.spatial_means.plot_dt_E`)
- It would be nice to improve testing by checking that the model works as expected
- It would be nice to implement the dynamic Smagorinsky model
A question: for now the model is recomputed each time `turb_model.get_forcing` is called, i.e. each time `sim.tendencies_nonlin` is called (for example 4 times per time step for the RK4 time stepping scheme). Would it be sufficient to compute it once per time step?
**Warning:** to try this code, one must really reinstall Fluidsim from source, which means update the source (`hg pull; hg up turb_model`), and then `cd lib; pip install -e .; cd ..` (to install the modified version of `fluidsim_core`) and then `pip install -e .` (to recompile a modified extension).
One can check that everything is fine by running `pytest fluidsim/base/turb_model`.Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/307Kolmogorov flow forcing2022-07-19T11:57:52ZPierre AugierKolmogorov flow forcingPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/306Draft: forcing_anisotropic_3d/toro2022: TGCC2022-07-15T09:53:54ZPierre AugierDraft: forcing_anisotropic_3d/toro2022: TGCCPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/305Topic/default/toro20222022-07-12T11:47:07ZPierre AugierTopic/default/toro2022Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/304Black 22.3.02022-06-03T19:49:53ZPierre AugierBlack 22.3.0Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/303Topic/default/spatiotemporal spectra2022-06-03T20:36:36ZvlabarreTopic/default/spatiotemporal spectraFull lines for spatiotemporal spectra + small correctionsFull lines for spatiotemporal spectra + small correctionsvlabarrevlabarrehttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/302make get_mean_values suport t_last and t_start for tmax and tmin + black2022-06-03T20:14:27Zvlabarremake get_mean_values suport t_last and t_start for tmax and tmin + blackModify `fluidsim.base.output.base.get_mean_values` such that we can pass the following argument:
```
tmin="t_start+?"
tmin="t_last-?"
tmax="t_start+?"
tmax="t_last-?"
```
This is useful when we want to compute the mean values over the la...Modify `fluidsim.base.output.base.get_mean_values` such that we can pass the following argument:
```
tmin="t_start+?"
tmin="t_last-?"
tmax="t_start+?"
tmax="t_last-?"
```
This is useful when we want to compute the mean values over the last (or the first) times only for example.vlabarrevlabarrehttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/301Better _get_mean_values2022-06-02T02:59:40ZPierre AugierBetter _get_mean_valuesPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/300Topic/default/simul toro2022-05-11T09:14:42ZPierre AugierTopic/default/simul toroPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/299simuls-polo2023-03-16T16:48:33Zvlabarresimuls-poloScripts used to run and analyse `ns3d.strat` simulations with a poloidal forcing.Scripts used to run and analyse `ns3d.strat` simulations with a poloidal forcing.https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/298Draft: Topic/default/kolmo law ns3d2024-03-25T10:28:24ZPierre AugierDraft: Topic/default/kolmo law ns3d