pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFT3D¶
Attributes¶
Classes¶
This element is a combination of the unilateral DFLT gap element and the DLFT friction element in the perpendicular directions. |
Functions¶
|
Module Contents¶
- pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFT3D.DLFTFriction3DResidual_jax(x, om, Rlin, nbSub, Pdir, Pslave, Pmaster, mu, N0, g, eps, DFT, DTF)¶
- pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFT3D.DLFTFriction3DJacobian_jax: Callable = None¶
- class pyHarm.Elements.NodeToNodeElements.DLFTElements.DLFT3D.DLFT3D(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.DLFTElements.DLFTElement.DLFTElementThis element is a combination of the unilateral DFLT gap element and the DLFT friction element in the perpendicular directions.
- N0¶
normal force applied at contact.
- Type:
float
- g¶
gap value.
- Type:
float
- eps¶
penalty parameter of the DLFT method.
- Type:
foat
- mu¶
friction coefficient.
- Type:
foat
- factory_keyword: str = 'DLFT3D'¶
keyword that is used to call the creation of this class in the system factory.
- Type:
str
- __post_init__()¶
- adim(lc, wc)¶
Modifies the element properties according to the characteristic length and angular frequency.
- eps¶
modified penalty coefficient to apply according to the characteristic parameters.
- Type:
float
- g¶
modified gap value according to the characteristic parameters.
- Type:
float
- flag_adim¶
True if equations are to be adimensionalized
- Type:
bool
- evalResidual(xg, om, Rglin=None)¶
Computes the residual.
- Parameters:
xg (np.ndarray) – full displacement vector.
om (float) – angular frequency value.
Rglin (np.ndarray) – Residual vector of all the linear element contributions.
- Returns:
residual vector.
- Return type:
np.ndarray
- _evalJaco_jax(xg, om, Rglin=None)¶
- evalJacobian(xg, om, Rglin=None, dJgdxlin=None, dJgdomlin=None)¶
Computes the jacobians.
- Parameters:
xg (np.ndarray) – full displacement vector.
om (float) – angular frequency value.
Rglin (np.ndarray) – Residual vector of all the linear element contributions.
dJgdxlin (np.ndarray) – Jacobian with respect to displacement of all the linear element contributions.
dJgdomlin (np.ndarray) – Jacobian with respect to angular frequency of all the linear element contributions.
- Returns:
Jacobian with respect to displacement. np.ndarray: Jacobian with respect to angular frequency.
- Return type:
np.ndarray