How to plote the stress for each element in the mesh with a color map.

24 ビュー (過去 30 日間)
Kealana Araujo
Kealana Araujo 2022 年 8 月 3 日
編集済み: dpb 2022 年 8 月 5 日
Hello, I have one code in matlab thats calculates the stress values in each element​​(stressxx, stressyy and stressxy , for each column respectively). I want to plot a stress field in the mesh for each element. Does anyone know how to do this? I have one mesh with 296 elements and 161 nodes. I tried to use the function pcolor but i can't use the reshape in this problem.
  3 件のコメント
Kealana Araujo
Kealana Araujo 2022 年 8 月 3 日
編集済み: dpb 2022 年 8 月 5 日
My input file for the mesh it's a text document. I provide the quantities of the elements, quantities of the nodes, the conectivites in elements and the contour conditions. The code calculates the stress in the elements and give me a matrix 296x3 withe the sigmaxx in the first column, the sigmayy in the second column and the sigmaxy in the third column. I want to plot a color map with the sigmayy to evaluate the stress concentration at a point. Can you help me?
For this case, this is my input file:
296
171
1 0.00000000000 0.00000000000
2 50.0000000000 0.00000000000
....
Truncated humonguous amount of undocumented text as too large for forum viewer...--dpb
dpb
dpb 2022 年 8 月 4 日
編集済み: dpb 2022 年 8 月 4 日
Don't attach that much text in line; it's too much for the forum interface to handle. Attach it as a text file (user the paperclip icon) instead...I'll not delete this yet, but will in the AM (or when next get back; have other commitments tomorrow that may/probably will prevent me from looking in.
Don't know that that really helps much in MATLAB or not; would have to know first of all what am looking at besides just numbers.
I'm sure there's probably a way but I've not investigated FEM modeling via MATLAB; not sure what tools exist w/o looking...

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2022 年 8 月 4 日

カテゴリ

Help Center および File ExchangeStress and Strain についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by