BlasterSim creates 3 control volumes for a pneumatic gun:
barrel
pressure chamber
atmospheric side of the barrel
As shown in figure 1.3, the dead volume is contained only in the barrel in the pneumatic mode. BlasterSim treats the barrel as cylindrical in the cross-sectional area calculation only. Internally, the dead volume is converted to the projectile starting position .
The following variables are in the pneumatic namelist group. If there is a corresponding typeset variable, the notation for that variable is also listed.
Required input variables:
d_barrel (): Inner diameter of the barrel. Floating-point number. Units of mm. Note that the projectile outer diameter is assumed to be the same as the barrel inner diameter for the moment. Also, for projectiles on the outside of the barrel, this value should be the inner diameter of the projectile, not the inner diameter of the barrel.
d_chamber (): Inner diameter of the chamber. Floating-point number. Units of mm. The hydraulic diameter ( where is cross-sectional area and is perimeter) can be used if the chamber is non-cylindrical but still elongated.
d_e (): Effective diameter of the valve. Floating-point number. Units of mm. This includes the vena contracta and energy losses due to turbulence, so the effective area is smaller than the actual area available and could be much smaller than the actual area available. Also, because energy losses due to turbulence are a factor, the effective diameter may not correspond to any actual flow area and only means that the flow restriction acts like an orifice of the effective diameter. This is converted to an effective area internally assuming the area is circular.
l_travel (): Distance the base of projectile moves before exiting the barrel. Floating-point number. Units of mm. Sometimes called the barrel length, which could be misleading as the material the barrel is constructed from is often longer.
m_proj (): Mass of the projectile. Floating-point number. Units of g.
p_chamber (): Initial gauge pressure of the chamber. Floating-point number. Units of kPa.
p_fd_proj (): Magnitude of equivalent pressure of dynamic friction on the projectile. Floating-point number. Units of kPa.
p_fs_proj (): Pressure difference required to overcome static friction on the projectile. Floating-point number. Units of kPa.
vol_chamber (): Volume of the chamber. Floating-point number. Units of mL.
vol_dead (): Dead volume. For pneumatics, this is all the volume from where the valve ends to the base of the projectile. Floating-point number. Units of mL.
Optional input variables:
actual_rc: Expected BlasterSim return code corresponding to experimental muzzle velocity set via actual_v_muzzle. Integer. Default value is -2. Ignored outside of BlasterSim validation tests. Used when the projectile should not expected to exit the barrel by setting actual_rc = 1; see § 3.1.1 for other rc codes. The default actual_rc value of -2 is for when the projectile does leave the barrel.
actual_v_muzzle (): Experimental muzzle velocity for comparison/validation purposes. Floating-point number. Units of m/s. Default value is m/s. Ignored by BlasterSim outside of validation tests, but you can use it to keep track of your own measurements.
actual_v_muzzle_n: Sample size for experimental muzzle velocity measurement. Integer. Default value is 0. Ignored outside of BlasterSim validation tests.
actual_v_muzzle_stdev (): Experimental muzzle velocity standard deviation for comparison/validation purposes. Floating-point number. Units of m/s. Default value is m/s. Ignored by BlasterSim outside of validation tests, but you can use it to keep track of your own measurements.
b (): Critical pressure ratio of the valve. Floating-point number. Unitless. Default value is .
csv_frequency: How many time steps pass before writing a time step to the CSV file. Integer. Default value is .
csv_output: Whether CSV output is enabled or disabled. Boolean. Default value is .true..
dt (): Time step. Floating-point number. Units of s. Default value is s.
p_atm (): Atmospheric pressure. Floating-point number. Units of kPa. Default value is kPa. This is an absolute pressure.
t_opening (): Time required for the valve or flow restriction to fully open. Floating-point number. Units of ms. Default value is ms. See § 2.1.6 for a list of estimated valve opening times.
temp_atm (): Atmospheric temperature. Floating-point number. Units of K. Default value is K ( C).