Class ExtrudedShapeGrain
java.lang.Object
com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedGrain
com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedShapeGrain
- All Implemented Interfaces:
GrainConfigutation
- Direct Known Subclasses:
CSlotGrain,FinocylGrain,MoonBurnerGrain,StarGrain
- Author:
- Bill Kuker https://github.com/bkuker/motorsim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBurningArea(double burnProgression) Compute the burning area during burndoublegetGrainEndSurface(double burnProgression) Compute the end grain surface during burndoublegetGrainVolume(double burnProgression) Compute the grain volume during burnabstract intdoublegetXincp(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 / numberOfPointsdoubleMethods inherited from class com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedGrain
getLength, isAftEndInhibited, isForeEndInhibited, numberOfBurningEnds, regressedLength, setAftEndInhibited, setForeEndInhibited, setLengthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.jbgust.jsrm.application.motor.grain.GrainConfigutation
checkConfiguration
-
Field Details
-
xsection
-
-
Constructor Details
-
ExtrudedShapeGrain
public ExtrudedShapeGrain()
-
-
Method Details
-
getGrainEndSurface
public double getGrainEndSurface(double burnProgression) Description copied from interface:GrainConfigutationCompute the end grain surface during burn- Specified by:
getGrainEndSurfacein interfaceGrainConfigutation- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the end grain surface in mm^2
-
getGrainVolume
public double getGrainVolume(double burnProgression) Description copied from interface:GrainConfigutationCompute the grain volume during burn- Specified by:
getGrainVolumein interfaceGrainConfigutation- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the grain volume in mm^3
-
getBurningArea
public double getBurningArea(double burnProgression) Description copied from interface:GrainConfigutationCompute the burning area during burn- Specified by:
getBurningAreain interfaceGrainConfigutation- Parameters:
burnProgression- (0 to 1, 0 = before burn start ; 1 = grain completly burn)- Returns:
- the burning area mm^2
-
getXincp
public double getXincp(int numberOfPoints) Description copied from interface:GrainConfigutationThis 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- Specified by:
getXincpin interfaceGrainConfigutation- Parameters:
numberOfPoints- the number of iteration during the computation- Returns:
- xincp (cf. SRM_2014.xls)
-
webThickness
public double webThickness() -
getNumberOfSegments
public abstract int getNumberOfSegments()
-