查看 ErrElemExcessDistortion 的 Elements

在abaqus分析过程中出现单元过度变形的问题,在网上找到一篇博客,介绍得很好,故转载过来
本文发表于水景一页。永久链接:http://cnzhx.net/fe/2015/01/29/view-errelemexcessdistortion-elements/。转载请保留此信息及相应链接。

查看 ErrElemExcessDistortion 的 Elements

Abaqus 可能会提示有些 Elements 出现了过度变形,并提示可以通过 element set ErrElemExcessDistortion 查看。即使该模拟中途因错结束,也可以在输出中查看到这些单元。

错误提示类似于:

The elements contained in element set ErrElemExcessDistortion-Step1 have distorted excessively.
There are a total of 4 excessively distorted elements

查看的方法就是,

  1. 右键单击该 Aborted 的 job 并单击 Results,或者在 Job Manager 中点击 Results 打开输出结果查看页面。
  2. 在 Results 列表中展开该 job 对应的 odb。
  3. 继续展开 Element Sets,或者 Node Sets,或者 Surface Sets。
  4. 单击要查看的 Set 的名字,如 ErrElemExcessDistortion。- 号后面是 Step 名称。

其它类似提示也可以通过这样的方式查看到。比如,

90 elements are distorted. Either the isoparametric angles are out of the suggested limits or the triangular or tetrahedral quality measure is bad. The elements have been identified in element set WarnElemDistorted.

就可以通过上面的方式打开 Set 集,单击 WarnElemDistorted 来查看。

还有,

Excessive incremental rotation of the elements
Excessive incremental rotation of the elements in element set ErrElemExcessIncrementalRotation-Step1.
Error in job 1-hsh-exce-remesh: There are a total of 4 elements with excessive rotations
The ratio of deformation speed to wave speed in the elements in element set WarnElemDeformRateExceedsRatio-Step1 exceed the warning ratio

如 Node Set 的,

Some nodes involved in general contact have penetrated their
tracked faces by more than 50.000 percent of the typical element
dimension in the general contact domain, 4.58846E-04. Please check
the node set "InfoNodeDeepPenetFirst". Please make sure that these
nodes and their contacting faces have sufficient mass to allow the
code to calculate realistic contact penalties for enforcing the
contact constraint.

操作大同小异。©

### 解决 `ms_deformable_col2im_cuda` CUDA 错误 当遇到 `no kernel image is available for execution on the device` 的错误时,通常意味着所使用的 CUDA 版本、PyTorch 安装以及 GPU 架构之间存在不兼容的情况。具体来说,在尝试运行涉及自定义 CUDA 扩展的操作(如 `ms_deformable_col2im_cuda`)时可能会触发此问题。 #### 不同组件之间的版本冲突可能导致该错误发生: - **CUDA 和 PyTorch 版本**:如果安装的 PyTorch 是针对特定版本的 CUDA 编译而成,则需要确保实际环境中也部署了相同或更高版本但向下兼容的 CUDA 驱动程序[^1]。 - **GPU 架构支持度不足**:某些较新的 GPU 可能具有更新的计算能力 (Compute Capability),而旧版 CUDA 或者预编译好的二进制文件可能无法提供对该架构的支持[^2]。 为了修复这个问题并成功执行 `ms_deformable_col2im_cuda` 函数,建议采取以下措施之一来调整环境配置: #### 方法一:升级至最新稳定版本组合 通过官方渠道获取最新的 PyTorch 发布包及其推荐搭配的 CUDA 工具链版本,并确认目标硬件是否被充分支持。这可以最大限度地减少因软件老化带来的潜在风险。 ```bash conda install pytorch torchvision torchaudio cudatoolkit=11.7 -c pytorch ``` #### 方法二:重新构建适用于当前系统的扩展模块 对于依赖于本地编译的第三方库而言,有时直接使用发行版附带的预编译二进制文件并不能很好地适配所有用户的开发平台。此时可以选择克隆源码仓库自行编译这些额外的功能插件,从而确保它们能够正确识别主机上的 GPU 设备特性。 ```bash git clone https://github.com/fmassa/dcnv2.git cd dcnv2 python setup.py build develop ``` 以上两种方式都可以有效缓解由于不同层面上的技术栈差异所带来的困扰。当然,在实施任何更改之前,请务必做好数据备份工作以防万一;另外也可以考虑设置虚拟环境来进行隔离测试以降低影响范围。
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值