public class HollowCylinderGrain extends Object implements GrainConfigutation
| Constructor and Description |
|---|
HollowCylinderGrain(double outerDiameter,
double coreDiameter,
double segmentLength,
int numberOfSegment,
GrainSurface outerSurface,
GrainSurface endsSurface,
GrainSurface coreSurface)
Create an Hollow cylindrical propellant grain
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkConfiguration(SolidRocketMotor solidRocketMotor) |
double |
getBurningArea(double burnProgression)
Compute the burning area during burn
|
double |
getGrainEndSurface(double burnProgression)
Compute the end grain surface during burn
|
double |
getGrainVolume(double burnProgression)
Compute the grain volume during burn
|
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
|
public HollowCylinderGrain(double outerDiameter,
double coreDiameter,
double segmentLength,
int numberOfSegment,
GrainSurface outerSurface,
GrainSurface endsSurface,
GrainSurface coreSurface)
outerDiameter - outer grain diameter in millimetercoreDiameter - core grain diameter in millimetersegmentLength - the length of a segment gran in millimeter. Example : if using 4 grains of 34mm each, segmentLength is 34.numberOfSegment - the number of segmentouterSurface - outer surface is exposed to combustion or inhibitedendsSurface - end segments surface are exposed to combustion or inhibitedcoreSurface - core surface is exposed to combustion or inhibitedpublic double getGrainEndSurface(double burnProgression)
GrainConfigutationgetGrainEndSurface in interface GrainConfigutationburnProgression - (0 to 1, 0 = before burn start ; 1 = grain completly burn)public double getGrainVolume(double burnProgression)
GrainConfigutationgetGrainVolume in interface GrainConfigutationburnProgression - (0 to 1, 0 = before burn start ; 1 = grain completly burn)public double getBurningArea(double burnProgression)
GrainConfigutationgetBurningArea in interface GrainConfigutationburnProgression - (0 to 1, 0 = before burn start ; 1 = grain completly burn)public double getXincp(int numberOfPoints)
GrainConfigutationgetXincp in interface GrainConfigutationnumberOfPoints - the number of iteration during the computationpublic void checkConfiguration(SolidRocketMotor solidRocketMotor) throws InvalidMotorDesignException
checkConfiguration in interface GrainConfigutationInvalidMotorDesignExceptionCopyright © 2019. All rights reserved.