Interface GrainConfigutation
- All Known Implementing Classes:
CSlotGrain,EndBurnerGrain,ExtrudedShapeGrain,FinocylGrain,HollowCylinderGrain,MoonBurnerGrain,RodAndTubeGrain,RotatedShapeGrain,StarGrain
public interface GrainConfigutation
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckConfiguration(SolidRocketMotor solidRocketMotor) doublegetBurningArea(double burnProgression) Compute the burning area during burndoublegetGrainEndSurface(double burnProgression) Compute the end grain surface during burndoublegetGrainVolume(double burnProgression) Compute the grain volume during burndoublegetXincp(int numberOfPoints) This method should return the length that will be remove in each computation iteration ex : for hollow cylinder grain this will be : initial web thickness / numberOfPoints
-
Method Details
-
getGrainEndSurface
double getGrainEndSurface(double burnProgression) Compute the end grain surface during burn- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the end grain surface in mm^2
-
getGrainVolume
double getGrainVolume(double burnProgression) Compute the grain volume during burn- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the grain volume in mm^3
-
getBurningArea
double getBurningArea(double burnProgression) Compute the burning area during burn- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the burning area mm^2
-
getXincp
double getXincp(int numberOfPoints) This method should return the length that will be remove in each computation iteration ex : for hollow cylinder grain this will be : initial web thickness / numberOfPoints- Parameters:
numberOfPoints- the number of iteration during the computation- Returns:
- xincp (cf. SRM_2014.xls)
-
checkConfiguration
- Throws:
InvalidMotorDesignException
-