Skip to content

Releases: Davide-sd/pygasflow

pygasflow v1.3.0

26 Dec 11:05
Compare
Choose a tag to compare

What's Changed

  • Added global option pygasflow.defaults.solver_to_dict in order to force all solvers to return a dictionary of results if it's set to True.

  • Added new functions:

    • gas_solver
    • ideal_gas_solver
    • sonic_condition
    • normal_shockwave_solver
    • oblique_shockwave_solver as an alias to the old name shockwave_solver. This new name makes it impossible to confuse it with other shockwave solvers.
  • Added a new sub-module, pygasflow.interactive, which provides a web-based GUI (graphical user interface) to many of the functionalities of the module, implemented with holoviz panel. The GUI allows:

    • for an easier and non-programmatic way of getting quick results.
    • to easily explore different configurations.
    • reliability: over the years there have been many web-based compressible flow GUIs on the internet. However, they are not guaranteed to exists forever. On the other hand, this sub-module is part of pygasflow, and it will always be readily available should the user needs it.
  • Added a new sub-module, pygasflow.interactive.diagram, which provides functionalities to quickly creates diagram related to compressible flows, like isentropic diagram, Fanno diagram, oblique shock diagram, shock polar diagram, etc.

  • Added PressureDeflectionLocus and PressureDeflectionDiagram to easily create pressure-deflection diagrams and compute related quantities.

  • Improved reliability of sonic_point_oblique_shock and sonic_point_conical_shock.

  • Fixed bug with oblique_shockwave_solver and propagation of the specific heats ratio when the flow deflection angle and the shock wave angle were provided as input arguments.

  • Fixed bug with m_from_critical_temperature_ratio and propagation of the specific heats ratio.

  • Fixed bug with mach_from_theta_beta, which computed a wrong Mach number for the special case beta=90, theta=0.

  • Fixed bug with some functions that computed wrong results when integer numbers were provided as arguments.

  • Fixed bug with shock_polar and propagation of a parameter to other functions.

  • Fixed functions that raised RuntimeWarning: divide by zero encountered in divide.

  • Fixed bug with data not being loaded by the module.

  • DEPRECATIONS: here is a list of newly introduced deprecations. See this documentation page to understand the motivations.

    • The following is a list of parameter names used by oblique_shockwave_solver and conical_shockwave_solver which are now deprecated:

      • "m1" indicated the upstream Mach number. "mu" should be used instead.
      • "mn1" indicated the upstream normal Mach number. "mnu" should be used instead.
      • "m2" indicated the downstream Mach number. "md" should be used instead.
      • "mn2" indicated the downstream normal Mach number. "mnd" should be used instead.
      • "m" indicated the upstream Mach number of a conical shock wave.
        "mu" should be used instead.

      These changes also applies to the dictionary of results, if the solver was executed with the keyword argument to_dict=True.

    • beta_theta_max_for_unit_mach_downstream has been deprecated in favor of sonic_point_oblique_shock.

    • beta_from_mach_max_theta has been deprecated in favor of detachment_point_oblique_shock.

    • beta_theta_c_for_unit_mach_downstream has been deprecated in favor of sonic_point_conical_shock.

  • BREAKING:

    • Removed classes Ideal_Gas and Flow_State from pygasflow.utils.common as no longer useful to the module.
    • Refactoring of pygasflow.nozzles and pygasflow.solver.de_laval in order to use the holoviz param module, which allows for a more robust code base while also providing the foundation for interactive applications. In particular, De_Laval_Solver, CD_Conical_Nozzle, CD_TOP_Nozzle, CD_Min_Length_Nozzle are no longer compatible with previous versions of the module.

pygasflow v1.3.0rc1

26 Dec 10:18
Compare
Choose a tag to compare
pygasflow v1.3.0rc1 Pre-release
Pre-release
added python 3.13 to tests

pygasflow v1.2.2

06 Nov 14:29
Compare
Choose a tag to compare
removing python 3.13 as cantera is still no ready

pygasflow v1.2.1

06 Nov 13:58
Compare
Choose a tag to compare

What's Changed

  • Fix import for aerothermodynamics sub-module.
  • Updated doctest outputs to the format used by NumPy >= 2.0.0.

pygasflow v1.2.0

30 Oct 21:26
Compare
Choose a tag to compare

What's Changed

  • Added oblique_mach_downstream to pygasflow.shockwave. Thank you Dr. Chad File for this contribution.
  • Added support for Numpy >= 2.0.0. Thank you David Chartrand for this contribution.
  • Fixed conda packaging.

pygasflow v1.1.1

12 Jan 18:29
Compare
Choose a tag to compare

What's Changed

Included build for Python 3.11.

pygasflow v1.1.0

27 Mar 08:54
Compare
Choose a tag to compare

What's Changed

  • Added aliases to solvers:

    • ise for isentropic_solver.
    • fan for fanno_solver.
    • ray for rayleigh_solver.
    • ss for shockwave_solver.
    • css for conical_shockwave_solver.
  • Added Aerothermodynamic module (pygasflow.atd):

    • correlations to compute boundary layer thickness, heat flux, wall shear stress.
    • functions to compute the pressure distribution and aerodynamic characteristics with the Newtonian (and modified Newtonian) flow theory.

pygasflow v1.0.6

11 Feb 15:17
Compare
Choose a tag to compare

What's Changed

  • added to_dict keyword argument to solvers.
  • Improved doctests
  • Added latex equations to ReadTheDocs documentation
  • Added examples to ReadTheDocs documentation
  • Added linkcode resolve to documentation

pygasflow v1.0.5

10 Feb 12:24
Compare
Choose a tag to compare

What's Changed

  • Updated README
  • Released conda and pypi packages

pygasflow v1.0.2

09 Feb 22:56
Compare
Choose a tag to compare

What's Changed

  • Added Sphinx Documentation and doctests.
  • Added plot method to nozzles.
  • Improved Tests.