To upgrade to the latest version of flowdyn
use pip
:
pip install flowdyn --upgrade
You can determine your currently installed version using this command:
pip show flowdyn
1.3.x (2022-xx-xx)
new stats_solutions()
function for solution lists (main and max)
1.3.1 (2022-03-03)
integration.restart
function similar tointegration.solve
without initialization- solution lists
fieldlist
has new.extend()
function - new
xtcontour
andxtcontourf
plots fromfieldlist
- monitors outputs are removed when using
integration.solve
- add support of python 3.10
- fix outputs if (tsave) times before first solution time
1.3.0 (2021-11-05)
- Finite Volume method on 2D cartesian grids
- 'extrapol2d1' and 'extrapol2dk' linear extrapolation (1st to 3rd order)
- geometric symmetry or periodic conditions, or model based
- euler 2d model on cartesian grids
- 'hlle' and 'centered' flux
- set of 2d variables
- 'insup', 'insub', 'ousub', 'outsub' conditions
- new subsonic inlet/oulet boundary condition for
euler1d
modelinsub_cbc
with stagnation parameters but more stableoutsub_rh
able to trigger shock wave even in supersonic flow
field.semilogy('name')
for semi-logarithmic plots- specific
fieldlist
object output from integration - monitoring features:
- new monitor
data_average
- monitor type handled via monitor name or type
- monitor class provides plotting functions
- new monitor
1.2.0 (2021-06-05)
- shallow water model
modelphy.shallowwater
- new subsonic outlet boundary condition for
euler1d
modeloutsub_prim
as a legacy primitive variables set, same asoutsub
outsub_qtot
computed withp
parameter andptot
andrttot
extrapolationoutsub_nrcbc
for non-reflective characteristics conditions
- new option to
timemodel.solve
: stop parameter with dictionarytottime
ormaxit
- new monitoring feature to
timemodel.solve
- bad initialization of cpu time computation in
show_perf()
for successive integration - fix
solution.nozzle
for fully supersonic cases
1.1.2 (2021-04-17)
- add
asound
variable toeuler
model
- fix MUSCL vanleer limiter (defective since 1.1.0)
1.1.1 (2021-04-06)
- bug fix in 1d euler supersonic inlet condition
1.1.0 (2021-03-10)
- Runge-Kutta methods
rk2_heun
and'rk3_heun
from Heun - low storage Runge-Kutta (LSRK) methods from Hu and Hussaini
- LSRK implementation of Bogey and Bailly
lsrk25bb
and `lsrk26bb``
- analytical 1D solution for nozzle flows in
solution.euler_nozzle
- improve test coverage
- optimize some mesh computation
- allow additional sources in (source based)
nozzle
euler model euler1d
andnozzle
models have newmassflow
output variable
- avoid warnings with
vanalbada
andvanleer
limiters when uniform flows
1.0.1 (2021-01-29)
- fix computation of
modelphy.euler
supersonic inlet condition
1.0.0 (2021-01-27)
- models: convection, Burgers, Euler and derived (nozzle)
- Finite Volume method for 1d mesh
- numerical methods: linear 1st to 3rd order extrapolation ; MUSCL method and associated limiters
- integrators: explicit, Runge-Kutta, implicit