pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFTElement¶
Classes¶
This element is modification of the ABCElement in order to take into account the required modifications needed when using DLFT elements. |
Module Contents¶
- class pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFTElement.DLFTElement(nh: int | list[int], nti: int, name: str, data: dict, CS: pyHarm.CoordinateSystem.CoordinateSystem, dynop: dict[str, numpy.ndarray] | None = None)¶
Bases:
pyHarm.Elements.NodeToNodeElements.NodeToNodeElement.NodeToNodeElementThis element is modification of the ABCElement in order to take into account the required modifications needed when using DLFT elements.
- flag_nonlinear¶
if True, the element is nonlinear.
- Type:
bool
- flag_AFT¶
if True, the element requires an alternating frequency/time domain procedure for computing residuals.
- Type:
bool
- flag_DLFT¶
if True, the element uses the dynamic Lagrangian method for computing the residuals.
- Type:
bool
- factory_keyword: str = 'DLFTElement'¶
keyword that is used to call the creation of this class in the system factory.
- Type:
str
- __flag_update__()¶
- adim()¶
Modifies the element properties according to the characteristic length and angular frequency.
- Parameters:
lc (float) – characteristic length value.
wc (float) – characteristic angular frequency value.
- _evalJaco_DF(xg, om, Rglin, dJgdxlin, dJgdomlin, step)¶
Computes the jacobian using finite difference method for DLFT Elements.
- Parameters:
xg (np.ndarray) – full displacement vector.
om (float) – angular frequency value.
Rglin (float) – Residual of all the linear contributions.
dJgdxlin (float) – Jacobian with respect to displacement of all the linear contributions.
dJgdomlin (float) – Jacobian with respect to angular frequency of all the linear contributions.
step (float) – step size for the finite difference method.
- Returns:
jacobian with respect to displacement vector. dJdom (np.ndarray): jacobian with respect to angular frequency.
- Return type:
dJdx (np.ndarray)