From 4a26b3e28be81b8b0a017dd2fc963ca299cd1b86 Mon Sep 17 00:00:00 2001 From: PProfizi <100710998+PProfizi@users.noreply.github.com> Date: Tue, 16 Sep 2025 13:47:01 +0000 Subject: [PATCH] update generated code --- doc/source/_static/dpf_operators.html | 4 ++-- .../core/operators/result/modal_coordinate.py | 9 ++++++++- src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll | Bin 12976640 -> 12976640 bytes src/ansys/dpf/gatebin/DPFClientAPI.dll | Bin 868352 -> 868352 bytes 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 61f289db581..621bc08e0c7 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -14624,10 +14624,10 @@
Applies a transformation (rotation and displacement) matrix on a mesh or meshes container.
3-3 rotation matrix + 3 translations (X, Y, Z) |
Computes the normals on nodes/faces/elements based on integration points (more accurate for non-linear elements) on a skin mesh.
-Skin, face, or shell mesh region. +Version 1.0.0 Inputs
OutputsConfigurationsScriptingChangeloggeo: elements volumes over timeCalculates for a mesh, the volume of each element over time for each specified time step. + |
Calculates for a mesh, the volume of each element over time for each specified time step.
Displacement field's container. Must contain the mesh if mesh not specified in input. |
Mesh must be defined if the displacement field's container does not contain it, or if there is no displacement. |
Apply bartlett windowing on a given FieldsContainer having time label or a Field located on time. Assume that time sampling is evenly spaced (use time_freq_interpolation before otherwise).
diff --git a/src/ansys/dpf/core/operators/result/modal_coordinate.py b/src/ansys/dpf/core/operators/result/modal_coordinate.py index 0446adb86e9..3a8c3c5ec2f 100644 --- a/src/ansys/dpf/core/operators/result/modal_coordinate.py +++ b/src/ansys/dpf/core/operators/result/modal_coordinate.py @@ -7,6 +7,7 @@ from __future__ import annotations from warnings import warn +from ansys.dpf.core.core import errors from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import Output, _Outputs @@ -91,7 +92,13 @@ def __init__( config=None, server=None, ): - super().__init__(name="MCF", config=config, server=server) + try: + super().__init__(name="MCF", config=config, server=server) + except (KeyError, errors.DPFServerException) as e: + if "doesn't exist" in str(e): + super().__init__(name="U", config=config, server=server) + else: + raise e self._inputs = InputsModalCoordinate(self) self._outputs = OutputsModalCoordinate(self) if time_scoping is not None: diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 1e85b2769db4b70f64dc752e86a9f5cf316b8e5c..b21a3ac52e5e2140da7f403fd08f57109386cbd8 100644 GIT binary patch delta 289590 zcmaf+d%RCo{{J29&gWxFNK?rO`6`!ml$oI^i8GTVVMHRKlMYIfE>uWT#}SfgrHdpL zl3Pc|q0vdor4rJ(Bq39}OzARR)YR|!eyzRE-oEpFJbr()KhO1E`~BYQv-fMg*V^l| zoW@Of_^5IGx1?iEm5G1d@ZiNc^RqSfRqnILRqHx=MWqW?RjQOz?(+VSdy2ciWA1OO*2L)c
z{wepw(w95tzItNLS*3Rm$SumvnOAzu;N0`FIYUY>9+CTe<(!vFe;k?nZ0dYA4U
zoqJtQPGRXKcjRt3E$5-q6Xxbl&9tfY^YThnD^;pgT%{ CvTg?3x~T!{CI+mx
z1#Ddeu;vAxU-3lBDw;CgPFU;4eTQw5&`j!?Bs3e25}K#noP@@!4GOc>DA}ZRtoi@f
zg24f+n&<{q1i2MwaZSGem{C
z<`f&W>{b>DxRti7Q*5botbqPLT0nol8PEtk+%
K{Ya{Mh4Xg$ZGWI1TGH0YEn|pH!%N!lx_Q6h>|vYB%NQW!q0G_H6gb)|=UWK+?AF7_faEknJn%
z`Dx15Vag;uGq+`FUU)uio1q45h8Uz)zzx_RsFK#3-Ncl3Ayd3GDV-17daeQM*#@ld
z25fx?fHnW|OxE3Nm8`qKw(exWx`P4hwt%f$16cD0)yc(*QD4!POR^gf-?(*uVVg9x
zjCv*wEr+9qUQ}*QL-W)Kh2?6MY)U%EoN1_G%ufpp14yGGwrHrdFm}Rki^v|%R^wl~
z0ns~bGo@Hjws*tOb`Zaap(mA=7uJ)?H1?_c8YA2W=UHRQ%QW_ti_zG3u~-^YUZ$~c
zU0lr)QY@Cnl$UAj2Nhdm`|xzS^V10TjZ