【源码】用主应力线(应力可视化)研究二维应力场

在这里插入图片描述

StressField2D_Investigator_exported

Successfully tested on Matlab R2019a and subsequent versions

注意:要求至少是Matlab R2019a或以上版本。

主要功能:

基于主应力线的二维应力场研究。

该程序允许在不同应力分量的显著性图中交互跟踪PSLs

(包括笛卡尔应力、冯·米塞斯应力、主应力大小和各向异性),或应力场中的拓扑可视化。

Functionality:

Principal stress lines (PSLs) based 2D stress field investigation.

The program allows to trace PSLs interactively in the saliency map of different stress components

(Inc. cartesian stress, von Mises stress, principal stress magnitude and anisotropy), or in the stress field topology visualization.

数据集:

Data set:

What is the file format of the data set?

The data set is composed of two parts: the quad mesh and cartesian stress field.

The quad mesh is written in the standard .vtk DataFile Version 3.0, and cartesian stress field is appended after the mesh info. in the same file.

Usage:

run StressField2D_Investigator_exported.m

‘DataSrc’ edit field ==== name of data set file without extension

‘Loading’ button ======== loading the data set and draw the silhouette of the input stress field

‘VisType’ drop-down ===== selecting the stress components to visualize

‘None’ ---------- nothing to vis. (default)

‘SigmaX’ -------- normal stress along X-dir.

‘SigmaY’ -------- normal stress along Y-dir.

‘SigmaXY’ ------- shear stress

‘Mises’ --------- von Mises stress

‘Sigma1’ -------- magnitudes of major principal stress

‘Sigma2’ -------- magnitudes of minor principal stress

‘Anisotropy’ ---- defined by log10(|Sigma1/Sigma2|), the farther away from zero,

the stronger the anisotropy (’+’: major PS dominates, ‘-’: minor PS dominates)

‘Topology’ ------ topological features of the stress field, inc. degenerate points and

topological skeletons (red dotted lines -> major principal direction, blue -> minor)

‘Alpha’ slider ========== adjusting the transparency of saliency map to highlight PSLs

(from 0 to 1, opaque to tranparent)

‘TraceMajor’ button ===== capturing cursor position, and tracing major PSL (red lines) from there

‘TraceMinor’ button ===== capturing cursor position, and tracing minor PSL (blue lines) from there

‘TraceBoth’ button ====== capturing cursor position, and tracing major & minor PSLs from there

‘UnTrace’ button ======== capturing cursor position, removing PSL closest to it

‘ClearAll’ button ======= clear workspace before loading new data set

局限性:

目前只支持一阶quad mesh,在跟踪PSLs时使用恒定步长,对于单元大小相差很大的网格可能不够健壮。

Limitations:

Only 1st-order quad mesh is supported for now, constant step size is used in tracing PSLs, might be not robust enough for mesh with vastly different element sizes.

更多精彩文章请关注公众号:在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值