itasca.gridpointarray
Array interface for FLAC gridpoints.
Functions
- itasca.gridpointarray.accel() (array double{gridpoint,3}).
Get a NumPy array of the acceleration of each gridpoint.
- itasca.gridpointarray.disp() array float{gridpoint,3}.
Get a numpy array of the gridpoint displacement.
- itasca.gridpointarray.extra(slot: int) array float{gridpoint} or float{gridpoint,3}.
Get the gridpoint extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
- itasca.gridpointarray.fill_disp(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint displacement. The array must be the correct shape.
- itasca.gridpointarray.fill_force_app(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint applied force (including forces due to gravity). The array must be the correct shape.
- itasca.gridpointarray.fill_force_load(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint applied force. The array must be the correct shape.
- itasca.gridpointarray.fill_force_unbal(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint unbalanced force. The array must be the correct shape.
- itasca.gridpointarray.fill_pos(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint centroid location. The array must be the correct shape.
- itasca.gridpointarray.fill_vel(data: array float{gridpoint, 3}) None.
Fill an existing array with the gridpoint velocity. The array must be the correct shape.
- itasca.gridpointarray.fixity() array int{gridpoint,3}.
Get a NumPy array of the gridpoint fixity condition.
- itasca.gridpointarray.flow() array double{gridpoint}.
Get a numpy array of the unbalanced flow discharge at each gridpoint.
- itasca.gridpointarray.fluid_load() array double{gridpoint}.
Get a numpy array of the additional fluid load at each gridpoint.
- itasca.gridpointarray.fluid_modulus() array double{gridpoint}.
Get a numpy array of the fluid bulk modulus at each gridpoint.
- itasca.gridpointarray.fluid_modulus_confined() array double{gridpoint}.
Get a numpy array of the fluid flow confined modulus times nodal volume at each gridpoint.
- itasca.gridpointarray.fluid_tension() array double{gridpoint}.
Get a numpy array of the fluid tension at each gridpoint.
- itasca.gridpointarray.fluid_unbal() array double{gridpoint}.
Get a numpy array of the fluid out-of-balance flow at each gridpoint: used in the fastflow solution scheme.
- itasca.gridpointarray.fluid_vol_inv() array double{gridpoint}.
Get a numpy array of the inverse of the fluid nodal volume at each gridpoint.
- itasca.gridpointarray.flux() array double{gridpoint}.
Get the unbalanced thermal flux at a each gridpoint as a NumPy array.
- itasca.gridpointarray.force_app() array float{gridpoint,3}.
Get a numpy array of the gridpoint applied force. This includes all sources, including forces due to gravity.
- itasca.gridpointarray.force_load() array float{gridpoint,3}.
Get a numpy array of the gridpoint applied force.
- itasca.gridpointarray.force_unbal() array float{gridpoint,3}.
Get a numpy array of the gridpoint unbalanced force.
- itasca.gridpointarray.ids() array int{gridpoint}.
Get the gridpoint ids as an array.
- itasca.gridpointarray.in_group(group_name: str, slot=1) array bool{gridpoint}.
Return gridpoint group membership as a Boolean array.
- itasca.gridpointarray.live_mechanical() array bool{nzone}.
Return an array of True/False values for each gridpoint, a value of True indicates that a gridpoint is attached to at least one zone with an active mechanical model.
- itasca.gridpointarray.porepressure() array double{gridpoint}.
Get a numpy array of the porepressure at each gridpoint.
- itasca.gridpointarray.pos() array float{gridpoint,3}.
Get a numpy array of the gridpoint centroid location.
- itasca.gridpointarray.set_disp(data: array float{gridpoint, 3}) None.
Set the gridpoint displacement from an array.
- itasca.gridpointarray.set_extra(slot: int, data: array float{gridpoint} or float{gridpoint, 3}) None.
Set the gridpoint extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
- itasca.gridpointarray.set_fixity(array bool{gridpoint, 3}) None.
Set the gridpoint fixity condition.
- itasca.gridpointarray.set_flow(array double{gridpoint, 3}) None.
Set the unbalanced flow discharge at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_fluid_load(array double{gridpoint, 3}) None.
Set the additional fluid load at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_fluid_modulus(array double{gridpoint, 3}) None.
Set the fluid bulk modulus at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_fluid_unbal(array double{gridpoint, 3}) None.
Set the fluid out-of-balance flow at each gridpoin with a NumPy array.
- itasca.gridpointarray.set_force_app(data: array float{gridpoint, 3}) None.
Set the gridpoint applied force from an array.
- itasca.gridpointarray.set_force_load(data: array float{gridpoint, 3}) None.
Set the gridpoint applied force from an array.
- itasca.gridpointarray.set_group(membership: array bool{gridpoint}, group_name: str, slot=1) None.
Set gridpoint group from an array. Where membership True set the corresponding gridpoint to be a member of group group_name in the given slot.
- itasca.gridpointarray.set_porepressure(array double{gridpoint, 3}) None.
Set the pore pressure at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_pos(data: array float{gridpoint, 3}) None.
Set the gridpoint centroid location from an array.
- itasca.gridpointarray.set_temperature(array double{gridpoint, 3}) None.
Set the temperature at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_vel(data: array float{gridpoint, 3}) None.
Set the gridpoint velocity from an array.
- itasca.gridpointarray.stiffness() array double{gridpoint}.
Get a NumPy array of the accumulated gridpoint effective stiffness.
- itasca.gridpointarray.temperature() array double{gridpoint}.
Get a numpy array of the temperature at each gridpoint.
- itasca.gridpointarray.vel() array float{gridpoint,3}.
Get a numpy array of the gridpoint velocity.
- itasca.gridpointarray.zones() tuple of tuples of int.
Return the indices of the zones which each gridpoint is attached to. The indices are relative to the arrays returned by the zonearray interface functions. Note that the return type is not a numpy array in this case.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |