Frame Analysis¶
Frame Analysis¶
- class
feastruct.fea.frame_analysis.FrameAnalysis(nodes, elements, nfa)[source]¶Bases:
feastruct.fea.fea.FiniteElementAnalysisParent class for a frame analysis.
Includes a method for analysis initiation and a method for adding a frame element to the analysis.
Variables:
- nodes (list[
Node]) – Nodes used in the finite element analysis- elements (list[
FrameElement]) – Elements used in the finite element analysis- nfa (list[bool]) – Node freedom arrangement
__init__(nodes, elements, nfa)[source]¶Inits the FrameAnalysis class.
Parameters:
- nodes (list[
Node]) – List of nodes with which to initialise the class- elements (list[
FrameElement]) – List of elements with which to initialise the class- nfa (list[bool]) – Node freedom arrangement
create_element(el_type, nodes, material, section)[source]¶Creates and returns a frame element and adds it to the
Frameobject. Refer to ‘xxx’ for the possible element types.
Parameters: Returns: FrameElement object
Return type:
FrameElement
create_node(coords)¶Creates a node and adds it to the Fea object.
Creates and returns a
Nodeobject and adds it to theFeaobject.
Parameters: coords (list[float]) – Cartesian coordinates of the node ([x], [x, y] or [x, y, z]) Returns: Node object Return type: Node
get_node_lims()¶Finds and returns the minimum and maximum x, y and z values within the current analysis.
Returns: (xmin, xmax, ymin, ymax, zmin, zmax) Return type: tuple(float)
Frame Analysis2D¶
- class
feastruct.fea.frame_analysis.FrameAnalysis2D(nodes=None, elements=None)[source]¶Bases:
feastruct.fea.frame_analysis.FrameAnalysisParent class for a 2D frame analysis.
Includes a method for analysis initiation and a method for adding 2D frame elements to the analysis.
Active degrees of freedom are [x, y, rz] and are referred to as [0, 1, 5].
Variables:
- nodes (list[
Node]) – Nodes used in the finite element analysis- elements (list[
FrameElement]) – Elements used in the finite element analysis- nfa (list[bool]) – Node freedom arrangement
- post (
feastruct.post.post2d.PostProcessor) – Post-processor object
__init__(nodes=None, elements=None)[source]¶Inits the FrameAnalysis2D class.
Parameters:
- nodes (list[
Node]) – List of nodes with which to initialise the class- elements (list[
FrameElement]) – List of elements with which to initialise the class
create_element(el_type, nodes, material, section)¶Creates and returns a frame element and adds it to the
Frameobject. Refer to ‘xxx’ for the possible element types.
Parameters: Returns: FrameElement object
Return type:
FrameElement
create_node(coords)¶Creates a node and adds it to the Fea object.
Creates and returns a
Nodeobject and adds it to theFeaobject.
Parameters: coords (list[float]) – Cartesian coordinates of the node ([x], [x, y] or [x, y, z]) Returns: Node object Return type: Node
get_node_lims()¶Finds and returns the minimum and maximum x, y and z values within the current analysis.
Returns: (xmin, xmax, ymin, ymax, zmin, zmax) Return type: tuple(float)
Frame Analysis3D¶
- class
feastruct.fea.frame_analysis.FrameAnalysis3D(nodes=None, elements=None)[source]¶Bases:
feastruct.fea.frame_analysis.FrameAnalysisParent class for a 3D frame analysis.
Includes a method for analysis initiation and a method for adding 3D frame elements to the analysis.
Active degrees of freedom are [x, y, z, rx, ry, rz] and are referred to as [0, 1, 2, 3, 4, 5].
Variables:
- nodes (list[
Node]) – Nodes used in the finite element analysis- elements (list[
FrameElement]) – Elements used in the finite element analysis- nfa (list[bool]) – Node freedom arrangement
__init__(nodes=None, elements=None)[source]¶Inits the FrameAnalysis3D class.
Parameters:
- nodes (list[
Node]) – List of nodes with which to initialise the class- elements (list[
FrameElement]) – List of elements with which to initialise the class
create_element(el_type, nodes, material, section)¶Creates and returns a frame element and adds it to the
Frameobject. Refer to ‘xxx’ for the possible element types.
Parameters: Returns: FrameElement object
Return type:
FrameElement
create_node(coords)¶Creates a node and adds it to the Fea object.
Creates and returns a
Nodeobject and adds it to theFeaobject.
Parameters: coords (list[float]) – Cartesian coordinates of the node ([x], [x, y] or [x, y, z]) Returns: Node object Return type: Node
get_node_lims()¶Finds and returns the minimum and maximum x, y and z values within the current analysis.
Returns: (xmin, xmax, ymin, ymax, zmin, zmax) Return type: tuple(float)