public class JSRMConfigBuilder extends Object
| Constructor and Description |
|---|
JSRMConfigBuilder() |
| Modifier and Type | Method and Description |
|---|---|
JSRMConfig |
createJSRMConfig()
Build the configuration
|
JSRMConfigBuilder |
withAmbiantPressureInMPa(double ambiantPressureInMPa)
Change local barometric pressure.
|
JSRMConfigBuilder |
withCombustionEfficiencyRatio(double combustionEfficiencyRatio)
Change combustion efficiency ration
|
JSRMConfigBuilder |
withDensityRatio(double densityRatio)
Change density ratio (Grain actual density / Grain ideal density)
|
JSRMConfigBuilder |
withErosiveBurningAreaRatioThreshold(double erosiveBurningAreaRatioThreshold)
Change ratio of core to throat cross-sectional areas, above which no erosive burning occurs
|
JSRMConfigBuilder |
withErosiveBurningVelocityCoefficient(double erosiveBurningVelocityCoefficient)
An empirical constant.
|
JSRMConfigBuilder |
withNozzleEfficiency(double nozzleEfficiency)
Change nozzle efficiency
|
JSRMConfigBuilder |
withNozzleErosionInMillimeter(double nozzleErosionInMillimeter)
Change increase in throat diameter due to erosion
|
JSRMConfigBuilder |
withNozzleExpansionRatio(double nozzleExpansionRatio)
Change ratio of cross-sectional areas of nozzle exit to throat.
|
JSRMConfigBuilder |
withOptimalNozzleDesign(boolean optimalNozzleDesign)
Use automatic calculation to obtain the optimum nozzle expansion ratio.
|
public JSRMConfigBuilder withDensityRatio(double densityRatio)
densityRatio - typically 0.90 to 0.98 (default 0.95)public JSRMConfigBuilder withNozzleErosionInMillimeter(double nozzleErosionInMillimeter)
nozzleErosionInMillimeter - in millimeter (default 0.0mm)public JSRMConfigBuilder withCombustionEfficiencyRatio(double combustionEfficiencyRatio)
combustionEfficiencyRatio - Use 0.95 for fine grain propellant. Use 0.93 for coarse grain propellant (default 0.95)public JSRMConfigBuilder withAmbiantPressureInMPa(double ambiantPressureInMPa)
ambiantPressureInMPa - typically 0.101 MPa at sea level (default 0.101Mpa)public JSRMConfigBuilder withErosiveBurningAreaRatioThreshold(double erosiveBurningAreaRatioThreshold)
erosiveBurningAreaRatioThreshold - (default 6.0)public JSRMConfigBuilder withErosiveBurningVelocityCoefficient(double erosiveBurningVelocityCoefficient)
erosiveBurningVelocityCoefficient - Typically 0.0 to 1.0 (default 0.0)public JSRMConfigBuilder withNozzleEfficiency(double nozzleEfficiency)
nozzleEfficiency - For a well-contoured, smooth nozzle, typically 0.75 to 0.85 (default 0.85)public JSRMConfigBuilder withOptimalNozzleDesign(boolean optimalNozzleDesign)
optimalNozzleDesign - If set to false, you have to set nozzle expansion ratio with .withNozzleExpansionRatio()public JSRMConfigBuilder withNozzleExpansionRatio(double nozzleExpansionRatio)
nozzleExpansionRatio - the expansion ratiopublic JSRMConfig createJSRMConfig()
Copyright © 2019. All rights reserved.