fluidsim merge requestshttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests2020-07-06T09:14:50Zhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/157add Kz to spectra_kzkh2020-07-06T09:14:50ZJason Reneuveadd Kz to spectra_kzkhAdded `Kz` to `dict_kzkh` of spectra to be saved in `ns3d.strat.output.spectra.compute`.Added `Kz` to `dict_kzkh` of spectra to be saved in `ns3d.strat.output.spectra.compute`.https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/156Topic/default/phaseshift3d2020-06-26T10:51:20ZPierre AugierTopic/default/phaseshift3dTo do:
- [x] transonic
- [x] random phaseshift for 2d and 3dTo do:
- [x] transonic
- [x] random phaseshift for 2d and 3dPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/155Dealiasing with phase-shifting (1D, forward Euler and RK2)2020-06-10T07:44:50ZPierre AugierDealiasing with phase-shifting (1D, forward Euler and RK2)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/154Split time_stepping.start into init, main_loop and finalize2020-05-26T09:56:51ZPierre AugierSplit time_stepping.start into init, main_loop and finalizeI'd like to be able to modify the time_stepping parameters during a simulation.
We need to extend the API, since `sim.time_stepping.start` is responsible for
1. the initialization
2. the main time loop
3. closing files (by calling `sim...I'd like to be able to modify the time_stepping parameters during a simulation.
We need to extend the API, since `sim.time_stepping.start` is responsible for
1. the initialization
2. the main time loop
3. closing files (by calling `sim.__exit__`)
I propose to add 2 new public methods:
- `sim.time_stepping.main_loop`
- `sim.time_stepping.finalize_after_main_loop`
Remarks/suggestions very welcome! (CC @avmo)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/153Fix and improve ns3d2020-05-19T13:17:29ZPierre AugierFix and improve ns3dPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/152Topic/default/fix period forcing watu2020-05-19T11:53:45ZJason ReneuveTopic/default/fix period forcing watuFixed problems with continuity/periodicity of the forcing velocity signal in watu_coriolis.Fixed problems with continuity/periodicity of the forcing velocity signal in watu_coriolis.https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/151Hide stdout2020-05-18T09:21:34ZPierre AugierHide stdoutPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/150Improve ns3d/strat/output2020-05-15T20:12:59ZPierre AugierImprove ns3d/strat/output@jreneuve The plot of fluxes was not tested at all! It explains why it recently broke!@jreneuve The plot of fluxes was not tested at all! It explains why it recently broke!Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/149Improve name_run and summary_simul for ns3d.strat solver2020-05-14T20:14:08ZPierre AugierImprove name_run and summary_simul for ns3d.strat solverPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/148dont load info_simul2020-05-12T08:55:39ZJason Reneuvedont load info_simulAdded `info_simul` to the list of keys that *don't need* to be loaded from the h5 file.Added `info_simul` to the list of keys that *don't need* to be loaded from the h5 file.https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/147Topic/default/sim repr maker2020-05-12T21:22:10ZPierre AugierTopic/default/sim repr makerNew method to compute the names of the simulations (and also finally a short representation that can be used for plotting).
Warning: it breaks the internal API so be careful!
CC @avmoNew method to compute the names of the simulations (and also finally a short representation that can be used for plotting).
Warning: it breaks the internal API so be careful!
CC @avmoPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/146Topic/default/init name run2020-05-10T15:02:09ZPierre AugierTopic/default/init name runPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/145Better plot spectra ns3d (fix #51)2020-05-05T10:04:40ZPierre AugierBetter plot spectra ns3d (fix #51)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/144Topic/default/milestone3d (fix #53)2020-05-01T13:34:58ZPierre AugierTopic/default/milestone3d (fix #53)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/143Fix dealiasing nl1d (fix #54)2020-05-01T12:39:50ZPierre AugierFix dealiasing nl1d (fix #54)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/142phys_fields: less ValueErrors when field is None (fix #44)2020-04-28T13:16:49ZPierre Augierphys_fields: less ValueErrors when field is None (fix #44)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/141forward Euler test2020-04-26T15:11:33ZJason Reneuveforward Euler testsimple implementation of forward Euler.
Not sure about a few things:
1) I don't know about transonic, so I didnt implement the transpiled blocks
2) I don't know what the CFL number should be for forward Euler, so I set it to be the ...simple implementation of forward Euler.
Not sure about a few things:
1) I don't know about transonic, so I didnt implement the transpiled blocks
2) I don't know what the CFL number should be for forward Euler, so I set it to be the same as for RK2 (more restrictive)https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/140Topic/default/spatial means ns3d (fix #50)2020-04-26T13:33:16ZPierre AugierTopic/default/spatial means ns3d (fix #50)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/139Topic/default/plot summary ns3d (fix #47)2020-04-26T15:13:08ZPierre AugierTopic/default/plot summary ns3d (fix #47)@jreneuve
Can you have a look at this? Which options would be useful for plot_summary.@jreneuve
Can you have a look at this? Which options would be useful for plot_summary.Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/138Topic/default/milestone3d2020-04-21T16:08:14ZPierre AugierTopic/default/milestone3dPierre AugierPierre Augier