itasca.structure.shellarray

Array interface for shell elements.

Functions

itasca.structure.shellarray.area() array float{shell}.

Get a Numpy array of surface area of the shell elements.

itasca.structure.shellarray.beta() array float{shell}.

Get a Numpy array of shell system beta angle. This is defined as the angle between the element local system x-axis and the material system x-axis. In radians measured counter-clockwise from the element local x-axis.

itasca.structure.shellarray.component_id() array int{shell}.

Get a NumPy array of the ID of shell component id.

itasca.structure.shellarray.density() array double{shell}.

Get a NumPy array of the density of shell elements.

itasca.structure.shellarray.depth_factor() array float{shell}.

Get a Numpy array of the depth factor at which stresses have been recovered. The depth equals Ft/2 where t is the shell element thickness. F values equal to +1.0 or -1.0 correspond to the outer/inner shell surface. The outer surface is defined by the positive z-direction of the local shell element system. F values of 0.0 corresponds to the shell mid-surface. The depth factor can be modified with the \(structure shell recover stress\) command.

itasca.structure.shellarray.element_type() array str{shell}.

Get a Numpy array of the name of the finite-element type used by the shell elements. The possible types for shell elements are ‘cst’, ‘csth’, ‘dkt’, ‘dkt-cst’, and ‘dkt-csth’.

itasca.structure.shellarray.extra(slot: int) array float{shell} or float{shell,3}.

Get the shell extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.

itasca.structure.shellarray.force_nodal() array float{shell,6,3}.

Get a Numpy array of the generalized nodal force acting on the shell at each node. The translational and rotational components of node 1 are given first.

itasca.structure.shellarray.id() array int{shell}.

Get a NumPy array of the ID of shell element id.

itasca.structure.shellarray.in_group(group_name: str, slot=1) array bool{shell}.

Return shell group membership as a Boolean array.

itasca.structure.shellarray.local_system() array double{shell,3,3}.

Get a NumPy array of the local coordinate system of shell elements.

itasca.structure.shellarray.mark() array bool{shell}.

Get a NumPy array of the mark flag of shell elements.

itasca.structure.shellarray.poisson() array float{shell}.

Get a Numpy array of the Poisson’s ratio of the elements.

itasca.structure.shellarray.pos() array vec3{shell}.

Get a NumPy array of the current position of shell elements.

itasca.structure.shellarray.pressure() array float{shell}.

Get a Numpy array of the uniform pressure acting on the shell elements. A positive value acts in the z-direction of the element local system.

itasca.structure.shellarray.prop_anis() (membrane: tuple of float, bending: tuple of float).

Get the anisotropic material properties. Material-stiffness coefficients c’11, c’12, c’13, c’22, c’23, c’33 are returned for both the membrane and bending stiffnesses in that order. If the element does not have anisotropic properties, zeros are returned.

itasca.structure.shellarray.prop_ortho() (membrane: tuple of float, bending: tuple of float).

Get the orthotropic material properties. Material-stiffness coefficients c’11, c’12, c’13, c’22, c’23, c’33 are returned for both the membrane and bending stiffnesses in that order. If the element does not have orthotropic properties, zeros are returned.

itasca.structure.shellarray.prop_type() array str{shell}.

Get a Numpy array of the material property type. Possible return values are ‘isotropic’, ‘orthotripc’, and ‘anisotropic’.

itasca.structure.shellarray.resultant(location: int) length 8 tuple of array float{shell}.

Get a Numpy array of stress resultants last calculated for the element at the index \(location\). A \(location\) value of 0 gives the resultant at the element centroid; \(location\) values 1, 2 and 3 give the resultant at the nodes. The components in the return value are: Mx, My, Mxy, Nx, Ny, Nxy, Qx and Qy. Note that stress resultants must be calculated with the \(structure shell recover\) command. See also the \(resultant_valid\) method.

itasca.structure.shellarray.resultant_valid() array bool{shell}.

Get a Numpy array of of the stress resultant validity flag. True indicates that the stress resultant values are valid. False indicates that resultants have not been calculated or that there has been a change since they were last calculated that would invalidate the results.

itasca.structure.shellarray.set_density(array double{shell}) None.

Set the density of shell elements.

itasca.structure.shellarray.set_extra(slot: int, data: array float{shell} or float{shell, 3}) None.

Set the shell extra data in the given slot with an array. Extra variables set by array must be of type float or vec.

itasca.structure.shellarray.set_group(membership: array bool{shell}, group_name: str, slot=1) None.

Set shell group from an array. Where membership True set the corresponding shell to be a member of group group_name in the given slot.

itasca.structure.shellarray.set_mark(array bool{shell}) None.

Set the mark flag of shell elements.

itasca.structure.shellarray.set_poisson(array float{shell}) None.

Set the Poisson’s ratio of the elements.

itasca.structure.shellarray.set_pressure(array float{shell}) None.

Set the uniform pressure acting on the shell elements. A positive value acts in the z-direction of the element local system.

itasca.structure.shellarray.set_thermal_expansion(array double{shell}) None.

Set the thermal expansion coefficient of shell elements.

itasca.structure.shellarray.set_thickness(array float{shell}) None.

Set the element thickness.

itasca.structure.shellarray.set_young(array float{shell}) None.

Set the Youngs modulus of the elements.

itasca.structure.shellarray.stress(location: int) stens3.

Get a Numpy array of the stresses at the current depth factor at the index \(location\). A \(location\) value of 0 gives the stress at the element centroid; \(location\) values 1, 2 and 3 give the stress at the nodes. Stresses are expressed in the global system. Note that compressive stresses are negative.

itasca.structure.shellarray.stress_prin(location: int) vec3.

Get the resolved principal stress at the current depth factor at the index \(location\). A \(location\) value of 0 gives the stress at the element centroid; \(location\) values 1, 2 and 3 give the stress at the nodes. Returns a vector encoded as (minimum, intermediate, maximum). Note that compressive stresses are negative in FLAC3D.

itasca.structure.shellarray.stress_valid() array bool{shell}.

Get a Numpy array of the stress validity flag for the element. True indicates that the stresses last calculated at the current depth factor are valid. Galse indicates that stresses have not been calculated, or that there has been a change that invalidates the last stresses calculated.

itasca.structure.shellarray.thermal_expansion() array double{shell}.

Get a NumPy array of the thermal expansion coefficient of shell elements.

itasca.structure.shellarray.thickness() array float{shell}.

Get a Numpy array of the element thickness.

itasca.structure.shellarray.type() array string{shell}.

Get a NumPy array of the type name of shell elements.

itasca.structure.shellarray.volume() array float{shell}.

Get a Numpy array of the element volume, or surface area times thickness.

itasca.structure.shellarray.young() array float{shell}.

Get a Numpy array of the Youngs modulus of the elements. Modifying the value during cycling may be a danger.