itasca.structure.geogridarray

Array interface for geogrid elements.

Functions

itasca.structure.geogridarray.area() array float{geogrid}.

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

itasca.structure.geogridarray.beta() array float{geogrid}.

Get a Numpy array of geogrid 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.geogridarray.component_id() array int{geogrid}.

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

itasca.structure.geogridarray.density() array double{geogrid}.

Get a NumPy array of the density of geogrid elements.

itasca.structure.geogridarray.depth_factor() array float{geogrid}.

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

itasca.structure.geogridarray.element_type() array str{geogrid}.

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

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

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

itasca.structure.geogridarray.force_nodal() array float{geogrid,6,3}.

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

itasca.structure.geogridarray.id() array int{geogrid}.

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

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

Return geogrid group membership as a Boolean array.

itasca.structure.geogridarray.local_system() array double{geogrid,3,3}.

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

itasca.structure.geogridarray.mark() array bool{geogrid}.

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

itasca.structure.geogridarray.poisson() array float{geogrid}.

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

itasca.structure.geogridarray.pos() array vec3{geogrid}.

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

itasca.structure.geogridarray.pressure() array float{geogrid}.

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

itasca.structure.geogridarray.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.geogridarray.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.geogridarray.prop_type() array str{geogrid}.

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

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

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 geogrid recover\) command. See also the \(resultant_valid\) method.

itasca.structure.geogridarray.resultant_valid() array bool{geogrid}.

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.geogridarray.set_density(array double{geogrid}) None.

Set the density of geogrid elements.

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

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

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

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

itasca.structure.geogridarray.set_mark(array bool{geogrid}) None.

Set the mark flag of geogrid elements.

itasca.structure.geogridarray.set_poisson(array float{geogrid}) None.

Set the Poisson’s ratio of the elements.

itasca.structure.geogridarray.set_pressure(array float{geogrid}) None.

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

itasca.structure.geogridarray.set_shear_cohesion(array float{geogrid}) None.

Set the (shear) coupling spring cohesion strength of the geogrid elements.

itasca.structure.geogridarray.set_shear_friction(array float{geogrid}) None.

Set the (shear) coupling spring friction angle of the geogrid elements.

itasca.structure.geogridarray.set_shear_stiffness(array float{geogrid}) None.

Set the (shear) coupling spring stiffness of the geogrid elements.

itasca.structure.geogridarray.set_slide(array bool{geogrid}) None.

Set the large-strain sliding flag. A true value denotes that the large-strain sliding is on.

itasca.structure.geogridarray.set_slide_tol(array float{geogrid}) None.

Set the (shear) coupling spring slide tolerance of the geogrid elements.

itasca.structure.geogridarray.set_thermal_expansion(array double{geogrid}) None.

Set the thermal expansion coefficient of geogrid elements.

itasca.structure.geogridarray.set_thickness(array float{geogrid}) None.

Set the element thickness.

itasca.structure.geogridarray.set_young(array float{geogrid}) None.

Set the Youngs modulus of the elements.

itasca.structure.geogridarray.shear_cohesion() array float{geogrid}.

Get a Numpy array of the (shear) coupling spring cohesion strength of the geogrid elements.

itasca.structure.geogridarray.shear_dir() array float{geogrid,3,3}.

Get a Numpy array of the direction (unit vector in global system) in which the geogrid elements are being loaded by the coupling spring at each node.

itasca.structure.geogridarray.shear_disp() array float{geogrid,3}.

Get a Numpy array of the displacement magnitude in the coupling spring at each node. The coupling spring lies in the tangent plane of the geogrid surface.

itasca.structure.geogridarray.shear_friction() array float{geogrid}.

Get a Numpy array of/set the (shear) coupling spring friction angle of the geogrid elements.

itasca.structure.geogridarray.shear_state() array int{geogrid,3}.

Get a Numpy array of the yield state of the coupling spring at each node. Return values 1, 2 and 3 denotes never yielded, yielding now, or yielded in the past, respectively.

itasca.structure.geogridarray.shear_stiffness() array float{geogrid}.

Get a Numpy array of the (shear) coupling spring stiffness of the geogrid elements.

itasca.structure.geogridarray.shear_stress() array float{geogrid,3}.

Get a Numpy array of the stress magnitude in coupling spring at each node. The coupling spring lies in the tangent plane of the geogrid surface. The direction in which force is acting is given by the \(shear_dir\) method.

itasca.structure.geogridarray.slide() array bool{geogrid}.

Get a Numpy array of the large-strain sliding flag. A true value denotes that the large-strain sliding is on.

itasca.structure.geogridarray.slide_tol() array float{geogrid}.

Get a Numpy array of the (shear) coupling spring slide tolerance of the geogrid elements.

itasca.structure.geogridarray.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.geogridarray.stress_confining() array float{geogrid,3}.

Get a Numpy array of the confining stress at each node. A negative value is compression. The confining stress is the stress component acting perpendicular to the geogrid surface.

itasca.structure.geogridarray.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.geogridarray.stress_valid() array bool{geogrid}.

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.geogridarray.thermal_expansion() array double{geogrid}.

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

itasca.structure.geogridarray.thickness() array float{geogrid}.

Get a Numpy array of the element thickness.

itasca.structure.geogridarray.type() array string{geogrid}.

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

itasca.structure.geogridarray.volume() array float{geogrid}.

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

itasca.structure.geogridarray.young() array float{geogrid}.

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