【源码】用主应力线(应力可视化)研究二维应力场
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.
更多精彩文章請關注公眾號:
總結
以上是生活随笔為你收集整理的【源码】用主应力线(应力可视化)研究二维应力场的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 记忆力训练软件测试自学,记忆力训练题,每
- 下一篇: 敲黑板!2021入学复旦MBA最后一场公