Skip to content

v0.4.8 Continued Commitmment

Compare
Choose a tag to compare
@Prethea-Phoenixia Prethea-Phoenixia released this 28 Dec 11:03
· 107 commits to main since this release

Changelog

These changelog details major changes as compared to v0.4.7.

Feature:

  • Save and Load calculator state.
    The current state of all inputs can be saved to a JSON file. One such example (D-81) is given in the example folder.
  • Length-Known Constrained-Solving.
    With this option selected, calculator will respect the barrel length specified by the user, and velocity sanity checks will be suppressed. This enables the calculation of performance under different conditions for a known or existing gun.
  • Constrained-Solving targeting different pressure points.
    In all modes, now can be set to target either base pressure, average pressure or breech pressure. This enables comparison with literature that uses any pressure as specification.
  • Burn Rate Fudging.
    This enables the modification of burn rate by a flat percentage at all pressure conditions, as this practice is commonly used to match calculation data with experiment
  • Pressure Distribution
    Pressure distribution in bore, i.e. the P-x curve, is plotted in a new graph widget. Each line illustrates the pressure-displacement of gas distribution behind the shot. The density of sampling is dependent on the sampling, which sets the number of equi-distance points that the calculator will poll, which does, for the first time, create a coupling of display with calculation. This data is required by the gun-mass estimation, which in turn propagates this dependence. Since these functionality are considered secondary to the interior ballistic problem that this calculator solves, this is not viewed as too much of a concern, but it is something to keep in mind.
  • Gun Mass estimation.
    Two broad techniques implemented for both gun and recoiless rifle, for the breech/nozzle, the chamber, and the gun bore. Conventional construction has a relatively low limit to tolerable stresses, where Autofrettage techniques assumes independent manufacturing of the bore and the chamber where each can be autofrettaged up to the entirety of their width to best suit its pressure regime. When possible, the bore is to be less wide than the chamber, and for RR in turn smaller in diameter than the nozzle intake.nBarrel constructed this way is in theory not limited in maximum pressure capacity except for practicality.
    A structural safety factor is added for all structural component. A set safety factor is not the most satisfactory treatment, as both the breech, the chamber, and transitional regions, as well as the bore near the muzzle are where a higher-than average safety factory is typically required. As well, no considerations w.r.t barrel harmonics, etc are taken into account. Therefore the calculated mass is to be taken as a relative figure-of-merit for the guidance of design selection. Typically, the calculated values underestimates real world gun masses.
    Note that calculation of gun mass is dependent on sampling density. If the amount of samples is set too low then the corresponding hull shape will also be crude. Both the numerical result is shown in the information panel, as well as the calculated hull trace, in the auxiliary plot.

Data:

  • Added WC-series, IMR series and CMR-160 propellant from ADA086093
  • Added two prototypical gun material, standing in for generic aluminum and gun steel.

UI:

  • Reworked the UI: detail at the left, graphing in the center, parameters input at the right.
  • Graph widget now includes
  • Added graph widget to display pressure-distribution and hull-trace on demand (see above)

Others:

  • Executable is compiled on Python 3.8.18 to maintain Windows 7 compatibility.

Minor Update 0.4.8.1 (Jan.7th 2024):

  • Fixed a pressure trace problem with conventional gun. Affects mass and hull calculation.