Classes#
N2PAbaqusInputData module#
This module contains classes related with a Abaqus Input File (.inp files). The parent classes are similar but not the same as the Nastran Input File. Child classes of N2PKeyword are based on Abaqus Keywords Reference Guide
- class NaxToPy.Core.Classes.N2PAbaqusInputData.N2PAbaqusInputData(inputfiledata)[source]#
Bases:
object
Class with the complete data of an Abaqus MEF input file (text file usually with the extension .inp).
- property DictionaryFilesIDs: dict#
- property DictionaryIDsFiles: dict#
- property ListBulkDataKeywords: list[N2PKeyword, ...]#
List with the N2PCard objects of the input FEM file. It has all bulk data cards of the model
- property ListComments: list[N2PInputData]#
List with all the comments in the FEM Input File
- property TypeOfFile: str#
- get_entity_by_key_and_id(entitytype: Literal['NODE', 'ELEMENT'], entitityid: int) list[N2PEntity] [source]#
Method that returns a list with the N2Entities objects of the input FEM file asked. There can be several Entities with the same ID and EntityType as they can belong to different part.
- Parameters:
entitytype – str
entitityid – int
- Returns:
list[N2PKeyword, ]
- get_keywords_by_type(field: Literal['BEAMSECTION', 'DENSITY', 'COUPLING', 'DISTRIBUTING', 'DISTRIBUTINGCOUPLING', 'ELASTIC', 'ELEMENT', 'ELSET', 'ENDINSTANCE', 'ENDPART', 'INSTANCE', 'KINEMATIC', 'KINEMATICCOUPLING', 'MATERIAL', 'NODE', 'NSET', 'ORIENTATION', 'PART', 'PLASTIC', 'SHELLSECTION', 'SOLIDSECTION', 'SURFACE', 'UNSUPPORTED']) list[N2PKeyword] [source]#
Method that returns a list with the N2PKeyword objects of the input FEM file asked.
- Parameters:
field – str
- Returns:
list[N2PKeyword, ]
N2PComponent module#
- class NaxToPy.Core.Classes.N2PComponent.N2PComponent(name, sections, result_father)[source]#
Bases:
object
Class which contains the information associated to a component of a N2PResult instance.
- Name#
str.
- Sections#
list[N2PSection].
- IsTransformable#
bool.
- property IsTransformable: bool#
Property that keeps if the component of a result is transformable in other coordinate system.
- property Name: str#
- property Sections: list[N2PSection, ...]#
Returns a list of N2PSection objects with all the sections contained in the component
- get_result_array(sections=None, aveSections=-1, cornerData=False, aveNodes=-1, variation=100, realPolar=0, coordsys: int = -1000, v1: tuple = (1, 0, 0), v2: tuple = (0, 1, 0)) tuple[list, str] [source]#
Deprecated method. Please, use get_result_list instead for asking the results as a list. If a numpy array is preferred, use get_result_ndarray
- get_result_list(sections=None, aveSections=-1, cornerData=False, aveNodes=-1, variation=100, realPolar=0, coordsys: int = -1000, v1: tuple | ndarray = (1, 0, 0), v2: tuple | ndarray = (0, 1, 0)) tuple[list, str] [source]#
Returns a tuple with the list of floats with the result array asked and a str with the position of the results
- Parameters:
sections – list[str] | list[N2PSection] -> Optional. Sections which operations are done. None (Default) = All Sections
aveSections –
int -> Optional. Operation Among Sections.
-1 : Maximum (Default), -2 : Minimum, -3 : Average, -4 : Extreme, -6 : Difference.
cornerData –
bool -> Optional. Flag to get results in element nodal.
True : Results in Element-Nodal, False : Results in centroid (Default).
aveNodes –
int -> Optional. Operation among nodes when cornerData is selected.
0 : None, -1 : Maximum (Default), -2 : Minimum, -3 : Average, -5 : Average with variation parameter, -6 : Difference.
variation –
int -> Optional. Integer between 0 & 100 to select.
0 : No average between nodes, 100 : Total average between nodes (Default).
realPolar –
int -> Optional. Data type when complex result.
1 : Real / Imaginary, 2 : Magnitude / Phase.
coordsys –
int -> Optional. Coordinate System where the result_array will be represented. By default, the output is in element system:
0 : Global, -1 : Material Coordinate System, -10 : User defined, -20 : Element/Node User Defined, >0 : Solver ID of the Predefined Coordinate System.
v1 – tuple -> Optional.
v2 –
tuple -> Optional. Directions vectors that generate the coordinate system axis:
x=v1, z=v1^v2, y=z^x.
- Returns:
tuple(list[float], str)
- Return type:
results
- get_result_ndarray(sections=None, aveSections=-1, cornerData=False, aveNodes=-1, variation=100, realPolar=0, coordsys: int = -1000, v1: tuple | ndarray = (1, 0, 0), v2: tuple | ndarray = (0, 1, 0)) tuple[array, str] [source]#
Returns a tuple with the numpy array of floats with the result array asked and a str with the position of the results
- Parameters:
sections – list[str] | list[N2PSection] -> Optional. Sections which operations are done. None (Default) = All Sections
aveSections –
int -> Optional. Operation Among Sections.
-1 : Maximum (Default), -2 : Minimum, -3 : Average, -4 : Extreme, -6 : Difference.
cornerData –
bool -> Optional. Flag to get results in element nodal.
True : Results in Element-Nodal, False : Results in centroid (Default).
aveNodes –
int -> Optional. Operation among nodes when cornerData is selected.
0 : None, -1 : Maximum (Default), -2 : Minimum, -3 : Average, -5 : Average with variation parameter, -6 : Difference.
variation –
int -> Optional. Integer between 0 & 100 to select.
0 : No average between nodes, 100 : Total average between nodes (Default).
realPolar –
int -> Optional. Data type when complex result.
1 : Real / Imaginary, 2 : Magnitude / Phase.
coordsys –
int -> Optional. Coordinate System where the result_array will be represented. By default, the output is in element system:
0 : Global, -1 : Material Coordinate System, -10 : User defined, -20 : Element/Node User Defined, >0 : Solver ID of the Predefined Coordinate System.
v1 – tuple -> Optional.
v2 –
tuple -> Optional. Directions vectors that generate the coordinate system axis:
x=v1, z=v1^v2, y=z^x.
- Returns:
tuple(np.array, str)
- Return type:
results
- Examples
>>> # N2PComponent is a N2PLoadCase.get_results("DISPLACEMENTS").get_component("X") >>> displ_X_array, where = N2PComponent.get_result_ndarray(aveSections=-3, coordsys=-1) >>> # N2PComponent is a N2PLoadCase.get_results("STRESSES").get_component("XX") >>> stress_array, where = N2PComponent.get_result_ndarray(v1=(-1, 0, 0), v2=(0, -1, 0))
N2PConnector module#
- class NaxToPy.Core.Classes.N2PConnector.N2PConnector(info, model_father)[source]#
Bases:
object
Class of Connectors for NaxToPy. In the module, elements and connectors are separate classes
- ID#
int.
- PartID#
str.
- TypeConnector#
str.
- FreeNodes#
list[N2PNode].
- SlaveNodes#
list[N2PNode].
- Grids#
list[N2PNode].
- InternalID#
int.
- RefGrid#
N2PNode.
- property ID: int#
- property InternalID: int#
- property PartID: str#
- property TypeConnector: str#
N2PCoord module#
- class NaxToPy.Core.Classes.N2PCoord.N2PCoord(info, model_father)[source]#
Bases:
object
Class with the information of a coordinate system
- ID#
int.
- PartID#
str.
- TypeSys#
str.
- IsGlobal#
bool.
- Description#
str.
- IsUserDefined#
bool.
- Origin#
tuple.
- Xaxis#
tuple.
- Yaxis#
tuple.
- Zaxis#
tuple.
- property Description: str#
- property ID: int#
- property IsGlobal: bool#
- property IsUserDefined: bool#
- property Origin: tuple#
- property TypeSys: str#
- property Xaxis: tuple#
- property Yaxis: tuple#
- property Zaxis: tuple#
N2PElement module#
- class NaxToPy.Core.Classes.N2PElement.N2PElement(info, model_father)[source]#
Bases:
object
Class with the information of an element.
- ID#
int.
- PartID#
str.
- NumNodes#
int.
- Nodes#
tuple[N2PNode].
- Prop#
int.
- TypeElement#
str.
- NodesIds#
tuple[int].
- AngleMat#
float.
- InternalID#
int.
- InternalElemType#
str.
- ElemSystem#
list[float].
- property AngleMat: float#
- property Centroid: list[float, ...]#
[x, y, z]
- Type:
Returns list with the centroid of the element
- property ElemSystemArray: list[float, ...]#
Returns an array with the position of the three vectors that define the element system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]
- property ID: int#
- property InternalElemType: int#
- property InternalID: int#
- property MaterialSystemArray: list[float, ...]#
Returns list with the position of the three vectors that define the material system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]
- property NodesIds: tuple#
- property NumNodes: int#
- property PartID: str#
- property Prop: int#
- property TypeElement: str#
- property UserSystemArray: list[float, ...]#
Returns list with the position of the three vectors that define the user system of the element: [x1, x2, x3, y1, y2, y3, z1, z2, z3]
If no user systems for elements are defined yet, it returns None.
N2PFreeBody module#
Module with all the FreeBody related classes.
- class NaxToPy.Core.Classes.N2PFreeBody.N2PFreeBody(name: str, loadcase: N2PLoadCase, increment: N2PIncrement, nodelist: list[N2PNode], elementlist: list[N2PElement], modelfather, coordsys: N2PCoord = None, outpoint: tuple[float] = None)[source]#
Bases:
object
Main class for free bodies analysis.
- Name#
str.
- LoadCase#
N2PLoadCase.
- Increment#
N2PIncrement.
- NodeList#
list[N2PNode].
- ElementList#
list[N2PElement].
- OutPoint#
tuple[float, float, float].
- OutSys#
N2PCoord.
- FTotal#
float.
- MTotal#
float.
- Force#
tuple[float].
- Moment#
tuple[float].
- property ElementList#
- property FTotal: float#
Module of the resultant Force
- property Force: tuple[float, float, float]#
Vector of the resultant Force
- property Increment#
- property LoadCase#
- property MTotal: float#
Module of the resultant Moment
- property Moment: tuple[float, float, float]#
Vector of the resultant Moment
- property Name: str#
- property NodeList#
- property OutPoint#
Returns de point where the resultants where calculated. If no outpoint was given, it is the centroid
- property OutSys#
N2PIncrement module#
- class NaxToPy.Core.Classes.N2PIncrement.N2PIncrement(info)[source]#
Bases:
object
Class which contains the information associated to an increment/frame of a N2PLoadCase instance.
- property ID: int#
Solver ID of the Increment
- property ImaginaryEigenvalue: float#
Imaginary Eigenvalue of the increment
- property Name: str#
Name of the Increment
- property RealEigenvalue: float#
Real Eigenvalue of the increment
- property Solution: str#
Returns the value of the Solution name of the Increment
- property Time: float#
Returns the value of the increment/frame
N2PLoadCase module#
- class NaxToPy.Core.Classes.N2PLoadCase.N2PLoadCase(id_lc, id_original, increments, increments_number_list, is_complex, lc_type, name, results, solution_type, solver, model_father, n2loadcase)[source]#
Bases:
object
Class which contains the information associated to a load case instance of N2PLoadCase object
- ID#
int.
- Name#
str.
- TypeSolution#
str.
- Results#
dict[str: N2PResult].
- Increments list[N2PIncrement].
- NumIncrements#
int.
- ActiveN2PIncrement#
N2PIncrement.
- TypeLC#
int.
- IsComplex#
bool.
- InternalID#
int.
- property ActiveIncrement: int#
DEPRECATED PROPERTY. Use ActiveN2PIncrement.ID instead. Returns the active increment of the load case. By default, is the last one.
- property ActiveN2PIncrement: N2PIncrement#
Returns the active increment of the load case. By default, is the last one.
- property ID: int#
- property Increments: list[N2PIncrement]#
- property IsComplex: bool#
Returns a boolean indicating whether the load case is associated to a complex solution
- property Name: str#
- property NumIncrements: int#
- property OriginalID: int#
- property PathFile: str#
Returns the path of the file where the load cases were imported from
- property Solver: str#
- property TypeLC: str#
Returns the type of Load Case. RAW -> the load case is extracted from the original file. IMPORTED -> the load case has been imported.
- property TypeSolution: str#
- get_increments(id: int | str) N2PIncrement [source]#
Returns the N2PIncrement object with the id=ID or the id=Name of the Increment
- Parameters:
id – str|int -> It can be the ID(int) of the increment or the Name(srt) of the increment
- Returns:
N2PIncrement
- Return type:
increment
- get_result(name: str) N2PResult [source]#
Returns the N2PResult object with the Name of the Result. The name of the results is different depoending on the solver.
- Parameters:
name – str
- Returns:
N2PResult
- Return type:
result
Examples
>>> displ = N2PLoadCase.get_result("DISPLACEMENT") # If nastran >>> displ = N2PLoadCase.get_result("U") # If Abaqus
- set_increment(id: int | str) N2PLoadCase [source]#
- Method that sets the active increment using an ID where the results will be obtained.
If id=-1 the last increment is used as active.
- Parameters:
id – int|str -> Number id or name of the increment is intended to set as active increment
- Returns:
‘N2PLoadCase’
- Return type:
loadcase
N2PMaterial module#
- class NaxToPy.Core.Classes.N2PMaterial.N2PMatE(information, model_father)[source]#
Bases:
N2PMaterial
Class for Elastic, linear and isotropic material
- ID#
int.
- Name#
str.
- PartID#
str.
- InternalID#
int.
- Young#
float.
- TRef#
float.
- Shear#
float.
- SC#
float.
- TExp#
float.
- Poisson#
float.
- GE#
float.
- MCSID#
int.
- Density#
float.
- SS#
float.
- ST#
float.
- property Density: float#
Returns the density of the material.
- property GE: float#
Returns the structural damping coefficient of the material.
- property MCSID: int#
Returns the id of the coordinate system of the material.
- property Poisson: float#
Returns the Poisson modulus of the material.
- property SC: float#
Returns the stress limit for compression of the material.
- property SS: float#
Returns the stress limit for shear of the material.
- property ST: float#
Returns the stress limit for tension of the material.
- property Shear: float#
Returns the shear modulus of the material.
- property TExp: float#
Returns the thermal expansion coefficient of the material.
- property TRef: float#
Returns the reference temperature of the material.
- property Young: float#
Returns the elastic or Young’s modulus of the material.
- class NaxToPy.Core.Classes.N2PMaterial.N2PMatI(information, model_father)[source]#
Bases:
N2PMaterial
Class for orthotropic material for Isoparametric shell elements.
- ID#
int.
- Name#
str.
- PartID#
str.
- InternalID#
int.
- YoungX#
float.
- YoungY#
float.
- ShearXY#
float.
- ShearXZ#
float.
- ShearYZ#
float.
- PoissonXY#
float.
- Density#
float.
- TExpX#
float.
- TExpY#
float.
- TRef#
float.
- Xc#
float.
- Xt#
float.
- Yc#
float.
- Yt#
float.
- Sc#
float.
- GE#
float.
- STRN#
bool.
- property Density: float#
Returns the density of the material.
- property GE: float#
Returns the structural damping coefficient of the material.
- property PoissonXY: float#
PoissonXY = 1/PoissonYX
- Type:
Poisson’s ratio of the material. NOTE
- property SC: float#
Shear Strength
- property ShearXY: float#
In-plane shear modulus of the material.
- property ShearXZ: float#
Tranverse shear modulus of the material in plane XZ
- property ShearYZ: float#
Tranverse shear modulus of the material in plane YZ
- property TExpX: float#
Thermal expansion coefficient in X direction of the material (fiber direction)
- property TExpY: float#
Thermal expansion coefficient in Y direction of the material
- property TRef: float#
Returns the reference temperature of the material.
- property Xc: float#
Longitudinal Compressive Strength
- property Xt: float#
Longitudinal Tensile Strength
- property Yc: float#
Transverse Compressive Strength
- property YoungX: float#
Returns the elastic modulus in X material coordinate direction, also fiber direction.
- property YoungY: float#
Returns the elastic modulus in Y material coordinate direction.
- property Yt: float#
Transverse Tensile Strength
- class NaxToPy.Core.Classes.N2PMaterial.N2PMatMisc(information, model_father)[source]#
Bases:
N2PMaterial
Class with the materials that are not yet defined.
- ID#
int.
- Name#
str.
- PartID#
str.
- InternalID#
int.
- QualitiesDict#
dict[nameproperty: value].
- property QualitiesDict: dict#
Returns a dictionary with the name of the properties as key and its values
- class NaxToPy.Core.Classes.N2PMaterial.N2PMaterial(information, model_father)[source]#
Bases:
ABC
Base abstract class for materials. The material classes inherit from this base class. The type of materials that are now supported are:
N2PMatE: Elastic, linear isotropic material.
N2PMatA: Elastic, linear anisotropic material.
N2PMatO: Elastic, linear orthotropic material.
N2PMatT: Material with Thermal properties ut not mechanical.
N2PMatTA: Anisotropic material with Thermal properties but not mechanical.
N2PMatI: Orthotropic material for Isoparametric shell elements.
N2PMatIS: Anisotropic material for Solid Isoparametric elements.
N2PMatF: Fluid material property definition.
- ID#
int.
- Name#
str.
- PartID#
str.
- InternalID#
int.
- property ID: str | int#
- property InternalID: int#
- property MatType: str#
- property PartID: str#
N2PNastranInputData module#
Module with de definition of N2PModelInputData
- class NaxToPy.Core.Classes.N2PNastranInputData.CBAR(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCbar)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property G0: int#
Alternate method to supply the orientation vector v using grid point G0.The direction of v is from GA to G0.v is then translated to End A. (Integer > 0; G0 ≠ GA or GB)
- property GA: int#
CardGrid point identification numbers of connection points. (Integer > 0; GA ≠ GB)
- property GB: int#
- property OFFT: str#
Offset vector interpretation flag. (character or blank) See Remark 8. * Remark 8: OFFT is a character string code that describes how the offset and orientation vector components are to be interpreted. By default, (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A.At user option, the offset vectors can be measured in an offset coordinate system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Basic BGO Basic Global Basic GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Basic BOO Basic Offset Basic
- property PA: int#
Pin flags for bar ends A and B, respectively. Used to remove connections between the grid point and selected degrees-offreedom of the bar.The degrees-of-freedom are defined in the element’s coordinate system (see Figure 8-8). The bar must have stiffness associated with the PA and PB degrees-of-freedom to be released by the pin flags. For example, if PA = 4 is specified, the PBAR entry must have a value for J, the torsional stiffness. (Up to 5 of the unique Integers 1 through 6 anywhere in the field with no embedded blanks; Integer > 0.) Pin flags combined with offsets are not allowed for SOL 600.
- property PB: int#
- property PID: int#
Property identification number of a PBAR or PBARL entry. (Integer > 0 or blank*; Default = EID unless BAROR entry has nonzero entry in field 3.)
- property W1A: float#
Components of offset vectors and, respectively (see Figure 8-8) in displacement coordinate systems(or in element system depending upon the content of the OFFT field), at points GA and GB, respectively. See Remark 7. and 8. (Real; Default = 0.0) * Remark 7: Offset vectors are treated like rigid elements and are therefore subject to the same limitations. • Offset vectors are not affected by thermal loads. • The specification of offset vectors is not recommended in solution sequences that compute differential stiffness because the offset vector remains parallel to its original orientation. (Differential stiffness is computed in buckling analysis provided in SOLs 103 and 107 through 112 with the STATSUB command; and also in nonlinear analysis provided in SOLs 106, 129, 153, and 159 with PARAM, LGDISP,1.) • BAR elements with offsets will give wrong buckling results. • Masses are not offset for shells. • The nonlinear solution in SOL 106 uses differential stiffness due for the iterations to reduce equilibrium errors.An error in the differential stiffness due to offsets may cause the iterations to converge slowly or to diverge. If the solution converges the answer is correct, even though there may be an error in the differential stiffness.However, the special capabilities in SOL 106 to get vibration and buckling modes will produce wrong answers if the differential stiffness is bad. • The internal “rigid elements” for offset BAR/BEAM elements are rotated in the nonlinear force calculations. Thus, if convergence is achieved, BAR/BEAM elements may be used in SOL 106 with LGDISP,1. * Remark 8: OFFT is a character string code that describes how the offset and orientation vector components are to be interpreted.By default (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A. At user option, the offset vectors can be measured in an offset coordinate system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Basic BGO Basic Global Basic GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Basic BOO Basic Offset Basic
- property W1B: float#
- property W2A: float#
- property W2B: float#
- property W3A: float#
- property W3B: float#
- property X1: float#
Components of orientation vector v, from GA, in the displacement coordinate system at GA(default), or in the basic coordinate system.See Remark 8. (Real) * Remark 8: OFFT is a character string code that describes how the offset and orientation vector components are to be interpreted.By default (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A.At user option, the offset vectors can be measured in an offset coordinate system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Basic BGO Basic Global Basic GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Basic BOO Basic Offset Basic
- property X2: float#
- property X3: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.CBEAM(cardinfo)[source]#
Bases:
N2PCard
- property BIT: float#
Built-in twist of the cross-sectional axes about the beam axis at end B relative to end A.For beam p-elements only. (Real; Default = 0.0)
- property CharName: str#
Card code (CardCbeam)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property G0: int#
Alternate method to supply the orientation vector v using grid point G0.The direction of v is from GA to G0.v is then transferred to End A. (Integer > 0; G0 ≠ GA or GB)
- property GA: int#
CardGrid point identification numbers of connection points. (Integer > 0; GA ≠ GB)
- property GB: int#
- property OFFT: str#
Offset vector interpretation flag. (character or blank) See Remark 9. * Remark 9: If the element is a p-version element, BIT in field 9 contains the value of the built-in-twist measured in radians.Otherwise, OFFT in field 9 is a character string code that describes how the offset and orientation vector components are to be interpreted.By default (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A.At user option, the offset vectors can be measured in an offset system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Offset BGO Basic Global Offset GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Offset BOO Basic Offset Offset
- property PA: int#
Pin flags for beam ends A and B, respectively. Used to remove connections between the grid point and selected degrees-offreedom of the bar. The degrees-of-freedom are defined in the element’s coordinate system (see Figure 8-12). The beam must have stiffness associated with the PA and PB degrees-of-freedom to be released by the pin flags.For example, if PA = 4 is specified, the PBEAM entry must have a value for J, the torsional stiffness. (Up to 5 of the unique Integers 1 through 6 anywhere in the field with no embedded blanks; Integer > 0.) Pin flags combined with offsets are not allowed for SOL 600.
- property PB: int#
- property PID: int#
Property identification number of PBEAM, PBCOMP or PBEAML entry. (Integer > 0; Default = EID)
- property SA: int#
Scalar or grid point identification numbers for the ends A and B, respectively.The degrees-of-freedom at these points are the warping variables dθ ⁄ dx. SA and SB cannot be specified for beam p-elements. (Integers > 0 or blank)
- property SB: int#
- property W1A: float#
Components of offset vectors and , respectively (see Figure 8-8) in displacement coordinate systems(or in element system depending upon the content of the OFFT field), at points GA and GB, respectively. See Remark 7. and 8. (Real; Default = 0.0) * Remark 7: Offset vectors are treated like rigid elements and are therefore subject to the same limitations. • Offset vectors are not affected by thermal loads. • The specification of offset vectors is not recommended in solution sequences that compute differential stiffness because the offset vector remains parallel to its original orientation. (Differential stiffness is computed in buckling analysis provided in SOLs 103 and 107 through 112 with the STATSUB command; and also in nonlinear analysis provided in SOLs 106, 129, 153, and 159 with PARAM, LGDISP,1.) • BAR elements with offsets will give wrong buckling results. • Masses are not offset for shells. • The nonlinear solution in SOL 106 uses differential stiffness due for the iterations to reduce equilibrium errors.An error in the differential stiffness due to offsets may cause the iterations to converge slowly or to diverge. If the solution converges the answer is correct, even though there may be an error in the differential stiffness.However, the special capabilities in SOL 106 to get vibration and buckling modes will produce wrong answers if the differential stiffness is bad. • The internal “rigid elements” for offset BAR/BEAM elements are rotated in the nonlinear force calculations.Thus, if convergence is achieved, BAR/BEAM elements may be used in SOL 106 with LGDISP,1. * Remark 8: OFFT is a character string code that describes how the offset and orientation vector components are to be interpreted.By default (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A.At user option, the offset vectors can be measured in an offset coordinate system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Basic BGO Basic Global Basic GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Basic BOO Basic Offset Basic
- property W1B: float#
- property W2A: float#
- property W2B: float#
- property W3A: float#
- property W3B: float#
- property X1: float#
Components of orientation vector v, from GA, in the displacement coordinate system at GA(default), or in the basic coordinate system.See Remark 9. (Real) * Remark 9: If the element is a p-version element, BIT in field 9 contains the value of the built-in-twist measured in radians.Otherwise, OFFT in field 9 is a character string code that describes how the offset and orientation vector components are to be interpreted.By default (string input is GGG or blank), the offset vectors are measured in the displacement coordinate systems at grid points A and B and the orientation vector is measured in the displacement coordinate system of grid point A.At user option, the offset vectors can be measured in an offset system relative to grid points A and B, and the orientation vector can be measured in the basic system as indicated in the following table: String Orientation Vector End A Offset End B Offset GGG Global Global Global BGG Basic Global Global GGO Global Global Offset BGO Basic Global Offset GOG Global Offset Global BOG Basic Offset Global GOO Global Offset Offset BOO Basic Offset Offset
- property X2: float#
- property X3: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.CBUSH(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Element coordinate system identification. A 0 means the basic coordinate system.If CID is blank, then the element coordinate system is determined from GO or Xi.See Figure 8-19 and Remark 3. (Integer > 0 or blank) * Remark 3: CID > 0 overrides GO and Xi. Then the element x-axis is along T1, the element y-axis is along T2, and the element z-axis is along T3 of the CID coordinate system.If the CID refers to a cylindrical coordinate system or as pherical coordinate system, then grid GA is used to locate the system. If for cylindrical or spherical coordinate, GA falls on the z-axis used to define them, it is recommended that another CID be selectfced to define the element x-axis.
- property CharName: str#
Card code (CardCbush)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property G0: int#
Alternate method to supply vector v using grid point GO. Direction of v is from GA to GO. v is then transferred to End A.See Remark 3. (Integer > 0) * Remark 3: CID > 0 overrides GO and Xi. Then the element x-axis is along T1, the element y-axis is along T2, and the element z-axis is along T3 of the CID coordinate system.If the CID refers to a cylindrical coordinate system or as pherical coordinate system, then grid GA is used to locate the system. If for cylindrical or spherical coordinate, GA falls on the z-axis used to define them, it is recommended that another CID be selectfced to define the element x-axis.
- property GA: int#
CardGrid point identification number of connection points. See Remark 6. (Integer > 0) * Remark 6: If the distance between GA and GB is less than .0001, or if GB is blank, then CID must be specified.GB blank implies that B is grounded.
- property GB: int#
- property OCID: int#
Coordinate system identification of spring-damper offset. See Remark 9. (Integer > -1; Default = -1, which means the offset point lies on the line between GA and GB according to Figure 8-19) * Remark 9: If OCID = -1 or blank (default) then S is used and S1, S2, S3 are ignored. If OCID > 0, then S is ignored and S1, S2, S3 are used.
- property PID: int#
Property identification number of a PBUSH entry. (Integer > 0; Default = EID)
- property S: float#
Location of spring damper. See Figure 8-19. (0.0 < Real < 1.0; Default = 0.5)
- property S1: float#
Components of spring-damper offset in the OCID coordinate system if OCID > 0. See Figure 8-20 and Remark 9. (Real) * Remark 9: If OCID = -1 or blank (default) then S is used and S1, S2, S3 are ignored. If OCID > 0, then S is ignored and S1, S2, S3 are used.
- property S2: float#
- property S3: float#
- property X1: float#
Components of orientation vector v, from GA, in the displacement coordinate system at GA. (Real)
- property X2: float#
- property X3: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.CELAS1(cardinfo)[source]#
Bases:
N2PCard
- property C1: int#
Component number. (0 < Integer < 6; blank or zero if scalar point.)
- property C2: int#
- property CharName: str#
Card code (CardCelas1)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property G1: int#
Geometric grid point identification number. (Integer >= 0)
- property G2: int#
- property PID: int#
Property identification number of a PELAS entry. (Integer > 0; Default = EID)
- class NaxToPy.Core.Classes.N2PNastranInputData.CELAS2(cardinfo)[source]#
Bases:
N2PCard
- property C1: int#
Component number. (0 < Integer < 6; blank or zero if scalar point.)
- property C2: int#
- property CharName: str#
Card code (CardCelas2)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property G1: int#
Geometric grid point identification number. (Integer >= 0)
- property G2: int#
- property GE: float#
Damping coefficient. See Remarks 6. and 8. (Real) * Remark 6: If PARAM,W4 is not specified, GE is ignored in transient analysis. See “Parameters” on page 631. * Remark 8: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0 by 2.0.
- property K: float#
Stiffness of the scalar spring. (Real)
- property PID: int#
<see cref=”CardCelas2”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardElement”/></para>
- Type:
<para>PID
- property S: float#
Stress coefficient (Real).
- class NaxToPy.Core.Classes.N2PNastranInputData.CELAS3(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCelas3)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property PID: int#
Property identification number of a PELAS entry. (Integer > 0; Default = EID)
- property S1: int#
Scalar point identification numbers. (Integer >= 0)
- property S2: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.CELAS4(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCelas4)
- property EID: int#
Unique element identification number. (0 < Integer < 100,000,000)
- property K: float#
Stiffness of the scalar spring. (Real)
- property PID: int#
<see cref=”CardCelas4”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardElement”/></para>
- Type:
<para>PID
- property S1: int#
Scalar point identification numbers. (Integer >= 0; S1 ≠ S2)
- property S2: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.CFAST(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCfast)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property GA: int#
CardGrid ids of piecing points on patches A and B. See Remark 2. (Integer > 0 or blank) * Remark 2: GS defines the approximate location of the fastener in space. GS is projected onto the surface patches A and B.The resulting piercing points GA and GB define the axis of the fastener.GS does not have to lie on the surfaces of the patches.GS must be able to project normals to the two patches. GA can be specified in lieu of GS, in which case GS will be ignored. If neither GS nor GA is specified, then (XS, YS, ZS) in basic must be specified. If both GA and GB are specified, they must lie on or at least have projections onto surface patches A and B respectively. The locations will then be corrected so that they lie on the surface patches A and B within machine precision. The length of the fastener is the final distance between GA and GB. If the length is zero, the normal to patch A is used to define the axis of the fastener. Diagnostic printouts, checkout runs and control of search and projection parameters are requested on the SWLDPRM Bulk Data entry.
- property GB: int#
- property GS: int#
CardGrid point defining the location of the fastener. See Remark 2. (Integer > 0 or blank) * Remark 2: GS defines the approximate location of the fastener in space. GS is projected onto the surface patches A and B.The resulting piercing points GA and GB define the axis of the fastener.GS does not have to lie on the surfaces of the patches.GS must be able to project normals to the two patches. GA can be specified in lieu of GS, in which case GS will be ignored. If neither GS nor GA is specified, then (XS, YS, ZS) in basic must be specified. If both GA and GB are specified, they must lie on or at least have projections onto surface patches A and B respectively. The locations will then be corrected so that they lie on the surface patches A and B within machine precision. The length of the fastener is the final distance between GA and GB. If the length is zero, the normal to patch A is used to define the axis of the fastener. Diagnostic printouts, checkout runs and control of search and projection parameters are requested on the SWLDPRM Bulk Data entry.
- property IDA: int#
Property id (for PROP option) or Element id (for ELEM option) defining patches A and B. IDA ≠ IDB (Integer > 0)
- property IDB: int#
- property PID: int#
Property identification number of a PFAST entry. (Integer > 0; Default = EID)
- property TYPE: str#
(Character) If TYPE = ‘PROP’, the surface patch connectivity between patch A and patch B is defined with two PSHELL(or PCOMP) properties with property ids given by IDA and IDB.See Remark 1. and Figure 8-22. If TYPE = ‘ELEM’, the surface patch connectivity between patch A and patch B is defined with two shell element ids given by IDA and IDB.See Remark 1. and Figure 8-22. * Remark 1: The CardCfast defines a flexible connection between two surface patches. Depending on the location for the piercing points GA and GB, and the size of the diameter D(see PFAST), the number of unique physical grids per patch ranges from a possibility of 3 to 16 grids. (Currently there is a limitation that there can be only a total of 16 unique grids in the upper patch and only a total of 16 unique grids in the lower patch.Thus, for example, a patch can not hook up to four CQUAD8 elements with midside nodes and no nodes in common between each CQUAD8 as that would total to 32 unique grids for the patch.)
- Type:
Specifies the surface patch definition
- property XS: float#
Location of the fastener in basic. Required if neither GS nor GA is defined.See Remark 2. (Real or blank) * Remark 2: GS defines the approximate location of the fastener in space. GS is projected onto the surface patches A and B.The resulting piercing points GA and GB define the axis of the fastener.GS does not have to lie on the surfaces of the patches.GS must be able to project normals to the two patches. GA can be specified in lieu of GS, in which case GS will be ignored. If neither GS nor GA is specified, then (XS, YS, ZS) in basic must be specified. If both GA and GB are specified, they must lie on or at least have projections onto surface patches A and B respectively. The locations will then be corrected so that they lie on the surface patches A and B within machine precision. The length of the fastener is the final distance between GA and GB. If the length is zero, the normal to patch A is used to define the axis of the fastener. Diagnostic printouts, checkout runs and control of search and projection parameters are requested on the SWLDPRM Bulk Data entry.
- property YS: float#
- property ZS: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.CHEXANAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardChexaNas)
- property EID: int#
Element identification number. (0 < Integer < 100000000)
- property G1: int#
CardGrid point identification numbers of connection points. (Integer >= 0 or blank)
- property G10: int#
- property G11: int#
- property G12: int#
- property G13: int#
- property G14: int#
- property G15: int#
- property G16: int#
- property G17: int#
- property G18: int#
- property G19: int#
- property G2: int#
- property G20: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.CHEXAOPT(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Material coordinate system identification number. Default = 0 (Integer ≥ -1)
- property CORDM: str#
Flag indicating that the following field(s) reference data to determine the material coordinate system.
- property CharName: str#
Card code (CardChexaOpt)
- property EID: int#
Element identification number. (0 < Integer < 100000000)
- property G1: int#
CardGrid point identification numbers of connection points. (Integer >= 0 or blank)
- property G10: int#
- property G11: int#
- property G12: int#
- property G13: int#
- property G14: int#
- property G15: int#
- property G16: int#
- property G17: int#
- property G18: int#
- property G19: int#
- property G2: int#
- property G20: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PHI: float#
This angle is applied on the new coordinate system derived after transformation with THETA. Angle of rotation of the elemental Z-axis and new X-axis about the new Y-axis.The new coordinate system formed after this rotational transformation represents the material system. Note: For positive PHI, the new X-axis is rotated towards the elemental Z-axis. Default = blank (Real)
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- property THETA: float#
Angle of rotation of the elemental X-axis and Y-axis about the elemental Z-axis. The new coordinate system formed after this rotational transformation represents the material system (the PHI field can further transform the material system). Note: For positive THETA, the elemental X-axis is rotated towards the elemental Y-axis. Default = blank (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CONM2(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Coordinate system identification number.For CID of -1; see X1, X2, X3 low. (Integer > -1; Default = 0)
- property CharName: str#
Card code (CardConm2)
- property EID: int#
Element identification number. (Integer > 0)
- property G: int#
CardGrid point identification number. (Integer > 0)
- property I11: float#
Mass moments of inertia measured at the mass center of gravity in the coordinate system defined by field 4. If CID = -1, the basic coordinate system is implied. (For I11, I22, and I33; Real > 0.0; for I21, I31, and I32; Real)
- property I21: float#
- property I22: float#
- property I31: float#
- property I32: float#
- property I33: float#
- property M: float#
Mass value. (Real)
- property PID: int#
<see cref=”CardConm2”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardElement”/></para>
- Type:
<para>PID
- property X1: float#
Offset distances from the grid point to the center of gravity of the mass in the coordinate system defined in field 4, unless CID = -1, in which case X1, X2, X3 are the coordinates, not offsets, of the center of gravity of the mass in the basic coordinate system. (Real)
- property X2: float#
- property X3: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD1C(cardinfo)[source]#
Bases:
N2PCard
- property CIDA: int#
Coordinate system identification number. (Integer > 0)
- property CIDB: int#
- property CharName: str#
Card code (CardCord1c)
- property G1A: int#
CardGrid point identification numbers. (Integer > 0; G1A ≠ G2A ≠ G3AG1B ≠ G2B ≠ G3B;)
- property G1B: int#
- property G2A: int#
- property G2B: int#
- property G3A: int#
- property G3B: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD1R(cardinfo)[source]#
Bases:
N2PCard
- property CIDA: int#
Coordinate system identification number. (Integer > 0)
- property CIDB: int#
- property CharName: str#
Card code (CardCord1r)
- property G1A: int#
CardGrid point identification numbers. (Integer > 0; G1A ≠ G2A ≠ G3AG1B ≠ G2B ≠ G3B;)
- property G1B: int#
- property G2A: int#
- property G2B: int#
- property G3A: int#
- property G3B: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD1S(cardinfo)[source]#
Bases:
N2PCard
- property CIDA: int#
Coordinate system identification number. (Integer > 0)
- property CIDB: int#
- property CharName: str#
Card code (CardCord1s)
- property G1A: int#
CardGrid point identification numbers. (Integer > 0; G1A ≠ G2A ≠ G3AG1B ≠ G2B ≠ G3B;)
- property G1B: int#
- property G2A: int#
- property G2B: int#
- property G3A: int#
- property G3B: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD2C(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Coordinates of three points in coordinate system defined in field 3. (Real)
- property A2: float#
- property A3: float#
- property B1: float#
- property B2: float#
- property B3: float#
- property C1: float#
- property C2: float#
- property C3: float#
- property CID: int#
Coordinate system identification number. (Integer > 0)
- property CharName: str#
Card code (CardCord2c)
- property RID: int#
Identification number of a coordinate system that is defined independently from this coordinate system. (Integer > 0; Default = 0 is the basic coordinate system.)
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD2R(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Coordinates of three points in coordinate system defined in field 3. (Real)
- property A2: float#
- property A3: float#
- property B1: float#
- property B2: float#
- property B3: float#
- property C1: float#
- property C2: float#
- property C3: float#
- property CID: int#
Coordinate system identification number. (Integer > 0)
- property CharName: str#
Card code (CardCord2r)
- property RID: int#
Identification number of a coordinate system that is defined independently from this coordinate system. (Integer > 0; Default = 0 is the basic coordinate system.)
- class NaxToPy.Core.Classes.N2PNastranInputData.CORD2S(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Coordinates of three points in coordinate system defined in field 3. (Real)
- property A2: float#
- property A3: float#
- property B1: float#
- property B2: float#
- property B3: float#
- property C1: float#
- property C2: float#
- property C3: float#
- property CID: int#
Coordinate system identification number. (Integer > 0)
- property CharName: str#
Card code (CardCord2s)
- property RID: int#
Identification number of a coordinate system that is defined independently from this coordinate system. (Integer > 0; Default = 0 is the basic coordinate system.)
- class NaxToPy.Core.Classes.N2PNastranInputData.CPENTANAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCpentaNas)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected grid points. (Integer >= 0 or blank)
- property G10: int#
- property G11: int#
- property G12: int#
- property G13: int#
- property G14: int#
- property G15: int#
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.CPENTAOPT(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Material coordinate system identification number. Default = 0 (Integer ≥ -1)
- property CORDM: str#
Flag indicating that the following field(s) reference data to determine the material coordinate system.
- property CharName: str#
Card code (CardCpentaOpt)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected grid points. (Integer >= 0 or blank)
- property G10: int#
- property G11: int#
- property G12: int#
- property G13: int#
- property G14: int#
- property G15: int#
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PHI: float#
This angle is applied on the new coordinate system derived after transformation with THETA. Angle of rotation of the elemental Z-axis and new X-axis about the new Y-axis.The new coordinate system formed after this rotational transformation represents the material system. Note: For positive PHI, the new X-axis is rotated towards the elemental Z-axis. Default = blank (Real)
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- property THETA: float#
Angle of rotation of the elemental X-axis and Y-axis about the elemental Z-axis. The new coordinate system formed after this rotational transformation represents the material system (the PHI field can further transform the material system). Note: For positive THETA, the elemental X-axis is rotated towards the elemental Y-axis. Default = blank (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CPYRA(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Material coordinate system identification number. Default = 0 (Integer ≥ -1)
- property CORDM: str#
Flag indicating that the following field reference data to determine the material coordinate system.
- property CharName: str#
Card code (CardCpyra)
- property EID: int#
Unique element identification number. No default (Integer > 0)
- property G1: int#
CardGrid point identification numbers of connection points. Default = blank(Integer ≥ 0 or blank)
- property G10: int#
- property G11: int#
- property G12: int#
- property G13: int#
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PID: int#
A PSOLID property entry identification number. Default = EID (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.CQUAD4(cardinfo)[source]#
Bases:
N2PCard
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
CardGrid point identification numbers of connection points. (Integers > 0, all unique.)
- property G2: int#
- property G3: int#
- property G4: int#
- property MCID: int#
Material coordinate system identification number. The x-axis of the material coordinate system is determined by projecting the x-axis of the MCID coordinate system(defined by the CORDij entry or zero for the basic coordinate system) onto the surface of the element. Use DIAG 38 to print the computed THETA values. MCID is ignored for hyperelastic elements. For SOL 600, only CORD2R is allowed. (Integer >= 0; If blank, then THETA = 0.0 is assumed.)
- property PID: int#
Property identification number of a PSHELL, PCOMP, or PLPLANE entry. (Integer > 0; Default = EID)
- property T1: float#
Membrane thickness of element at grid points G1 through G4.If “TFLAG” is zero or blank, then Ti are actual user specified thicknesses. See Remark 4*. for default. (Real >= 0.0 or blank, not all zero.) If “TFLAG” is one, then the Ti are fractions relative to the T value of the PSHELL. (Real > 0.0 or blank, not all zero.Default = 1.0) Ti are ignored for hyperelastic elements.
*Remark 4: The continuation is optional. If it is not supplied, then T1 through T4 will be set equal to the value of T on the PSHELL entry.
- property T2: float#
- property T3: float#
- property T4: float#
- property TFLAG: int#
An integer flag, signifying the meaning of the Ti values. (Integer 0, 1, or blank)
- property THETA: float#
Material property orientation angle in degrees. THETA is ignored for hyperelastic elements.See Figure 8-46. (Real; Default = 0.0)
- property ZOFFS: float#
Offset from the surface of grid points to the element reference plane. ZOFFS is ignored for hyperelastic elements.See Remark 6. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CQUAD8(cardinfo)[source]#
Bases:
N2PCard
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected corner grid points.Required data for all four grid points. (Unique Integers > 0)
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
Identification numbers of connected edge grid points. Optional data for any or all four grid points. (Integer >= 0 or blank)
- property G6: int#
- property G7: int#
- property G8: int#
- property MCID: int#
Material coordinate system identification number. The x-axis of the material coordinate system is determined by projecting the x-axis of the MCID coordinate system(defined by the CORDij entry or zero for the basic coordinate system) onto the surface of the element. Use DIAG 38 to print the computed THETA values. MCID is ignored for hyperelastic elements. For SOL 600, only CORD2R is allowed. (Integer >= 0; If blank, then THETA = 0.0 is assumed.)
- property PID: int#
Property identification number of a PSHELL, PCOMP, or PLPLANE entry. (Integer > 0; Default = EID)
- property T1: float#
Membrane thickness of element at grid points G1 through G4.If “TFLAG” is zero or blank, then Ti are actual user specified thicknesses. See Remark 4*. for default. (Real >= 0.0 or blank, not all zero.) If “TFLAG” is one, then the Ti are fractions relative to the T value of the PSHELL. (Real > 0.0 or blank, not all zero.Default = 1.0) Ti are ignored for hyperelastic elements.
*Remark 4: The continuation is optional. If it is not supplied, then T1 through T4 will be set equal to the value of T on the PSHELL entry.
- property T2: float#
- property T3: float#
- property T4: float#
- property TFLAG: int#
An integer flag, signifying the meaning of the Ti values. (Integer 0, 1, or blank)
- property THETA: float#
Material property orientation angle in degrees. THETA is ignored for hyperelastic elements.See Figure 8-46. (Real; Default = 0.0)
- property ZOFFS: float#
Offset from the surface of grid points to the element reference plane. ZOFFS is ignored for hyperelastic elements.See Remark 6. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CROD(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCrod)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
CardGrid point identification numbers of connection points. (Integer > 0 ; G1 ≠ G2)
- property G2: int#
- property PID: int#
Property identification number of a PROD entry. (Integer > 0; Default = EID)
- class NaxToPy.Core.Classes.N2PNastranInputData.CSHEAR(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCshear)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected grid points. (Integer >= 0 ; G1 ≠ G2 ≠ G3 ≠ G4)
- property G2: int#
- property G3: int#
- property G4: int#
- property PID: int#
Property identification number of a PSHEAR entry. (Integer > 0; Default = EID)
- class NaxToPy.Core.Classes.N2PNastranInputData.CTETRANAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCtetraNas)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected grid points. (Integer >= 0 or blank)
- property G10: int#
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.CTETRAOPT(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Material coordinate system identification number. Default = 0 (Integer ≥ -1)
- property CORDM: str#
Flag indicating that the following field references the material coordinate system.
- property CharName: str#
Card code (CardCtetraOpt)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected grid points. (Integer >= 0 or blank)
- property G10: int#
- property G2: int#
- property G3: int#
- property G4: int#
- property G5: int#
- property G6: int#
- property G7: int#
- property G8: int#
- property G9: int#
- property PID: int#
Property identification number of a PSOLID or PLSOLID entry. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.CTRIA3(cardinfo)[source]#
Bases:
N2PCard
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
CardGrid point identification numbers of connection points. (Integers > 0, all unique.)
- property G2: int#
- property G3: int#
- property MCID: int#
Material coordinate system identification number. The x-axis of the material coordinate system is determined by projecting the x-axis of the MCID coordinate system(defined by the CORDij entry or zero for the basic coordinate system) onto the surface of the element. Use DIAG 38 to print the computed THETA values. MCID is ignored for hyperelastic elements. For SOL 600, only CORD2R is allowed. (Integer >= 0; If blank, then THETA = 0.0 is assumed.)
- property PID: int#
Property identification number of a PSHELL, PCOMP, or PLPLANE entry. (Integer > 0; Default = EID)
- property T1: float#
Membrane thickness of element at grid points G1 through G4.If “TFLAG” is zero or blank, then Ti are actual user specified thicknesses. See Remark 4*. for default. (Real >= 0.0 or blank, not all zero.) If “TFLAG” is one, then the Ti are fractions relative to the T value of the PSHELL. (Real > 0.0 or blank, not all zero.Default = 1.0) Ti are ignored for hyperelastic elements.
- property T2: float#
- property T3: float#
- property TFLAG: int#
An integer flag, signifying the meaning of the Ti values. (Integer 0, 1, or blank)
- property THETA: float#
Material property orientation angle in degrees. THETA is ignored for hyperelastic elements. (Real; Default = 0.0)
- property ZOFFS: float#
Offset from the surface of grid points to the element reference plane. ZOFFS is ignored for hyperelastic elements.See Remark 3. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CTRIA6(cardinfo)[source]#
Bases:
N2PCard
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
Identification numbers of connected corner grid points. (Unique Integers > 0)
- property G2: int#
- property G3: int#
- property G4: int#
Identification number of connected edge grid points. Optional data for any or all three points. (Integer >= 0 or blank)
- property G5: int#
- property G6: int#
- property MCID: int#
Material coordinate system identification number. The x-axis of the material coordinate system is determined by projecting the x-axis of the MCID coordinate system(defined by the CORDij entry or zero for the basic coordinate system) onto the surface of the element. Use DIAG 38 to print the computed THETA values. MCID is ignored for hyperelastic elements. For SOL 600, only CORD2R is allowed. (Integer >= 0; If blank, then THETA = 0.0 is assumed.)
- property PID: int#
Property identification number of a PSHELL, PCOMP, or PLPLANE entry. (Integer > 0)
- property T1: float#
Membrane thickness of element at grid points G1 through G4.If “TFLAG” is zero or blank, then Ti are actual user specified thicknesses. See Remark 4*. for default. (Real >= 0.0 or blank, not all zero.) If “TFLAG” is one, then the Ti are fractions relative to the T value of the PSHELL. (Real > 0.0 or blank, not all zero.Default = 1.0) Ti are ignored for hyperelastic elements.
- property T2: float#
- property T3: float#
- property TFLAG: int#
An integer flag, signifying the meaning of the Ti values. (Integer 0, 1, or blank)
- property THETA: float#
Material property orientation angle in degrees. THETA is ignored for hyperelastic elements. (Real; Default = 0.0)
- property ZOFFS: float#
Offset from the surface of grid points to the element reference plane. ZOFFS is ignored for hyperelastic elements.See Remark 3. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.CWELD(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardCweld)
- property EWID: int#
CardCweld element identification number. See Remark 1. (Integer > 0) * Remark 1: CardCweld defines a flexible connection between two surface patches, between a point and a surface patch, or between two shell vertex grid points. See Figure 8-72 through Figure 8-76.
- property GA: int#
CardGrid point identification numbers of piercing points on surface A and surface B, respectively. See Remark 5. (Integer > 0 or blank) * Remark 5: The definition of the piercing grid points GA and GB is optional for all formats with the exception of the format “ALIGN”. If GA and GB are given, GS is ignored.If GA and GB are not specified, they are generated from the normal projection of GS on surface patches A and B.For the formats “ELEMID” and “GRIDID,” internal identification numbers are generated for GA and GB starting with 101e+6 by default. The offset number can be changed with PARAM, OSWPPT. If GA and GB are specified, they must lie on or at least have a projection on surface patches A and B, respectively. The locations of GA and GB are corrected so that they lie on surface patches A and B within machine precision accuracy.The length of the connector is the distance of grid point GA to GB. Vertex grid identification number of shell A and B, respectively. (Integer > 0)
- property GA1: int#
CardGrid identification numbers of surface patch A.GA1 to GA3 are required. See Remark 10. (Integer > 0) * Remark 10: GAi are required for the format “GRIDID”. At least 3 and at most 8 grid IDs may be specified for GAi and GBi, respectively.The rules of the triangular and quadrilateral elements apply for the order of GAi and GBi, see Figure 8-75. Missing midside nodes are allowed.
- property GA2: int#
- property GA3: int#
- property GA4: int#
- property GA5: int#
- property GA6: int#
- property GA7: int#
- property GA8: int#
- property GB: int#
- property GB1: int#
CardGrid identification numbers of surface patch B. See Remark 10. (Integer > 0) * Remark 10: GAi are required for the format “GRIDID”. At least 3 and at most 8 grid IDs may be specified for GAi and GBi, respectively.The rules of the triangular and quadrilateral elements apply for the order of GAi and GBi, see Figure 8-75. Missing midside nodes are allowed.
- property GB2: int#
- property GB3: int#
- property GB4: int#
- property GB5: int#
- property GB6: int#
- property GB7: int#
- property GB8: int#
- property GS: int#
Identification number of a grid point which defines the location of the connector.See Remarks 2. and 3. * Remark 2: CardGrid point GS defines the approximate location of the connector in space. GS is projected on surface patch A and on surface patch B.The resulting piercing points GA and GB define the axis of the connector. GS must have a normal projection on surface patch A and B. GS does not have to lie on the surface patches. GS is ignored for format “ALIGN”. GA is used instead of GS if GS is not specified. For the formats “ELPAT” and “PARTPAT,” if GS and GA are not specified, then XS, YS, and ZS must be specified. * Remark 3: The connectivity between grid points on surface patch A and grid points on surface patch B is generated depending on the location of GS and the cross sectional area of the connector.Diagnostic print outs, checkout runs and non default settings of search and projection parameters are requested on the SWLDPRM Bulk Data entry.It is recommended to start with the default settings.
- property PIDA: int#
Property identification numbers of PSHELL entries defining surface A and B respectively. (Integer > 0)
- property PIDB: int#
- property PWID: int#
Property identification number of a PWELD entry. (Integer > 0)
- property SHIDA: int#
Shell element identification numbers of elements on patch A and B, respectively. (Integer > 0)
- property SHIDB: int#
- property SPTYP: str#
Character string indicating types of surface patches A and B.SPTYP=”QQ”, “TT”, “QT”, “TQ”, “Q” or “T”. See Remark 9. * Remark 9: SPTYP defines the type of surface patches to be connected. SPTYP is required for the format “GRIDID” to identify quadrilateral or triangular patches.The combinations are: SPTYP Description QQ Connects a quadrilateral surface patch A(Q4 to Q8) with a quadrilateral surface patch B(Q4 to Q8). QT Connects a quadrilateral surface patch A(Q4 to Q8) with a triangular surface patch B(T3 to T6). TT Connects a triangular surface patch A(T3 to T6) with a triangular surface patch B(T3 to T6). TQ Connects a triangular surface patch A(T3 to T6) with a quadrilateral surface patch B(Q4 to Q8). Q Connects the shell vertex grid GS with a quadrilateral surface patch A(Q4 to Q8) if surface patch B is not specified. T Connects the shell vertex grid GS with a triangular surface patch A (T3 to T6) if surface patch B is not specified.
- property TYPE: str#
Character string indicating the type of connection.The format of the subsequent entries depends on the type. “PARTPAT”, for example, indicates that the connectivity of surface patch A to surface patch B is defined with two property identification numbers of PSHELL entries, PIDA and PIDB, respectively.The “PARTPAT” format connects up to 3x3 elements per patch. See Remark 4. Character string indicating that the connectivity of surface patch A to surface patch B is defined with two shell element identification numbers, SHIDA and SHIDB, respectively.The “ELPAT” format connects up to 3x3 elements per patch. See Remark 6. The “ELEMID” format connects one shell element perpatch. See Remark 7. Character string indicating that the connectivity of surface patch A to surface patch B is defined with two sequences of grid point identification numbers, GAi and GBi, respectively.The “GRIDID” format connects the surface of any element.See Remark 8. Character string indicating that the connectivity of surface A to surface B is defined with two shell vertex grid points GA and GB, respectively. See Remark 11. * Remark 4: The format “PARTPAT” defines a connection of two shell element patches A and B with PSHELL property identification numbers PIDA and PIDB, respectively. The two property identification numbers must be different, see Figure 8-72. Depending on the location of the piercing points GA, GB and the size of the diameter D, the number of connected elements per patch ranges from a single element up to 3x3 elements.The diameter D is defined on the PWELD property entry. For this option, shell element patches A and B are allowed to share a common grid. * Remark 6: The format “ELPAT” defines a connection of two shell element patches A and B with shell element identification numbers SHIDA and SHIDB, see Figure 8-72. The connectivity is similar to the format “PARTPAT”. Depending on the location of the piercing points GA, GB and the size of the diameter D, the number of connected elements per patch may range from a single element up to 3x3 elements.For this option, shell element patches A and B are allowed to share a common grid. * Remark 7: The format “ELEMID” defines a connection of two shell element patches A and B with shell element identification numbers SHIDA and SHIDB, see Figure 8-73. The connectivity is restricted to a single element per patch regardless of the location of GA, GB and regardless of the size of the diameter of the connector.In addition, the format “ELEMID” can define a point to patch connection if SHIDB is left blank, see Figure 8-74. Then grid GS is connected to shell SHIDA. * Remark 8: The format “GRIDID” defines a connection of two surface patches A and B with a sequence of grid points GAi and GBi, see Figure 8-73. In addition, the format “GRIDID” can define a point to patch connection if all GBi fields are left blank, see Figure 8-74. Then grid GS is connected to grids GAi.The grids GAi and GBi do not have to belong to shell elements. * Remark 11: The format “ALIGN” defines a point to point connection, see Figure 8-76. GA and GB are required, they must be existing vertex nodes of shell elements. For the other formats, GA and GB are not required. Two shell normals in the direction GA-GB are generated at GA and GB, respectively.
- property XS: float#
Coordinates of spot weld location in basic. See Remark 2. (Real) * Remark 2: CardGrid point GS defines the approximate location of the connector in space. GS is projected on surface patch A and on surface patch B.The resulting piercing points GA and GB define the axis of the connector. GS must have a normal projection on surface patch A and B. GS does not have to lie on the surface patches. GS is ignored for format “ALIGN”. GA is used instead of GS if GS is not specified. For the formats “ELPAT” and “PARTPAT,” if GS and GA are not specified, then XS, YS, and ZS must be specified.
- property YS: float#
- property ZS: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.GRID(cardinfo)[source]#
Bases:
N2PCard
- property CD: int#
Identification number of coordinate system in which the displacements, degrees-of-freedom, constraints, and solution vectors are defined at the grid point. (Integer >= -1 or blank)*
- property CP: int#
Identification number of coordinate system in which the location of the grid point is defined. (Integer >= 0 or blank*)
- property ID: int#
CardCardGrid point identification number. (0 < Integer < 100000000)
- property PS: int#
Permanent single-point constraints associated with the grid point. (Any of the Integers 1 through 6 with no embedded blanks, or blank*.)
- property SEID: int#
Superelement identification number. (Integer >= 0; Default = 0)
- property X1: float#
Location of the grid point in coordinate system CP. (Real; Default = 0.0)
- property X2: float#
Location of the grid point in coordinate system CP. (Real; Default = 0.0)
- property X3: float#
Location of the grid point in coordinate system CP. (Real; Default = 0.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.IndexTrackingList(iterable=None, csobject=None)[source]#
Bases:
list
Class that is used as a list. It is used because it changes the setitem method of the list class to affect the csharp list where the information is actually safe
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT10NAS(cardinfo)[source]#
Bases:
N2PCard
- property BULK: float#
Bulk modulus. (Real > 0.0)
- property C: float#
Speed of sound. (Real > 0.0)
- property CharName: str#
Card code (CardMat10Nas)
- property GE: float#
Fluid element damping coefficient. (Real)
- property MID: int#
Material identification number. (Integer > 0)
- property RHO: float#
Mass density. (Real > 0.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT10OPT(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Normalized porous material damping coefficient. Since the admittance is a function of frequency, the value of ALPHA should be chosen for the frequency range of interest for the analysis. No default (Real)
- property BULK: float#
Bulk modulus. No default (Real > 0.0)
- property C: float#
Speed of sound. No default (Real > 0.0)
- property CharName: str#
Card code (CardMat10Opt)
- property GE: float#
Fluid element damping coefficient. No default (Real)
- property MID: int#
Unique material identification. No default (Integer > 0 or <String>)
- property RHO: float#
Mass density. Automatically computes the mass. No default (Real > 0.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT1NAS(cardinfo)[source]#
Bases:
N2PCard
- property A: float#
Thermal expansion coefficient. (Real)
- property CharName: str#
Card code (CardMat1Nas)
- property E: float#
Young’s modulus. (Real > 0.0 or blank)
- property G: float#
Shear modulus. (Real > 0.0 or blank)
- property GE: float#
Structural element damping coefficient. See Remarks 8., 9., and 4. (Real) * Remark 8: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0, by 2.0. * Remark 9: TREF and GE are ignored if the MAT1 entry is referenced by a PCOMP entry. * Remark 4: MAT1 materials may be made temperature-dependent by use of the MATT1 entry.In SOL 106, linear and nonlinear elastic material properties in the residual structure will be updated as prescribed under the TEMPERATURE Case Control command.
- property MCSID: int#
Material coordinate system identification number. Used only for PARAM,CURV processing.See “Parameters” on page 631. (Integer > 0 or blank)
- property MID: int#
Material identification number. (Integer > 0)
- property NU: float#
Poisson’s ratio. (-1.0 < Real < 0.5 or blank)
- property RHO: float#
Mass density. See Remark 5. (Real) * Remark 5: The mass density RHO will be used to compute mass for all structural elements automatically.
- property SC: float#
- property SS: float#
- property ST: float#
Stress limits for tension, compression, and shear are optionally supplied, used only to compute margins of safety in certain elements; and have no effect on the computational procedures.See “Beam Element (CBEAM)” in Chapter 3 of the MSC.Nastran Reference Guide. (Real > 0.0 or blank)
- property TREF: float#
Reference temperature for the calculation of thermal loads, or a temperature-dependent thermal expansion coefficient. See Remarks 9. and 10. (Real; Default = 0.0 if A is specified.) * Remark 9: TREF and GE are ignored if the MAT1 entry is referenced by a PCOMP entry. * Remark 10: TREF is used in two different ways: • In nonlinear static analysis(SOL 106), TREF is used only for the calculation of a temperature-dependent thermal expansion coefficient. The reference temperature for the calculation of thermal loads is obtained from the TEMPERATURE(INITIAL) set selection. • In all SOLs except 106, TREF is used only as the reference temperature for the calculation of thermal loads.TEMPERATURE(INITIAL) may be used for this purpose, but TREF must be blank.
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT1OPT(cardinfo)[source]#
Bases:
N2PCard
- property A: float#
Thermal expansion coefficient. No default (Real)
- property CharName: str#
Card code (CardMat1Opt)
- property E: float#
Young’s modulus. (Real > 0.0 or blank)
- property G: float#
Shear modulus. (Real > 0.0 or blank)
- property GE: float#
Structural element damping coefficient. No default (Real)
- property MID: int#
Material identification number. (Integer > 0)
- property MODULI: str#
Continuation line flag for moduli temporal property.
- property MTIME: str#
Material temporal property. This field controls the interpretation of the input material property for viscoelasticity. INSTANT This material property is considered as the Instantaneous material input for viscoelasticity on the MATVE entry. LONG(Default) This material property is considered as the Long-term relaxed material input for viscoelasticity on the MATVE entry.
- property NU: float#
Poisson’s ratio. If < 0.0, a warning is issued. (-1.0 < Real < 0.5 or blank)
- property RHO: float#
Mass density. Used to automatically compute mass for all structural elements. No default (Real)
- property SC: float#
- property SS: float#
- property ST: float#
Stress limits in tension, compression and shear. Used for composite ply failure calculations. No default (Real)
- property TREF: float#
Reference temperature for thermal loading. Default = 0.0 (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT2NAS(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Thermal expansion coefficient vector. (Real)
- property A2: float#
- property A3: float#
- property CharName: str#
Card code (CardMat2Nas)
- property G11: float#
The material property matrix. (Real)
- property G12: float#
- property G13: float#
- property G22: float#
- property G23: float#
- property G33: float#
- property GE: float#
Structural element damping coefficient. See Remarks 7., 10., and 12. (Real) * Remark 7: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0, by 2.0. * Remark 10: TREF and GE are ignored if the MAT1 entry is referenced by a PCOMP entry. * Remark 12: If PARAM,W4 is not specified, GE is ignored in transient analysis. See “Parameters” on page 631.
- property MCSID: int#
Material coordinate system identification number. Used only for PARAM,CURV processing.See “Parameters” on page 631. (Integer >= 0 or blank)
- property MID: int#
Material identification number. See Remark 13. (Integer > 0) * Remark 13: PCOMP entries generate MAT2 entries equal to 100,000,000 plus the PCOMP PID.Explicitly specified MAT2 IDs must not conflict with internally generated MAT2 IDs.Furthermore, if MID is greater than 400,000,000 then A1, A2, and A3 are a special format. They are [G4] ⋅ [α4] not [α4]. If MIDs larger than 99999999 are used, PARAM, NOCOMPS,-1 must be specified to obtain stress output.
- property RHO: float#
Mass density. (Real)
- property SC: float#
- property SS: float#
- property ST: float#
Stress limits for tension, compression, and shear are optionally supplied, used only to compute margins of safety in certain elements; and have no effect on the computational procedures.See “Beam Element (CBEAM)” in Chapter 3 of the MSC.Nastran Reference Guide. (Real or blank)
- property TREF: float#
Reference temperature for the calculation of thermal loads, or a temperature-dependent thermal expansion coefficient. See Remarks 10 and 11. (Real or blank) * Remark 10: TREF and GE are ignored if this entry is referenced by a PCOMP entry. * Remark 11: TREF is used in two different ways: • In nonlinear static analysis(SOL 106), TREF is used only for the calculation of a temperature-dependent thermal expansion coefficient. The reference temperature for the calculation of thermal loads is obtained from the TEMPERATURE(INITIAL) set selection. • In all SOLs except 106, TREF is used only as the reference temperature for the calculation of thermal loads.TEMPERATURE(INITIAL) may be used for this purpose, but TREF must be blank.
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT2OPT(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Thermal expansion coefficient vector. No default (Real)
- property A2: float#
- property A3: float#
- property CharName: str#
Card code (CardMat2Opt)
- property G11: float#
The material property matrix. No default. (Real)
- property G12: float#
- property G13: float#
- property G22: float#
- property G23: float#
- property G33: float#
- property GE: float#
Structural element damping coefficient. No default (Real)
- property MID: int#
Material identification number. (Integer > 0)
- property RHO: float#
Mass density. Used to automatically compute mass for all structural elements. No default (Real)
- property SC: float#
- property SS: float#
- property ST: float#
Stress limits in tension, compression and shear. Used for composite ply failure calculations. No default (Real)
- property TREF: float#
Reference temperature for the calculation of thermal loads. Data from the MAT2 entry is used directly, without adjustment of equivalent E, G, or NU values. Default = blank(Real or blank)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT3(cardinfo)[source]#
Bases:
N2PCard
- property ATH: float#
- property AX: float#
Thermal expansion coefficients. (Real)
- property AZ: float#
- property CharName: str#
Card code (CardMat3)
- property ETH: float#
- property EX: float#
Young’s moduli in the x, , and z directions, respectively. (Real > 0.0)
- property EZ: float#
- property GE: float#
Structural element damping coefficient. See Remarks 9. and 11. (Real) * Remark 9: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0 by 2.0. * Remark 11: If PARAM,W4 is not specified, GE is ignored in transient analysis. See “Parameters” on page 631.
- property GZX: float#
Shear modulus. (Real > 0.0)
- property MID: int#
Material identification number. (Integer > 0)
- property NUTHZ: float#
- property NUXTH: float#
Poisson’s ratios (coupled strain ratios in the x , z , and zx directions, respectively). (Real)
- property NUZX: float#
- property RHO: float#
Mass density. (Real)
- property TREF: float#
Reference temperature for the calculation of thermal loads or a temperature-dependent thermal expansion coefficient. See Remark 10. (Real or blank) * Remark 10: TREF is used for two different purposes: • In nonlinear static analysis(SOL 106), TREF is used only for the calculation of a temperature-dependent thermal expansion coefficient.The reference temperature for the calculation of thermal loads is obtained from the TEMPERATURE(INITIAL) set selection. See Remark 10. under the MAT1 description. • In all SOLs except 106, TREF is used only as the reference temperature for the calculation of thermal loads.TEMPERATURE(INITIAL) may be used for this purpose, but TREF must be blank.
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT4(cardinfo)[source]#
Bases:
N2PCard
- property CP: float#
Heat capacity per unit mass at constant pressure (specific heat). (Blank or Real > 0.0)
- property CharName: str#
Card code (CardMat4)
- property H: float#
Free convection heat transfer coefficient. (Real or blank)
- property HGEN: float#
Heat generation capability used with QVOL entries. (Real > 0.0; Default = 1.0)
- property K: float#
Thermal conductivity. (Blank or Real > 0.0)
- property MID: int#
Material identification number. (Integer > 0)
- property QLAT: float#
Latent heat of fusion per unit mass associated with the phase change. (Real > 0.0 or blank)
- property REFENTH: float#
Reference enthalpy. (Real or blank)
- property TCH: float#
Lower temperature limit at which phase change region is to occur. (Real or blank)
- property TDELTA: float#
Total temperature change range within which a phase change is to occur. (Real > 0.0 or blank)
- property p: float#
Density. (Real > 0.0; Default = 1.0)
- property u: float#
Dynamic viscosity. See Remark 2. (Real > 0.0 or blank)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT5(cardinfo)[source]#
Bases:
N2PCard
- property CP: float#
Heat capacity per unit mass. (Real > 0.0 or blank)
- property CharName: str#
Card code (CardMat5)
- property HGEN: float#
Heat generation capability used with QVOL entries. (Real > 0.0; Default = 1.0)
- property KXX: float#
Thermal conductivity. (Real)
- property KXY: float#
- property KXZ: float#
- property KYY: float#
- property KYZ: float#
- property KZZ: float#
- property MID: int#
Material identification number. (Integer > 0)
- property RHO: float#
Density. (Real>0.0; Default=1.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT8(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Thermal expansion coefficient in i-direction. (Real)
- property A2: float#
- property CharName: str#
Card code (CardMat8)
- property E1: float#
Modulus of elasticity in longitudinal direction, also defined as the fiber direction or 1-direction. (Real ≠ 0.0)
- property E2: float#
Modulus of elasticity in lateral direction, also defined as the matrix direction or 2-direction. (Real ≠ 0.0)
- property F12: float#
Interaction term in the tensor polynomial theory of Tsai-Wu. Required if failure index by Tsai-Wu theory is desired and if value of F12 is different from 0.0. See the FT field on the PCOMP entry. (Real)
- property G12: float#
In-plane shear modulus. (Real > 0.0; Default = 0.0)
- property G1Z: float#
Transverse shear modulus for shear in 1-Z plane. (Real > 0.0; Default implies infinite shear modulus.)
- property G2Z: float#
Transverse shear modulus for shear in 2-Z plane. (Real > 0.0; Default implies infinite shear modulus.)
- property GE: float#
Structural damping coefficient. See Remarks 4. and 6. (Real) * Remark 4: Xt, Yt, and S are required for composite element failure calculations when requested in the FT field of the PCOMP entry.Xc and Yc are also used but not required. * Remark 6: TREF is used in two different ways: • In nonlinear static analysis(SOL 106), TREF is used only for the calculation of a temperature-dependent thermal expansion coefficient.The reference temperature for the calculation of thermal loads is obtained from the TEMPERATURE(INITIAL) set selection. See Figure 8-94 in Remark 10. in the MAT1 description. • In all SOLs except 106, TREF is used only as the reference temperature for the calculation of thermal loads.TEMPERATURE(INITIAL) may be used for this purpose, but TREF must then be blank.
- property MID: int#
Material identification number. Referenced on a PSHELL or PCOMP entry only. (0 < Integer< 100,000,000)
- property NU12: float#
Poisson’s ratio (ε2 ⁄ ε1 for uniaxial loading in 1-direction). Note that υ21 = ε1 ⁄ ε2 for uniaxial loading in 2-direction is related to 12, E1, and E2 by the relation υ12E2 = υ21E1. (Real)
- property RHO: float#
Mass density. (Real)
- property S: float#
Allowable stress or strain for in-plane shear. See the FT field on the PCOMP entry. (Real > 0.0)
- property STRN: float#
For the maximum strain theory only (see STRN in PCOMP entry). Indicates whether Xt, Xc, Yt, Yc, and S are stress or strain allowables. [Real = 1.0 for strain allowables; blank(Default) for stress allowables.]
- property TREF: float#
Reference temperature for the calculation of thermal loads, or a temperature-dependent thermal expansion coefficient.See Remarks 4. and 5. (Real or blank) * Remark 4: Xt, Yt, and S are required for composite element failure calculations when requested in the FT field of the PCOMP entry.Xc and Yc are also used but not required. * Remark 5: TREF and GE are ignored if this entry is referenced by a PCOMP entry.
- property Xc: float#
- property Xt: float#
Allowable stresses or strains in tension and compression, respectively, in the longitudinal direction.Required if failure index is desired. See the FT field on the PCOMP entry. (Real > 0.0; Default value for Xc is Xt.)
- property Yc: float#
- property Yt: float#
Allowable stresses or strains in tension and compression, respectively, in the lateral direction.Required if failure index is desired. (Real > 0.0; Default value for Yc is Yt.)
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT9NAS(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Thermal expansion coefficient. (Real)
- property A2: float#
- property A3: float#
- property A4: float#
- property A5: float#
- property A6: float#
- property CharName: str#
Card code (CardMat9Nas)
- property G11: float#
Elements of the 6 x 6 symmetric material property matrix in the material coordinate system. (Real)
- property G12: float#
- property G13: float#
- property G14: float#
- property G15: float#
- property G16: float#
- property G22: float#
- property G23: float#
- property G24: float#
- property G25: float#
- property G26: float#
- property G33: float#
- property G34: float#
- property G35: float#
- property G36: float#
- property G44: float#
- property G45: float#
- property G46: float#
- property G55: float#
- property G56: float#
- property G66: float#
- property GE: float#
Structural element damping coefficient. See Remarks 6. and 8. (Real) * Remark 6: The damping coefficient GE is given by GE = 2.0 * C / Co * Remark 8: If PARAM,W4 is not specified, GE is ignored in transient analysis. See “Parameters” on page 631.
- property MID: int#
Material identification number. (Integer > 0)
- property RHO: float#
Mass density. (Real)
- property TREF: float#
Reference temperature for the calculation thermal loads, or a temperature-dependent thermal expansion coefficient.See Remark 7. (Real or blank) * Remark 7: TREF is used in two different ways: • In nonlinear static analysis(e.g., SOL 106), TREF is used only for the calculation of a temperature-dependent thermal expansion coefficient.The reference temperature for the calculation of thermal loads is obtained from the TEMPERATURE(INITIAL) set selection. See Figure 5-91 in Remark 10. in the MAT1 description. • In all solutions except nonlinear static analysis, TREF is used only as the reference temperature for the calculation of thermal loads. TEMPERATURE(INITIAL) may be used for this purpose, but TREF must then be blank.
- class NaxToPy.Core.Classes.N2PNastranInputData.MAT9OPT(cardinfo)[source]#
Bases:
N2PCard
- property A1: float#
Thermal expansion coefficient vector. No default (Real)
- property A2: float#
- property A3: float#
- property A4: float#
- property A5: float#
- property A6: float#
- property CharName: str#
Card code (CardMat9Opt)
- property G11: float#
The material property matrix. No default (Real)
- property G12: float#
- property G13: float#
- property G14: float#
- property G15: float#
- property G16: float#
- property G22: float#
- property G23: float#
- property G24: float#
- property G25: float#
- property G26: float#
- property G33: float#
- property G34: float#
- property G35: float#
- property G36: float#
- property G44: float#
- property G45: float#
- property G46: float#
- property G55: float#
- property G56: float#
- property G66: float#
- property GE: float#
Structural element damping coefficient. No default (Real)
- property MID: int#
Unique material identification. No default (Integer > 0 or <String>)
- property MODULI: str#
Continuation line flag for moduli temporal property.
- property MTIME: str#
Material temporal property. This field controls the interpretation of the input material property for viscoelasticity. INSTANT This material property is considered as the Instantaneous material input for viscoelasticity on the MATVE entry. LONG(Default) This material property is considered as the Long-term relaxed material input for viscoelasticity on the MATVE entry.
- property RHO: float#
Mass density. Used to automatically compute mass for all structural elements. No default (Real)
- property TREF: float#
Reference temperature for the calculation of thermal loads. Default = blank(Real or blank)
- class NaxToPy.Core.Classes.N2PNastranInputData.MPC(cardinfo)[source]#
Bases:
N2PCard
- property A: list[float]#
Coefficient. (Real; Default = 0.0 except A1 must be nonzero.)
- property C: list[str]#
Component number. (Any one of the Integers 1 through 6 for grid points; blank or zero for scalar points.)
- property CharName: str#
Card code (MPC)
- property G: list[int]#
Identification number of grid or scalar point. (Integer > 0)
- property SID: int#
Set identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.N2PCard(card)[source]#
Bases:
N2PInputData
Class with the information of a bulk data card of an input file of Nastran.
- Functions:
get_field(row:int, col:int)
- DataType#
str.
- Lines#
list[str, …].
- Table#
2D-Array.
- SuperElement#
int.
- CardType#
str.
- property CardType: str#
- property SuperElement: int#
- property Table: array#
2D Array with the information of each field of a card. This information is kept as an object. To actually obtain this information one of this methods should be used on a field:
ToCharacter()
ToReal()
ToInteger()
WARNING: The user must know what type of data the filed is to use the correct method
Example
id = .Table[0,1].ToInteger()
- get_field(i: int, j: int) _N2PField [source]#
It returns an object with the information of a field of a card. To actually obtain this information one of this methods should be used on a field:
ToCharacter()
ToReal()
ToInteger()
WARNING: The user must know what type of data the filed is to use the correct method
Example
id = .get_field(0, 1).ToInteger()
- class NaxToPy.Core.Classes.N2PNastranInputData.N2PInputData(inputdata)[source]#
Bases:
object
General class for the information in an input file of Nastran
- DataType#
str.
- Lines#
list[str, …].
- property DataType: str#
- property FilePathId: int#
- property Lines: list[str, ...]#
- class NaxToPy.Core.Classes.N2PNastranInputData.N2PModelInputData(*args, **kwargs)[source]#
Bases:
N2PNastranInputData
Deprecated class. To maintain its functionality it works as the new class N2PNastranInputData
- class NaxToPy.Core.Classes.N2PNastranInputData.N2PNastranInputData(dictcardscston2p: dict, inputfiledata)[source]#
Bases:
object
Class with the complete data of a MEF input file (text file).
- Functions:
get_cards_by_field
- ListBulkDataCards#
list[N2PCard, …].
- DictionaryIDsFiles#
dict.
- TypeOfFile#
str.
- property DictionaryFilesIDs: dict#
- property DictionaryIDsFiles: dict#
- property ListBulkDataCards: list[N2PCard, ...]#
List with the N2PCard objects of the input FEM file. It has all bulk data cards of the model
- property ListComments: list[N2PInputData]#
List with all the comments in the FEM Input File
- property ListInstructions: list[N2PInputData]#
Executive Control Statements and Control Case Commands
- Type:
List with the instructions of the model. They are the commands above the BEGIN BULK
- property TypeOfFile: str#
- get_cards_by_field(fields: list[str], row: int = 0, col: int = 0) list[N2PCard] [source]#
Method that returns a list with the N2PCard objects of the input FEM file that meet the condition. In other words, that field is equal to the string in the position defined. If no row or column is defined, the string will compare with the position (0,0) of the card, that is the name of the card.
- Parameters:
fields – str | list[str]
row – int (optional)
col – int (optional)
- Returns:
list[N2PCard, ]
- class NaxToPy.Core.Classes.N2PNastranInputData.PBAR(cardinfo)[source]#
Bases:
N2PCard
- property A: float#
Area of bar cross section. (Real; Default = 0.0)
- property C1: float#
C1, C2, D1, D2, E1, E2, F1, F2: Stress recovery coefficients. (Real; Default = 0.0)
- property C2: float#
- property CharName: str#
Card code (PLPLANE)
- property D1: float#
- property D2: float#
- property E1: float#
- property E2: float#
- property F1: float#
- property F2: float#
- property I1: float#
I1, I2: Area moments of inertia.See Figure 8-177. (Real; I1 > 0.0, I2 > 0.0, I1* I2 > ; Default = 0.0)
- property I12: float#
Area moments of inertia.See Figure 8-177. (Real; I1 > 0.0, I2 > 0.0, I1* I2 > ; Default = 0.0)
- property I2: float#
- property J: float#
Torsional constant. See Figure 8-177. (Real; Default = for SOL 600 and 0.0 for all other solution sequences)
- property K1: float#
Area factor for shear. See Remark 5. (Real or blank)
- property K2: float#
- property MID: int#
Identification number of a MATHP entry. (Integer > 0)
- property NSM: float#
Nonstructural mass per unit length. (Real)
- property PID: int#
Property identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PBARL(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PMASS)
- property DIM: list[float]#
PBARL PID MID GROUP TYPE DIM1 DIM2 DIM3 DIM4 DIM5 DIM6 DIM7 DIM8 DIM9 -etc. NSM
- property GROUP: str#
Cross-section group.See Remarks 6. and 8. (Character; Default = “MSCBML0”)
- property MID: int#
Material identification number (Integer > 0)
- property NSM: float#
- property PID: int#
Property identification number. (Integer > 0)
- property TYPE: str#
Cross-section type.See Remarks 6. and 8. and Figure 8-112. (Character: “ROD”, “TUBE”, “I”, “CHAN”, “T”, “BOX”, “BAR”, “CROSS”, “H”, “T1”, “I1”, “CHAN1”, “Z”, “CHAN2”, “T2”, “BOX1”, “HEXA”, “HAT”, “HAT1”, “DBOX” for GROUP=“MSCBML0”)
- class NaxToPy.Core.Classes.N2PNastranInputData.PBEAM(cardinfo)[source]#
Bases:
N2PCard
- property A: float#
A, I1, I2, I12, II2 Area, moments of inertia, torsional stiffness parameter, and nonstructural mass for the cross section located at x. (Real; J > 0.0 if warping is present.)
- property A_A: float#
Area of the beam cross section at end A. (Real > 0.0)
- property C1: float#
C1, C2, D1, D2, E1, E2, F1, F2: The y and z locations (i = 1 corresponds to y and i = 2 corresponds to z) in element coordinates relative to the shear center(see the diagram following the remarks) at end A for stress data recovery. (Real)
- property C1_A: float#
C1_A, C2_A, D1_A, D2_A, E1_A, E2_A, F1_A, F2_A: The y and z locations (i = 1 corresponds to y and i = 2 corresponds to z) in element coordinates relative to the shear center(see the diagram following the remarks) at end A for stress data recovery. (Real)
- property C2: float#
- property C2_A: float#
- property CW_A: float#
CW(A), CW(B): Warping coefficient for end A and end B.Ignored for beam p-elements.See Remark 11. (Real)
- property CW_B: float#
- property CharName: str#
Card code (PSOLID_NASTRAN)
- property D1: float#
- property D1_A: float#
- property D2: float#
- property D2_A: float#
- property E1: float#
- property E1_A: float#
- property E2: float#
- property E2_A: float#
- property F1: float#
- property F1_A: float#
- property F2: float#
- property F2_A: float#
- property I1: float#
- property I12: float#
- property I12_A: float#
Area product of inertia at end A. See Remark 10. (Real, but I1*I2 - I12^2 > 0.00)
- property I1_A: float#
Area moment of inertia at end A for bending in plane 1 about the neutral axis.See Remark 10. (Real > 0.0)
- property I2: float#
- property I2_A: float#
Area moment of inertia at end A for bending in plane 2 about the neutral axis.See Remark 10. (Real > 0.0)
- property J: float#
- property J_A: float#
Torsional stiffness parameter at end A. See Remark 10. (Real >= 0.0 but > 0.0 if warping is present)
- property K1: float#
K1, K2: Shear stiffness factor K in K* A*G for plane 1 and plane 2. See Remark 12. (Real)
- property K2: float#
- property M1_A: float#
M1(A), M2(A), M1(B), M2(B): (y, z) coordinates of center of gravity of nonstructural mass for end A and end B.See Figure 8-184. (Real)
- property M1_B: float#
- property M2_A: float#
- property M2_B: float#
- property MID: int#
Material identification number. (Integer > 0)
- property N1_A: float#
N1(A), N2(A), N1(B), N2(B): (y, z) coordinates of neutral axis for end A and end B (Real)
- property N1_B: float#
- property N2_A: float#
- property N2_B: float#
- property NSI_A: float#
NSI(A), NSI(B): Nonstructural mass moment of inertia per unit length about nonstructural mass center of gravity at end A and end B.See Figure 8-184. (Real)
- property NSI_B: float#
- property NSM: float#
- property NSM_A: float#
Nonstructural mass per unit length at end A. (Real)
- property PID: int#
Property identification number. (Integer > 0 or string)
- property S1: float#
S1, S2: Shear relief coefficient due to taper for plane 1 and plane 2. Ignored for beam p-elements. (Real)
- property S2: float#
- property SO: str#
Stress output request option.See Remark 9. (Character) Required* “YES” Stresses recovered at points Ci, Di, Ei, and Fi on the next continuation. “YESA” Stresses recovered at points with the same y and z location as end A. “NO” No stresses or forces are recovered.
- property X_XB: float#
“NO” No stresses or forces are recovered. Distance from end A in the element coordinate system divided by the length of the element See Figure 8-184 in Remark 10. (Real, 0.0 < x/xb ≤ 1.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PBEAML(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PMASS)
- property DIM: float#
<para> Cross-section dimensions at intermediate stations. (Real > 0.0 for GROUP = “MSCBML0”) </para> <para> 1-N sections, NOT including <see cref=”DIM_A”/> nor <see cref=”DIM_B”/> </para>
- property DIM_A: list[float]#
Cross-section dimensions at end A
- property DIM_B: list[float]#
Cross-section dimensions at end B
- property GROUP: str#
Cross-section group. (Character; Default = “MSCBML0”)
- property MID: int#
Material identification number (Integer > 0)
- property NSM: list[float]#
<para> Nonstructural mass per unit length. (Default = 0.0) </para> <para> 1-N sections, NOT including <see cref=”NSM_A”/> nor <see cref=”NSM_B”/> </para>
- property NSM_A: float#
Nonstructural mass per unit length in section A. (Default = 0.0)
- property NSM_B: float#
Nonstructural mass per unit length in section B. (Default = 0.0)
- property PID: int#
Property identification number. (Integer > 0)
- property SO: list[str]#
<para> Stress output request option for intermediate station j. (Character; Default = “YES”) </para> <para> YES: Stresses recovered at all points on next continuation and shown in Figure 8-116 as C, D, E, and F. </para> <para> NO: No stresses or forces are recovered. </para> <para> Section B NOT included, see <see cref=”SO_B”/> </para>
- property SO_B: str#
<para> Stress output request option for section B. (Character; Default = “YES”) </para> <para> YES: Stresses recovered at all points on next continuation and shown in Figure 8-116 as C, D, E, and F. </para> <para> NO: No stresses or forces are recovered. </para>
- property TYPE: str#
“ROD”, “TUBE”, “L”, “I”, “CHAN”, “T”, “BOX”, “BAR”, “CROSS”, “H”, “T1”, “I1”, “CHAN1”, “Z”, “CHAN2”, “T2”, “BOX1”, “HEXA”, “HAT”, “HAT1”, “DBOX” for GROUP = “MSCBML0”)
- Type:
Cross-section shape.See Remark 4. (Character
- property X_XB: list[float]#
Distance from end A to intermediate station j in the element coordinate system divided by the length of the element. (Real>0.0; Default = 1.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PBUSHNAS(cardinfo)[source]#
Bases:
N2PCard
- property B: str#
Flag indicating that the next 1 to 6 fields are force-per-velocity damping. (Character)
- property B1: float#
Nominal damping coefficients in direction 1 through 6 in units of force per unit velocity.See Remarks 2., 3., and 9. (Real; Default = 0.0)
- Type:
Bi
- property B2: float#
- property B3: float#
- property B4: float#
- property B5: float#
- property B6: float#
- property CharName: str#
Card code (PLPLANE)
- property EA: float#
- property ET: float#
- property GE: str#
Flag indicating that the next fields, 1 through 6 are structural damping constants.See Remark 7. (Character)
- property GE1: float#
Nominal stiffness values in directions 1 through 6. See Remarks 2. and 3. (Real; Default = 0.0)
- property GE2: float#
- property GE3: float#
- property GE4: float#
- property GE5: float#
- property GE6: float#
- property K: str#
Flag indicating that the next 1 to 6 fields are stiffness values in the element coordinate system. (Character)
- property K1: float#
Nominal stiffness values in directions 1 through 6. See Remarks 2. and 3. (Real; Default = 0.0)
- Type:
Ki
- property K2: float#
- property K3: float#
- property K4: float#
- property K5: float#
- property K6: float#
- property M: float#
Lumped mass of the CBUSH. (Real≥0.0; Default=0.0)
- property MID: int#
<see cref=”CardPbushNas”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardProperty”/></para>
- Type:
<para>PID
- property Mflag: str#
Flag indicating that the following entries are mass properties for the CBUSH element.If inertia properties(Iij )are desired CONM2 should be used.
- property PID: int#
Property identification number. (Integer > 0)
- property RCV: str#
Flag indicating that the next 1 to 4 fields are stress or strain coefficients. (Character)
- property SA: float#
Nominal stiffness values in directions 1 through 6. See Remarks 2. and 3. (Real; Default = 0.0)
- property ST: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.PBUSHOPT(cardinfo)[source]#
Bases:
N2PCard
- property ANGLE: str#
Flag indicating that the next 1 to 6 fields are Loss angles defined in degrees. 9
- property ANGLE1: float#
Nominal angle values in directions 1 through 6 in degrees.
- property ANGLE2: float#
- property ANGLE3: float#
- property ANGLE4: float#
- property ANGLE5: float#
- property ANGLE6: float#
- property B: str#
Flag indicating that the next 1 to 6 fields are force-per-velocity damping. (Character)
- property B1: float#
Nominal damping coefficients in direction 1 through 6 in units of force per unit velocity.See Remarks 2., 3., and 9. (Real; Default = 0.0)
- Type:
Bi
- property B2: float#
- property B3: float#
- property B4: float#
- property B5: float#
- property B6: float#
- property CharName: str#
Card code (PLPLANE)
- property GE: str#
Flag indicating that the next fields, 1 through 6 are structural damping constants.See Remark 7. (Character)
- property GE1: float#
Nominal stiffness values in directions 1 through 6. See Remarks 2. and 3. (Real; Default = 0.0)
- property GE2: float#
- property GE3: float#
- property GE4: float#
- property GE5: float#
- property GE6: float#
- property K: str#
Flag indicating that the next 1 to 6 fields are stiffness values in the element coordinate system. (Character)
- property K1: float#
Nominal stiffness values in directions 1 through 6. See Remarks 2. and 3. (Real; Default = 0.0)
- Type:
Ki
- property K2: float#
- property K3: float#
- property K4: float#
- property K5: float#
- property K6: float#
- property KMAG: str#
Flag indicating that the next 1 to 6 fields are stiffness magnitude(K*) values. 4 No default (Character)
- property KMAG1: float#
Nominal stiffness magnitude(K*) values in directions 1 through 6. 4 6 8 9 Default = 0.0 (Real)
- property KMAG3: float#
- property KMAG4: float#
- property KMAG5: float#
- property KMAG6: float#
- property M: str#
Flag indicating that the next 1 to 6 fields are directional masses.
- property M1: float#
Nominal mass values in directions 1 through 6. In case of implicit analysis: 10 M1 For translational mass calculation. Default = 0.0(Real) M2, M3 If defined, they must be same as M1. Default = blank(Real) M4, M5, M6 For inertia calculation. In this case, Inertia = max. (M4, M5, M6). Default = blank(Real) In case of explicit analysis: M1 Required for translational mass calculation. No default (Real) M2, M3 If defined, they must be same as M1. Default = blank(Real) M4 For inertia calculation. For zero length CBUSH elements: M4 Required. No default (Real) For non-zero length CBUSH elements: M4 Optional. Default = blank(Real) M5, M6 These are currently ignored. Default = blank(Real)
- Type:
Mi
- property M2: float#
- property M3: float#
- property M4: float#
- property M5: float#
- property M6: float#
- property MID: int#
<see cref=”CardPbushNas”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardProperty”/></para>
- Type:
<para>PID
- property PID: int#
Property identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PCOMPNAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPcompNas)
- property FT: str#
Failure theory. The following theories are allowed (Character or blank. If blank, then no failure calculation will be performed) See Remark 7. “HILL” for the Hill theory. “HOFF” for the Hoffman theory. “TSAI” for the Tsai-Wu theory. “STRN” for the Maximum Strain theory. * Remark 7: In order to get failure index output the following must be present: a.ELSTRESS or ELSTRAIN Case Control commands, b. SB, FT, and SOUTi on the PCOMP Bulk Data entry, c. Xt, Xc, Yt, Yc, and S on all referenced MAT8 Bulk Data entries if stress allowables are used, or Xt, Xc, Yt, S, and STRN = 1.0 if strain allowables are used.
- property GE: float#
Damping coefficient. See Remarks 4. and 12. (Real; Default = 0.0) * Remark 4: GE given on the PCOMP entry will be used for the element and the values supplied on material entries for individual plies are ignored.The user is responsible for supplying the equivalent damping value on the PCOMP entry.If PARAM, W4 is not specified GE is ignored in transient analysis. See “Parameters” on page 631. * Remark 12: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0 by 2.0.
- property LAM: str#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property MIDi: list[int]#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property NSM: float#
Nonstructural mass per unit area. (Real)
- property PID: int#
Property identification number. (0 < Integer < 10000000)
- property SB: float#
Allowable shear stress of the bonding material (allowable interlaminar shear stress). Required if FT is also specified. (Real > 0.0)
- property SOUTi: list[str]#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property THETAi: list[float]#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property TREF: float#
Reference temperature. See Remark 3. (Real; Default = 0.0) * Remark 3: The TREF specified on the material entries referenced by plies are not used. Instead TREF on the PCOMP entry is used for all plies of the element.If not specified, it defaults to “0.0.” If the PCOMP references temperature dependent material properties, then the TREF given on the PCOMP will be used as the temperature to determine material properties. TEMPERATURE Case Control commands are ignored for deriving the equivalent PSHELL and MAT2 entries used to describe the composite element. If for a nonlinear static analysis the parameter COMPMATT is set to YES, the temperature at the current load step will be used to determine temperature dependent material properties for the plies and the equivalent PSHELL and MAT2 entries for the composite element.The TREF on the PCOMP entry will be used for the initial thermal strain on the composite element and the stresses on the individual plies.If the parameter EPSILONT is also set to INTEGRAL,TREF is not applicable.
- property Ti: list[float]#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property Z0: float#
Distance from the reference plane to the bottom surface. See Remark 10. (Real; Default = -0.5 times the element thickness.) * Remark 10: If the value specified for Z0 is not equal to -0.5 times the thickness of the element and PARAM,NOCOMPS,-1 is specified, then the homogeneous element stresses are incorrect, while element forces and strains are correct. For correct homogeneous stresses, use ZOFFS on the corresponding connection entry.
- class NaxToPy.Core.Classes.N2PNastranInputData.PCOMPOPT(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPcompOpt)
- property DS: float#
Design switch. If non-zero (1.0), the elements associated with this PCOMP data are included in the topology design volume or space. Default = blank (Real = 1.0 or blank)
- property EXPLICIT: str#
Flag indicating that parameters for Explicit Analysis are to follow.
- property FT: str#
Failure theory. The following theories are allowed (Character or blank. If blank, then no failure calculation will be performed) See Remark 7. “HILL” for the Hill theory. “HOFF” for the Hoffman theory. “TSAI” for the Tsai-Wu theory. “STRN” for the Maximum Strain theory. * Remark 7: In order to get failure index output the following must be present: a.ELSTRESS or ELSTRAIN Case Control commands, b. SB, FT, and SOUTi on the PCOMP Bulk Data entry, c. Xt, Xc, Yt, Yc, and S on all referenced MAT8 Bulk Data entries if stress allowables are used, or Xt, Xc, Yt, S, and STRN = 1.0 if strain allowables are used.
- property GE: float#
Damping coefficient. See Remarks 4. and 12. (Real; Default = 0.0) * Remark 4: GE given on the PCOMP entry will be used for the element and the values supplied on material entries for individual plies are ignored.The user is responsible for supplying the equivalent damping value on the PCOMP entry.If PARAM, W4 is not specified GE is ignored in transient analysis. See “Parameters” on page 631. * Remark 12: To obtain the damping coefficient GE, multiply the critical damping ratio C ⁄ C0 by 2.0.
- property HGID: int#
Identification number of the hourglass control (HOURGLS) entry. Default = Blank(Integer > 0)
- property ISOPE: str#
Element formulation flag for Explicit Analysis. 21 22 23 BT Belytschko-Tsay. BWC(Default for four-noded CQUAD4 elements in explicit analysis) Belytschko-Wong-Chiang with full projection. blank
- property LAM: str#
Laminate Options. (Character or blank, Default = blank). See Remarks 13. and 14. “Blank” All plies must be specified and all stiffness terms are developed. “SYM” Only plies on one side of the element centerline are specified. The plies are numbered starting with 1 for the bottom layer.If an odd number of plies are desired, the center ply thickness (T1) should be half the actual thickness. “MEM” All plies must be specified, but only membrane terms (MID1 on the derived PSHELL entry) are computed. “BEND” All plies must be specified, but only bending terms (MID2 on the derived PSHELL entry) are computed. “SMEAR” All plies must be specified, stacking sequence is ignored MID1 = MID2 on the derived PSHELL entry and MID3, MID4 and TS/T and 12I/T**3 terms are set as blanks). “SMCORE”All plies must be specified, with the last ply specifying core properties and the previous plies specifying face sheet properties. The stiffness matrix is computed by placing half the face sheet thicknesses above the core and the other half below with the result that the laminate is symmetric about the midplane of the core.Stacking sequence is ignored in calculating the face sheet stiffness. * Remark 13: The SYM option for the LAM option computes the complete stiffness properties while specifying half the plies.The MEM, BEND, SMEAR and SMCORE options provide special purpose stiffness calculations.SMEAR ignores stacking sequence and is intended for cases where this sequence is not yet known, stiffness properties are smeared. SMCORE allows simplified modeling of a sandwich panel with equal face sheets and a central core. * Remark 14: Element output for the SMEAR and SMCORE options is produced using the PARAM NOCOMPS -1 methodology that suppresses ply stress/strain results and prints results for the equivalent homogeneous element.
- property MIDi: list[int]#
Material ID of the various plies.The plies are identified by serially numbering them from 1 at the bottom layer. The MIDs must refer to MAT1, MAT2, or MAT8 Bulk Data entries.See Remarks 1. and 15. (Integer > 0 or blank, except MID1 must be specified.) * Remark 1: The default for MID2, …, MIDn is the last defined MIDi. In the example above, MID1 is the default for MID2, MID3, and MID4.The same logic applies to Ti. * Remark 15: Temperature-dependent ply properties only available in SOL 106. See PARAM,COMPMATT for details.
- property NIP: int#
Number of Gauss points through thickness. Default = 3 (1 ≤ Integer ≤ 10)
- property NRPT: int#
Number of repeat laminates 20. Default = blank(Integer > 0 or blank)
- property NSM: float#
Nonstructural mass per unit area. (Real)
- property PID: int#
Property identification number. (0 < Integer < 10000000)
- property SB: float#
Allowable shear stress of the bonding material (allowable interlaminar shear stress). Required if FT is also specified. (Real > 0.0)
- property SOUTi: list[str]#
“YES” or “NO”; Default = “NO”) * Remark 5: Stress and strain output for individual plies are available in all superelement static and normal modes analysis and requested by the STRESS and STRAIN Case Control commands. * Remark 6: If PARAM,NOCOMPS is set to -1, stress and strain output for individual plies will be suppressed and the homogeneous stress and strain output will be printed. See also Remark 10. * Remark 10: If the value specified for Z0 is not equal to -0.5 times the thickness of the element and PARAM,NOCOMPS,-1 is specified, then the homogeneous element stresses are incorrect, while element forces and strains are correct. For correct homogeneous stresses, use ZOFFS on the corresponding connection entry.
- Type:
Stress or strain output request. See Remarks 5. and 6. (Character
- property THETAi: list[float]#
Thicknesses of the various plies. See Remarks 1. (Real or blank, except T1 must be specified.) * Remark 1: The default for MID2, …, MIDn is the last defined MIDi. In the example above, MID1 is the default for MID2, MID3, and MID4.The same logic applies to Ti.
- property TREF: float#
Reference temperature. See Remark 3. (Real; Default = 0.0) * Remark 3: The TREF specified on the material entries referenced by plies are not used. Instead TREF on the PCOMP entry is used for all plies of the element.If not specified, it defaults to “0.0.” If the PCOMP references temperature dependent material properties, then the TREF given on the PCOMP will be used as the temperature to determine material properties. TEMPERATURE Case Control commands are ignored for deriving the equivalent PSHELL and MAT2 entries used to describe the composite element. If for a nonlinear static analysis the parameter COMPMATT is set to YES, the temperature at the current load step will be used to determine temperature dependent material properties for the plies and the equivalent PSHELL and MAT2 entries for the composite element.The TREF on the PCOMP entry will be used for the initial thermal strain on the composite element and the stresses on the individual plies.If the parameter EPSILONT is also set to INTEGRAL,TREF is not applicable.
- property Ti: list[float]#
Thicknesses of the various plies. See Remarks 1. (Real or blank, except T1 must be specified.) * Remark 1: The default for MID2, …, MIDn is the last defined MIDi. In the example above, MID1 is the default for MID2, MID3, and MID4.The same logic applies to Ti.
- property Z0: float#
Distance from the reference plane to the bottom surface. See Remark 10. (Real; Default = -0.5 times the element thickness.) * Remark 10: If the value specified for Z0 is not equal to -0.5 times the thickness of the element and PARAM,NOCOMPS,-1 is specified, then the homogeneous element stresses are incorrect, while element forces and strains are correct. For correct homogeneous stresses, use ZOFFS on the corresponding connection entry.
- class NaxToPy.Core.Classes.N2PNastranInputData.PELAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PLPLANE)
- property GE1: float#
Damping coefficient, . See Remarks 5. and 6. (Real)
- property GE2: float#
Damping coefficient, . See Remarks 5. and 6. (Real)
- property K1: float#
Elastic property value. (Real)
- property K2: float#
Elastic property value. (Real)
- property PID1: int#
Property identification number. (Integer > 0)
- property PID2: int#
Property identification number. (Integer > 0)
- property S1: float#
Stress coefficient. (Real)
- property S2: float#
Stress coefficient. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.PFAST(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PFAST)
- property D: float#
- property GE: float#
MASS
- property KR1: float#
- property KR2: float#
- property KR3: float#
- property KT1: float#
- property KT2: float#
- property KT3: float#
- property MASS: float#
- property MCID: int#
- property MFLAG: int#
MCID
- property MID: int#
<see cref=”CardPfast”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardProperty”/></para>
- Type:
<para>PID
- property PID: int#
Property identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PLOTEL(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPlotel)
- property EID: int#
Element identification number. (Integer > 0)
- property G1: int#
CardGrid point identification numbers of connection points. (Integer > 0 ; G1 ≠ G2)
- property G2: int#
- property PID: int#
<see cref=”CardPlotel”/> does not have an associate property. Returns <see cref=”uint.MaxValue”/></para> <para>Implemented to use the interface <see cref=”ICardElement”/></para>
- Type:
<para>PID
- class NaxToPy.Core.Classes.N2PNastranInputData.PLPLANE(cardinfo)[source]#
Bases:
N2PCard
- property CID: int#
Identification number of a coordinate system defining the plane of deformation.See Remarks 2. and 3. (Integer >= 0; Default = 0) * Remark 2: Plane strain hyperelastic elements must lie on the x-y plane of the CID coordinate system.Stresses and strains are output in the CID coordinate system. * Remark 3: Axisymmetric hyperelastic elements must lie on the x-y plane of the basic coordinate system.CID may not be specified and stresses and strains are output in the basic coordinate system.
- property CharName: str#
Card code (CardPlplane)
- property MID: int#
Identification number of a MATHP entry. (Integer > 0)
- property PID: int#
Property identification number. (Integer > 0)
- property STR: str#
“GAUS” or “GRID”, Default = “GRID”)
- Type:
Location of stress and strain output. (Character
- class NaxToPy.Core.Classes.N2PNastranInputData.PMASS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPmass)
- property M1: float#
Mi Value of scalar mass. (Real)
- property M2: float#
- property M3: float#
- property M4: float#
- property PID1: int#
PIDi Property identification number. (Integer > 0)
- property PID2: int#
- property PID3: int#
- property PID4: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.PROD(cardinfo)[source]#
Bases:
N2PCard
- property A: float#
Area of bar cross section. (Real; Default = 0.0)
- property C: float#
Coefficient to determine torsional stress. (Real; Default = 0.0)
- property CharName: str#
Card code (PLPLANE)
- property J: float#
Torsional constant. See Figure 8-177. (Real; Default = for SOL 600 and 0.0 for all other solution sequences)
- property MID: int#
Material identification number
- property NSM: float#
Nonstructural mass per unit length. (Real)
- property PID: int#
Property identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PSHEAR(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PLPLANE)
- property F1: float#
- property F2: float#
- property MID: int#
Material identification number
- property NSM: float#
Nonstructural mass per unit length. (Real)
- property PID: int#
Property identification number. (Integer > 0)
- property T: float#
Thickness of shear panel. (Real 0.0)
- class NaxToPy.Core.Classes.N2PNastranInputData.PSHELLNAS(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPshellNas)
- property INERTIA: float#
Bending moment of inertia ratio, 12I T⁄ 3. Ratio of the actual bending moment inertia of the shell, I, to the bending moment of inertia of a homogeneous shell, T3 ⁄ 12. The default value is for a homogeneous shell. (Real > 0.0; Default = 1.0)
- property MID1: int#
Material identification number for the membrane. (Integer >= 0 or blank)
- property MID2: int#
Material identification number for bending. (Integer >= -1 or blank)
- property MID3: int#
Material identification number for transverse shear. (Integer > 0 or blank; unless MID2 > 0, must be blank.)
- property MID4: int#
Material identification number for membrane-bending coupling. See Remarks 6. and 13. (Integer > 0 or blank, must be blank unless MID1 > 0 and MID2 > 0, may not equal MID1 or MID2.) * Remark 6: The following should be considered when using MID4. The MID4 field should be left blank if the material properties are symmetric with respect to the middle surface of the shell.If the element centerline is offset from the plane of the grid points but the material properties are symmetric, the preferred method for modeling the offset is by use of the ZOFFS field on the connection entry. Although the MID4 field may be used for this purpose, it may produce ill-conditioned stiffness matrices (negative terms on factor diagonal) if done incorrectly. Only one of the options MID4 or ZOFFS should be used; if both methods are specified the effects are cumulative.Since this is probably not what the user intented, unexpected answers will result. Note that the mass properties are not modified to reflect the existence of the offset when the ZOFFS and MID4 methods are used.If the weight or mass properties of an offset plate are to be used in ananalysis, the RBAR method must be used to represent the offset. See “Shell Elements (CTRIA3, CTRIA6, CTRIAR, CQUAD4, CQUAD8, CQUADR)” on page 131 of the MSC.Nastran Reference Guide. The effects of MID4 are not considered in the calculation of differential stiffness.Therefore, it is recommended that MID4 be left blank in buckling analysis. * Remark 13: For the CQUADR and CTRIAR elements, the MID4 field should be left blankbecause their formulation does not include membrane-bending coupling.
- property NSM: float#
Nonstructural mass per unit area. (Real)
- property PID: int#
Property identification number. (Integer > 0)
- property T: float#
Default membrane thickness for Ti on the connection entry. If T is blank then the thickness must be specified for Ti on the CQUAD4, CTRIA3, CQUAD8, and CTRIA6 entries. (Real or blank)
- property TST: float#
Transverse shear thickness ratio, . Ratio of the shear thickness, to the membrane thickness of the shell, T.The default value is for a homogeneous shell. (Real > 0.0; Default = .833333)
- property Z1: float#
Fiber distances for stress calculations. The positive direction is determined by the right-hand rule, and the order in which the grid points are listed on the connection entry.See Remark 11. for defaults. (Real or blank) * Remark 11: The default for Z1 is -T/2, and for Z2 is +T/2. T is the local plate thickness defined either by T on this entry or by membrane thicknesses at connected grid points, if they are input on connection entries.
- property Z2: float#
- class NaxToPy.Core.Classes.N2PNastranInputData.PSHELLOPT(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (CardPshellOpt)
- property EXPLICIT: str#
Flag indicating that parameters for Explicit Analysis are to follow.
- property HGID: int#
Identification number of an hourglass control (HOURGLS) entry. Default = Blank(Integer > 0 or blank)
- property INERTIA: float#
Bending moment of inertia ratio, 12I T⁄ 3. Ratio of the actual bending moment inertia of the shell, I, to the bending moment of inertia of a homogeneous shell, T3 ⁄ 12. The default value is for a homogeneous shell. (Real > 0.0; Default = 1.0)
- property ISOPE: int#
Element formulation flag for Explicit Analysis. BT Belytschko-Tsay. BWC Belytschko-Wong-Chiang with full projection. 4 Blank Default = BWC for four-noded CQUAD4 elements in explicit analysis.
- property MID1: int#
Material identification number for the membrane. (Integer >= 0 or blank)
- property MID2: int#
Material identification number for bending. (Integer >= -1 or blank)
- property MID3: int#
Material identification number for transverse shear. (Integer > 0 or blank; unless MID2 > 0, must be blank.)
- property MID4: int#
Material identification number for membrane-bending coupling. See Remarks 6. and 13. (Integer > 0 or blank, must be blank unless MID1 > 0 and MID2 > 0, may not equal MID1 or MID2.) * Remark 6: The following should be considered when using MID4. The MID4 field should be left blank if the material properties are symmetric with respect to the middle surface of the shell.If the element centerline is offset from the plane of the grid points but the material properties are symmetric, the preferred method for modeling the offset is by use of the ZOFFS field on the connection entry. Although the MID4 field may be used for this purpose, it may produce ill-conditioned stiffness matrices (negative terms on factor diagonal) if done incorrectly. Only one of the options MID4 or ZOFFS should be used; if both methods are specified the effects are cumulative.Since this is probably not what the user intented, unexpected answers will result. Note that the mass properties are not modified to reflect the existence of the offset when the ZOFFS and MID4 methods are used.If the weight or mass properties of an offset plate are to be used in ananalysis, the RBAR method must be used to represent the offset. See “Shell Elements (CTRIA3, CTRIA6, CTRIAR, CQUAD4, CQUAD8, CQUADR)” on page 131 of the MSC.Nastran Reference Guide. The effects of MID4 are not considered in the calculation of differential stiffness.Therefore, it is recommended that MID4 be left blank in buckling analysis. * Remark 13: For the CQUADR and CTRIAR elements, the MID4 field should be left blankbecause their formulation does not include membrane-bending coupling.
- property NIP: int#
Number of through thickness Gauss points. Default = 3 (1 ≤ Integer ≤ 10)
- property NSM: float#
Nonstructural mass per unit area. (Real)
- property PID: int#
Property identification number. (Integer > 0)
- property T: float#
Default membrane thickness for Ti on the connection entry. If T is blank then the thickness must be specified for Ti on the CQUAD4, CTRIA3, CQUAD8, and CTRIA6 entries. (Real or blank)
- property T0: float#
The base thickness of the elements in topology and free-size optimization. Only for MAT1, T0 can be > 0.0. (Real ≥ 0.0 or blank for MAT1, Real = 0.0 or blank for MAT2, MAT8)
- property TST: float#
Transverse shear thickness ratio, . Ratio of the shear thickness, to the membrane thickness of the shell, T.The default value is for a homogeneous shell. (Real > 0.0; Default = .833333)
- property Z1: float#
Fiber distances for stress calculations. The positive direction is determined by the right-hand rule, and the order in which the grid points are listed on the connection entry.See Remark 11. for defaults. (Real or blank) * Remark 11: The default for Z1 is -T/2, and for Z2 is +T/2. T is the local plate thickness defined either by T on this entry or by membrane thicknesses at connected grid points, if they are input on connection entries.
- property Z2: float#
- property ZOFFS: float#
Offset from the plane defined by element grid points to the shell reference plane. Real or Character Input(Top/Bottom)
- class NaxToPy.Core.Classes.N2PNastranInputData.PSOLIDNAS(cardinfo)[source]#
Bases:
N2PCard
- property CORDM: int#
Identification number of a MAT1, MAT4, MAT5, MAT9, or MAT10 entry. (Integer > 0)
- property CharName: str#
Card code (CardPsolidNas)
- property FCTN: str#
“PFLUID” indicates a fluid element, “SMECH” indicates a structural element; Default = “SMECH.”)
- Type:
Fluid element flag. (Character
- property IN: str#
Integration network. See Remarks 5., 6., 7., and 9. (Integer, Character, or blank)
- property ISOP: str#
Integration scheme. See Remarks 5., 6., 7., and 9. (Integer, Character, or blank)
- property MID: int#
Identification number of a MAT1, MAT4, MAT5, MAT9, or MAT10 entry. (Integer > 0)
- property PID: int#
Property identification number. (Integer > 0)
- property STRESS: str#
Location selection for stress output. See Remarks 8. and 9. (Integer, Character, or blank)
- class NaxToPy.Core.Classes.N2PNastranInputData.PSOLIDOPT(cardinfo)[source]#
Bases:
N2PCard
- property CORDM: int#
Identification number of a MAT1, MAT4, MAT5, MAT9, or MAT10 entry. (Integer > 0)
- property CharName: str#
Card code (PSOLID_NASTRAN)
- property EXPLICIT: str#
Flag indicating that parameters for Explicit Analysis are to follow.
- property FCTN: str#
“PFLUID” indicates a fluid element, “SMECH” indicates a structural element; Default = “SMECH.”)
- Type:
Fluid element flag. (Character
- property HGHOR: str#
Specifies the element formulation for ten-noded CTETRA elements in explicit analysis.
- property HGID: int#
Identification number of the hourglass control (HOURGLS) Bulk Data Entry. No default
- property ISOP: str#
Integration scheme. See Remarks 5., 6., 7., and 9. (Integer, Character, or blank)
- property ISOPE: str#
Selective reduced integration for eight-noded CHEXA and six-noded CPENTA elements in explicit analysis.Full integration for deviatoric term and one-point integration for bulk term. URI: Uniform reduced integration for eight-noded CHEXA elements in explicit analysis.One-point integration is used. AURI: Average uniform reduced integration for eight-noded CHEXA elements in explicit analysis.B matrix is a volume average over the element. AVE: Nodal pressure averaged formulation. 10 Defaults: AURI for eight-noded CHEXA elements in explicit analysis. AVE for four-noded CTETRA elements in explicit analysis.
- Type:
sri
- property MID: int#
Identification number of a MAT1, MAT4, MAT5, MAT9, or MAT10 entry. (Integer > 0)
- property PID: int#
Property identification number. (Integer > 0 or string)
- class NaxToPy.Core.Classes.N2PNastranInputData.PWELD(cardinfo)[source]#
Bases:
N2PCard
- property CharName: str#
Card code (PLPLANE)
- property D: float#
Diameter of the connector
- property LDMAX: float#
Active ONLY for “PARAM,OLDWELD,YES”. Largest ratio of length to diameter for stiffness calculation, see Remark 4.
- property LDMIN: float#
Active ONLY for “PARAM,OLDWELD,YES”. Smallest ratio of length to diameter for stiffness calculation, see Remark 4.
- property MID: int#
Identification number of a MATHP entry. (Integer > 0)
- property MSET: str#
Active ONLY for “PARAM,OLDWELD,YES”. Flag to eliminate m-set degrees-of-freedom (DOFs). The MSET parameter has no effect in a nonlinear SOL 400 analysis. =OFF m-set DOFs are eliminated, constraints are incorporated in the stiffness, see Remark 2. =ON m-set DOFs are not eliminated, constraints are generated.
- property PID: int#
Property identification number. (Integer > 0)
- property TYPE: str#
Character string indicating the type of connection, see Remarks 3. and 4. =blank general connector = “SPOT” spot weld connector
- class NaxToPy.Core.Classes.N2PNastranInputData.RBAR(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Thermal expansion coefficient. See Remark 11. (Real > 0.0 or blank) * Remark 11: For the Lagrange method, the thermal expansion effect will be computed for the rigid bar element if user supplies the thermal expansion coefficient ALPHA, and the thermal load is requested by the TEMPERATURE(INITIAL) and TEMPERATURE(LOAD) Case Control commands.The temperature of the element is taken as the average temperature of the two connected grid points GA and GB.
- property CMA: list[int]#
Component numbers of dependent degrees-of-freedom in the global coordinate system assigned by the element at grid points GA and GB. See Remarks 4. and 5. (Integers 1 through 6 with no embedded blanks, or zero or blank.) * Remark 4: If both CMA and CMB are zero or blank, all of the degrees-of-freedom not in CNA and CNB will be made dependent.For the linear method, the dependent degrees-of-freedom will be made members of the m-set.For the Lagrange method, they may or may not be member of the m-set, depending on the method selected in the RIGID Case Control command.However, the rules regarding the m-set described below apply to both methods. * Remark 5: The m-set coordinates specified on this entry may not be specified on other entries that define mutually exclusive sets. See “Degree-of-Freedom Sets” on page 887 for a list of these entries. CMA
- property CMB: list[int]#
- property CNA: list[int]#
Component numbers of independent degrees-of-freedom in the global coordinate system for the element at grid points GA and GB. See Remark 3. (Integers 1 through 6 with no embedded blanks, or zero or blank.) * Remark 3: For the linear method, the total number of components in CNA and CNB must equal six; for example, CNA = 1236, CNB = 34. Furthermore, they must jointly be capable of representing any general rigid body motion of the element.For the Lagrange method, the total number of components must also be six.However, only CNA = 123456 or CNB = 123456 is allowed.If both CNA and CNB are blank, then CNA = 123456.For this method, RBAR1 gives the simpler input format. CNA
- property CNB: list[int]#
- property CharName: str#
Card code (RBAR)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property GA: int#
Grid point identification number of connection points. (Integer > 0) GA
- property GB: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.RBAR1(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Thermal expansion coefficient. See Remark 8. (Real > 0.0 or blank) * Remark 8: Rigid elements are ignored in heat transfer problems.
- property CB: list[int]#
Component numbers in the global coordinate system at GB, which are constrained to move as the rigid bar. See Remark 4. (Integers 1 through6 with no embedded blanks or blank.) * Remark 4: When CB = “123456” or blank, the grid point GB is constrained to move with GA as a rigid bar.For default CB = “123456”. Any number of degrees-offreedom at grid point GB can be released not to move with the rigid body.
- property CharName: str#
Card code (RBAR1)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property GA: int#
Grid point identification number of connection points. (Integer > 0) GA
- property GB: int#
- class NaxToPy.Core.Classes.N2PNastranInputData.RBE1(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Thermal expansion coefficient. See Remark 13. (Real > 0.0 or blank) * Remark 13: For the Lagrange method, the thermal expansion effect will be computed, if user supplies the thermal expansion coefficient ALPHA, and the thermal load is requested by the TEMPERATURE(INITIAL) and TEMPERATURE(LOAD) Case Control commands.The temperature of the element is taken as follows: the temperature of the bar connecting the grid point GN1 and any dependent grid point are taken as the average temperature of the two connected grid points.
- property CM: list[int]#
Dependent degrees-of-freedom in the global coordinate system at grid point(s) GMj. (Integers 1 through 6 with no embedded blanks.)
- property CN: list[int]#
Independent degrees-of-freedom in the global coordinate system for the rigid element at grid point(s) GNi. See Remark 1. (Integers 1 through 6 with no embedded blanks.) * Remark 1: Two methods are available to process rigid elements: equation elimination or Lagrange multipliers. The Case Control command, RIGID, selects the method.
- property CharName: str#
Card code (RBE1)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property GM: list[int]#
Grid points at which dependent degrees-of-freedom are assigned. (Integer > 0)
- property GN: list[int]#
Grid points at which independent degrees-of-freedom for the element are assigned. (Integer > 0)
- property UM: str#
Indicates the start of the dependent degrees-of-freedom. (Character)
- class NaxToPy.Core.Classes.N2PNastranInputData.RBE2(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Thermal expansion coefficient. See Remark 11. (Real > 0.0 or blank) * Remark 11: For the Lagrange method, the thermal expansion effect will be computed, if user supplies the thermal expansion coefficient ALPHA, and the thermal load is requested by the TEMPERATURE(INITIAL) and TEMPERATURE(LOAD) Case Control commands.The temperature of the element is taken as follows: the temperature of the bar connecting the grid point GN and any dependent grid point are taken as the average temperature of the two connected grid points.
- property CM: list[int]#
Component numbers of the dependent degrees-of-freedom in the global coordinate system at grid points GMi. (Integers 1 through 6 with no embedded blanks.)
- property CharName: str#
Card code (RBE2)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property GM: list[int]#
Grid point identification numbers at which dependent degrees-offreedom are assigned. (Integer > 0)
- property GN: int#
Identification number of grid point to which all six independent degrees-of-freedom for the element are assigned. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.RBE3(cardinfo)[source]#
Bases:
N2PCard
- property ALPHA: float#
Thermal expansion coefficient. See Remark 14. (Real > 0.0 or blank) * Remark 13: For the Lagrange method, the thermal expansion effect will be computed, if user supplies the thermal expansion coefficient ALPHA, and the thermal load is requested by the TEMPERATURE(INITIAL) and TEMPERATURE(LOAD) Case Control commands.The temperature of the element is taken as follows: the temperature of the bar connecting the reference grid point REFGRID and any other grid point Gij are taken as the average temperature of the two connected grid points.
- property ALPHAC: str#
Indicates that the next number is the coefficient of thermal expansion. (Character)
- property C: list[int]#
Component numbers with weighting factor WTi at grid points Gi,j. (Any of the integers 1 through 6 with no embedded blanks.)
- property CM: list[int]#
Component numbers of GMi to be assigned to the m-set. (Any of the Integers 1 through 6 with no embedded blanks.)
- property CharName: str#
Card code (RBE3)
- property EID: int#
Element identification number. Unique with respect to all elements. (0 < Integer < 100,000,000)
- property G: list[int]#
Grid points with components Ci that have weighting factor WTi in the averaging equations. (Integer > 0)
- property GM: list[int]#
Identification numbers of grid points with degrees-of-freedom in the m-set. (Integer > 0)
- property REFC: list[int]#
Component numbers at the reference grid point. (Any of the integers 1 through 6 with no embedded blanks.)
- property REFGRID: int#
Reference grid point identification number. (Integer > 0)
- property UM: str#
Indicates the start of the degrees-of-freedom belonging to the dependent degrees-of-freedom.The default action is to assign only the components in REFC to the dependent degrees-of-freedom. (Character)
- property WT: list[float]#
Weighting factor for components of motion on the following entry at grid points Gi,j. (Real)
- class NaxToPy.Core.Classes.N2PNastranInputData.RSPLINE(cardinfo)[source]#
Bases:
N2PCard
- property C: list[int]#
Components to be constrained. See Remark 2. (Blank or any combination of the Integers 1 through 6.) * Remark 2: A blank field for Ci indicates that all six degrees-of-freedom at Gi are independent.Since G1 must be independent, no field is provided for C1. Since the last grid point must also be independent, the last field must be a Gi, not a Ci.For the example shown G1, G3, and G6 are independent.G2 has six constrained degrees-of-freedom while G4 and G5 each have three.
- property CharName: str#
Card code (RSPLINE)
- property DL: float#
Ratio of the diameter of the elastic tube to the sum of the lengths of all segments. (Real > 0.0; Default = 0.1)
- property EID: int#
Element identification number. (0 < Integer < 100,000,000)
- property G: list[int]#
Grid point identification number. (Integer > 0)
- class NaxToPy.Core.Classes.N2PNastranInputData.SPC(cardinfo)[source]#
Bases:
N2PCard
- property C1: int#
- property C2: int#
- property CharName: str#
Card code (SPC)
- property D1: float#
enforced motion for components C1 at G1
- Type:
D1
- property D2: float#
enforced motion for components C2 at G2
- Type:
D2
- property G1: int#
Grid point identification number of connection points. (Integer > 0) GA
- property G2: int#
Grid point identification number of connection points. (Integer > 0) GA
- property SID: int#
Identification number of the single-point constraint set
- class NaxToPy.Core.Classes.N2PNastranInputData.SPC1(cardinfo)[source]#
Bases:
N2PCard
- property C: int#
123456
- Type:
Component numbers
- property CharName: str#
Card code (SPC1)
- property Grids: int#
123456
- Type:
Component numbers
- property SID: int#
Identification number of the single-point constraint set
N2PNode module#
- class NaxToPy.Core.Classes.N2PNode.N2PNode(info, model_father)[source]#
Bases:
object
Class with the information of a node/grid.
- ID#
int.
- PartID#
str.
- AnalysisCoordSys#
int.
- PositionCoordSys#
int.
- GlobalCoords#
tuple.
- LocalCoords#
tuple.
- X#
float.
- Y#
float.
- Z#
float.
- Term1#
float.
- Term2#
float.
- Term3#
float.
- SPCNode#
int.
- property AnalysisCoordSys: int#
Returns the out_coord_sys of the node/grid.
- property Connectivity: list[N2PElement, N2PConnector, ...]#
Returns the N2PElements and N2PConnector that the node is connected to
- property GlobalCoords: tuple[float]#
Returns the global coordinates of the node/grid.
- property ID: int#
Returns the id (which the solver uses) of the node/grid.
- property InternalID: int#
Returns the VTKindice of the node/grid.
- property LocalCoords: tuple[float]#
Returns the local coordinates of the node/grid.
- property PartID: str#
Returns the partID of the node/grid.
- property PositionCoordSys: int#
Returns the in_coord_sys of the node/grid.
- property SPCNode: int#
Returns the constr_flag of the node/grid.
- property Term1: float#
Returns the first cordinate of the local system of the node/grid.
- property Term2: float#
Returns the second cordinate of the local system of the node/grid.
- property Term3: float#
Returns the third cordinate of the local system of the node/grid.
- property UserSystemArray: list[float, ...]#
Returns list with the position of the three vectors that define the user system of the node: [x1, x2, x3, y1, y2, y3, z1, z2, z3]
If no user systems for nodes are defined yet, it returns None.
- property X: float#
Returns the x coordinate of the node/grid.
- property Y: float#
Returns the y coordinate of the node/grid.
- property Z: float#
Returns the z coordinate of the node/grid.
N2PProperty module#
Module with the class N2PProperty and all its derivated class
- class NaxToPy.Core.Classes.N2PProperty.N2PBeam(information, model_father)[source]#
Bases:
N2PProperty
Class for defining PBEAM, PBAR and Beam section form Abaqus. It derives from N2PProperty.
- property Area: list#
- property FractionalDistance: list#
Fractional distance of the intermediate station from end A.
- property I1: list#
- property I12: list#
- property I2: list#
- property J: list#
Torsinon Constant
- property K1: float#
Shear stiffness factor K in K*A*G for plane 1
- property K2: float#
Shear stiffness factor K in K*A*G for plane 1
- property MatID: int#
- property NSIA: float#
Nonstructural mass moment of inertia per unit length about nonstructural mass center of gravity at end A.
- property NSIB: float#
Nonstructural mass moment of inertia per unit length about nonstructural mass center of gravity at end B.
- property NSM: list#
- property NumSeg: int#
Number of Segments. Only for BEAMS. For BARs it will be 0 always.
- class NaxToPy.Core.Classes.N2PProperty.N2PComp(information, model_father)[source]#
Bases:
N2PProperty
Class for defining compound properties. It derives from N2PProperty.
- property ABDMatrix: tuple[ndarray, ndarray, ndarray]#
Calculate extensional (A), coupling (B), and bending (D) stiffness matrices
Returns A, B, C (numpy 2D arrays) of the laminate
- property AllowShear: float#
- property DampCoef: float#
- property EqQMatrix: list#
Returns the lamina stiffness matrix (Q-Bar)
- property FailTh: str#
- property IsSymetric: bool#
- property MatID: tuple[int]#
- property NSM: float#
- property NumPiles: int#
- property Plies: list[tuple]#
(MatID, Thickness, Theta, SOut)
- Type:
It returns a list of tuple. A tuple for a ply. Plies have four data
- QMatrix(i) ndarray [source]#
Returns the lamina stiffness matrix (Q-Bar) as a numpy 2D array | σx | | ε | | σy | = [Q]*| ε | | τxy| | γ/2 |
- property SOut: tuple[bool]#
- property Theta: tuple[float]#
- property Thickness: tuple[float]#
- class NaxToPy.Core.Classes.N2PProperty.N2PProperty(information, model_father)[source]#
Bases:
ABC
Main abstract class for properties. The rest of the properties derive from it
- property ID: int#
- property InternalID: int#
- property Name: str#
- property PartID: int#
- property PropertyType: str#
- class NaxToPy.Core.Classes.N2PProperty.N2PRod(information, model_father)[source]#
Bases:
N2PProperty
Class for defining Rod or Truss properties. It derives from N2PProperty.
- property Area: float#
- property CoefTorsion: float#
tau = (C*Moment)/J
- Type:
Torsional Coeficient. Abv as C. It is used to calculate the stress
- property J: float#
Torsinon Constant
- property MatID: int#
- property NSM: float#
- class NaxToPy.Core.Classes.N2PProperty.N2PShell(information, model_father)[source]#
Bases:
N2PProperty
Class for defining shell properties. It derives from N2PProperty.
- property BenMR: float#
- property FiberDist: tuple[float, float]#
Fiber distances for stress calculations. The positive direction is determined by the right-hand rule, and the order in which the grid points are listed on the connection entry
- property MatBenID: int#
- property MatMemID: int#
- property MatSheID: int#
- property NSM: float#
- property Thickness: float#
- property TrShThickness: float#
- class NaxToPy.Core.Classes.N2PProperty.N2PSolid(information, model_father)[source]#
Bases:
N2PProperty
Class for defining solid properties. It derives from N2PProperty.
- property Cordm: int#
- property Fluid: str#
- property IntNet: str#
- property IntSch: str#
- property LocStrssOut: str#
- property MatID: int#
N2PReport module#
Module that contains the N2PReport class
- class NaxToPy.Core.Classes.N2PReport.N2PReport(vz_model, lc_incr: str, allincr: bool, result: str, componentssections: str, ifenvelope: bool, selection: list[N2PNode, N2PElement], sortby: str, aveSections=-1, cornerData=False, aveNodes=-1, variation=100, realPolar=0, coordsys: int = -1000, v1: tuple | ndarray = (1, 0, 0), v2: tuple | ndarray = (0, 1, 0))[source]#
Bases:
object
Class that contains the data of a report. It includes the input data: load cases, the selection (that could be a list of N2PNode or N2PElement), if envelope,… and the output data: results array asked
- property Body: ndarray#
Returns a ndarray of strings with the results of the report asked
- property CompSections: str#
Formula with the components and it sections
- property Enevelope: bool#
True if the envelope of the elements/nodes is asked
- property Headers: ndarray#
Returns a ndarray of strings with the headers
- property LC_FR: str#
Formula with the load cases and increments/frames
- property OptianlArgs: dict#
“aveSections”, “cornerData”, “aveNodes”, “variation”, “realPolar”, “coordsys”, “v1”, “v2”
- Type:
Dictionary with the values of the optional arguments
- property Result: str#
Result where de components are asked
- property Selection: list[N2PNode | N2PElement]#
List of N2PNodes or N2PElement where the results for the report is asked
- property SortBy: str#
Can be “LC” if is load case shorted or “IDS” if is by id of the element/node. (“LC” means all the elements for LC1, then all elements for LC2… While “IDS” is for element1 all LC, then element2 for all LC…)
N2PResult module#
- class NaxToPy.Core.Classes.N2PResult.N2PResult(components, position, derivedComps, description, elemTypes, fcode, name, loadCase_father)[source]#
Bases:
object
Class which contains the information associated to a result of a N2PLoadCase
- property Components: dict[str, N2PComponent]#
- property DerivedComponents: dict[str, N2PComponent]#
Returns a list of N2Component with all the derived components available within the result
- property Description: str#
- property FormatCode: str#
- property Name: str#
- property Position: str#
Returns the position where the results have been obatined within the load case
- property TypesElements: list[str]#
Returns a list with the element types where results are available.
- get_component(name: str) N2PComponent [source]#
Returns a N2Component as component with name specified. It can be a Raw Component or a derived component
- Parameters:
name – str
- Returns:
N2PComponent
- Return type:
component
- get_derived_component(name: str) N2PComponent [source]#
Returns a N2Component as derived component with name specified,
- Parameters:
name – str
- Returns:
N2PComponent
- Return type:
derived component
- get_raw_component(name: str) N2PComponent [source]#
Returns a N2Component as component with name specified. It checks only in the original list of components
- Parameters:
name – str
- Returns:
N2PComponent
- Return type:
component
- new_derived_component(name: str, formula: str) N2PComponent [source]#
Generate a new N2PComponent combination of n components from N2PResult.
These combinations can be obtained later with the method get_derived_component().
To define the combination, pass a string with the result and component names, along with the arithmetic commands as strings. The name of the new derived component must be set. To add a component to the formula, it must start with CMPT_ followed by the Result name (the result must be the same) if it is an original component, and with CMPTD (only that), then : and finally the Component name.
The Result|Component must have this structure: <CMPT_Result:Component> or <CMPTD:Component>.
- Parameters:
name (str) – The name of the component.
formula (str) – String containing the Result:Component intended to be used and the arithmetic operations.
- Returns:
Derived load case.
- Return type:
Examples
>>> N2PResult.new_derived_component("dev_comp1", formula="<0.5*CMPT_DISPLACEMENTS:MAGNITUDE_D>+2*<CMPT_DISPLACEMENTS:MAGNITUDE_R>") >>> N2PResult.new_derived_component("dev_comp2", formula="(<CMPTD:Example>-2*<CMPT_DISPLACEMENTS:MAGNITUDE_R>)^2" >>> N2PResult.new_derived_component("dev_comp3", formula="sqrt(<CMPT_STRESSES:XX>^2+<CMPT_STRESSES:YY>^2-<CMPT_STRESSES:XX>*<CMPT_STRESSES:YY>+3*<CMPT_STRESSES:XY>^2)")
N2PSection module#
- class NaxToPy.Core.Classes.N2PSection.N2PSection(name, number)[source]#
Bases:
object
Class which contains the information associated to a section of a N2PComponent instance
- property InternalNumber: int#
Returns the number associated to the section
- property Name: str#
Returns the name of the section
N2PSet module#
File where the class Set is defined
- class NaxToPy.Core.Classes.N2PSet.N2PSet(info)[source]#
Bases:
object
Class with the information of a set kept in the model.
- property IDSet: int#
ID of the set defined in the model
- property IDs: list#
ID of the set defined in the model
- property Name: str#
ID of the set defined in the model
- property Part: str#
ID of the set defined in the model
- property SetType: str#
ID of the set defined in the model
- property UserDefined: bool#
ID of the set defined in the model
Module contents#
Subpackages#
- NaxToPy.Core.Classes.ABQEntities package
- NaxToPy.Core.Classes.ABQKeywords package
- Submodules
- NaxToPy.Core.Classes.ABQKeywords.N2PKeyword module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordBEAMSECTION module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordCOUPLING module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordDENSITY module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordDISTRIBUTING module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordDISTRIBUTINGCOUPLING module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordELASTIC module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordELEMENT module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordELSET module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordENDINSTANCE module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordENDPART module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordINSTANCE module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordKINEMATIC module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordKINEMATICCOUPLING module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordMATERIAL module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordNODE module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordNSET module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordORIENTATION module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordPART module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordPLASTIC module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordSHELLSECTION module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordSOLIDSECTION module
- NaxToPy.Core.Classes.ABQKeywords.N2PKeywordSURFACE module
- Module contents