|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IcanData.SubsliceItem
public class SubsliceItem
Encapsulate the behavior of Ply Substructure Subslicing data.
A slice may be subsliced so that any fiber (or particle)
selected along the thickness is subsliced into smaller parts.
The primary and secondary materials in a hybrid composite
are subsliced separately.
The number of subslices in the 1(X) and 2(Y) directions
are specified separately.
The 1(X) direction for fibers is along the fiber so that the
breakdown of fiber/interphase/matrix does not change with distance
and there is no implicit distance to subslice;
however, the user may choose a number of subslices in the 1(X)
direction for a distance equal to an input number of diameters.
The analysis for subslicing is described further for
fiber
and
particle
subslicing.
Field Summary | |
---|---|
private int |
fiberOrParticle
Either MaterialProperty.PROPERTY_TYPE_FIBER or MaterialProperty.PROPERTY_TYPE_PARTICLE: used to determine whether the analysis is 2D or 3D, respectively. |
static int |
iFX
Index of Fiber or Particle variables in X direction. |
static int |
iFY
Index of Fiber or Particle variables in Y direction. |
static int |
iIX
Index of Interphase variables in X direction. |
static int |
iIY
Index of Interphase variables in Y direction. |
static int |
iMX
Index of Matrix or Binder variables in X direction. |
static int |
iMY
Index of Matrix or Binder variables in Y direction. |
private int |
iPS
0 for Primary, 1 for Secondary. |
static int |
nset
Number of Fiber or Particle, Interphase, and Matrix or Binder indices. |
private int[] |
nSubslices
Breakdown of number of slices in subslicing by type. |
private int |
nSubsliceX
Number of slices in 1(X) direction. |
private int |
nSubsliceY
Number of slices in 2(Y) direction. |
private int |
nSubslicez
Number of subslices for a single slice in the ply. |
private java.lang.String |
sID
Slice identification of the form ply:box:slice where the middle number denotes which fiber or particle the slice is at or near. |
Constructor Summary | |
---|---|
SubsliceItem(java.lang.String sID,
int iPS,
int fiberOrParticle,
int[] nSubslices)
Constructor for Ply (laminate) subslice data. |
Method Summary | |
---|---|
void |
changeDataUnits(int oldUnits,
int nowUnits)
Change the data from one system of units to another. |
java.lang.String |
formatSubsliceItem()
Obtain printable strings containing Ply (laminate) data. |
static java.lang.String |
getName()
Get class name. |
int |
getPS()
Return an integer indicating whether the subslicing is applicable to Primary or Secondary material data in a hybrid composite. |
java.lang.String |
getSliceID()
Return Slice ID containing the slice to subslice in the form ply:box:slice. |
int[] |
getSubsliceData()
Return numbers of slices of each type. |
int |
getTotalSlices()
Return total number of subslices for a single fiber in the ply. |
int |
getType()
Return type indicating fiber or particle in the slice. |
static SubsliceItem |
parseSubsliceItem(java.lang.String thisLine,
int offset)
Parse a line of Subslice control data. |
void |
setSliceID(java.lang.String sID)
Set Slice ID containing a positive integer or range of integers, indicating the applicable ply(s). |
void |
setSubsliceData(int[] pSubslices)
Set numbers of subslices. |
void |
setSubsliceData(int iset,
int pSubslices)
Set numbers of slices of specified type. |
java.lang.String |
toString()
Convert Ply (laminate) data item to a String for output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String sID
private int iPS
private int fiberOrParticle
private int nSubslicez
private int nSubsliceX
private int nSubsliceY
public static final int iFX
public static final int iIX
public static final int iMX
public static final int iFY
public static final int iIY
public static final int iMY
public static final int nset
private int[] nSubslices
Constructor Detail |
---|
public SubsliceItem(java.lang.String sID, int iPS, int fiberOrParticle, int[] nSubslices)
sID
- Slice identification of the form ply:box:slice
where the middle number denotes which fiber or
particle the slice is at or near.iPS
- 0 for Primary, 1 for Secondary.fiberOrParticle
- Either MaterialProperty.PROPERTY_TYPE_FIBER or
MaterialProperty.PROPERTY_TYPE_PARTICLE: used to
determine whether the analysis is 2D or 3D,
respectively.nSubslices
- Breakdown of number of slices in subslicing
by type.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String formatSubsliceItem()
public java.lang.String getSliceID()
public int getPS()
public int getType()
public int[] getSubsliceData()
public int getTotalSlices()
public void setSliceID(java.lang.String sID)
sID
- Slice ID range from which plys may be selected.
The Ply ID contains a positive integer or range of integers,
separated by a dash (-), indicating the applicable ply(s).
The range may be of the form: n1[-n2].public void setSubsliceData(int[] pSubslices)
pSubslices
- Values to which items are set.public void setSubsliceData(int iset, int pSubslices)
iset
- Subscript of type of slice to set.
The values may be:
No. Mnemonic Type of subslice --- -------- ------------------------------------ 0 iFX Fiber or particle in the X direction 1 iIX Interphase in the X direction 2 iMX Matrix in the X direction 3 iFY Fiber or particle in the Y direction 4 iIY Interphase in the Y direction 5 iMY Matrix in the Y direction
pSubslices
- Value to which item is set.public static SubsliceItem parseSubsliceItem(java.lang.String thisLine, int offset)
'SUBSLICE; sID; iPS; fiberOrParticle; nFX; nIX; nMX; nFY; nIY; nMY;'where:
thisLine
- The line to parse.offset
- The offset to a blank or semi-colon or other character
indicating the end of the first field and
the start of the second field.
public static java.lang.String getName()
public void changeDataUnits(int oldUnits, int nowUnits)
oldUnits
- Previous system of units.nowUnits
- Current system of units.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |