Class StarGrain
java.lang.Object
com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedGrain
com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedShapeGrain
com.github.jbgust.jsrm.application.motor.grain.StarGrain
- All Implemented Interfaces:
GrainConfigutation
- Author:
- Bill Kuker https://github.com/bkuker/motorsim
-
Field Summary
Fields inherited from class com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedShapeGrain
xsection -
Constructor Summary
ConstructorsConstructorDescriptionStarGrain(double outerDiameter, double innerDiameter, double pointDiameter, int pointCount, int numberOfSegment, double segmentLength, GrainSurface endSurface) -
Method Summary
Methods inherited from class com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedShapeGrain
getBurningArea, getGrainEndSurface, getGrainVolume, getXincp, webThicknessMethods inherited from class com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedGrain
getLength, isAftEndInhibited, isForeEndInhibited, numberOfBurningEnds, regressedLength, setAftEndInhibited, setForeEndInhibited, setLength
-
Constructor Details
-
StarGrain
public StarGrain(double outerDiameter, double innerDiameter, double pointDiameter, int pointCount, int numberOfSegment, double segmentLength, GrainSurface endSurface) - Parameters:
outerDiameter- External grain diameterinnerDiameter- Distance from grain center to star inner pointspointDiameter- Distance from grain center to star outer pointpointCount- Number of star branchesnumberOfSegment- Number of segmentsegmentLength- Length of the grainendSurface- end segments surface are exposed to combustion or inhibited
-
-
Method Details
-
getNumberOfSegments
public int getNumberOfSegments()- Specified by:
getNumberOfSegmentsin classExtrudedShapeGrain
-
checkConfiguration
public void checkConfiguration(SolidRocketMotor solidRocketMotor) throws InvalidMotorDesignException - Throws:
InvalidMotorDesignException
-