# How to understand pdeplot3D?

조회 수: 1(최근 30일)
Xiaohan Du 9 Sep 2018
Answered: Vineeth Nair 12 Sep 2018
Hi all,
I'm trying to run this example from help of function pdeplot3D:
structuralmodel = createpde('structural','static-solid');
importGeometry(structuralmodel,'SquareBeam.STL');
structuralProperties(structuralmodel,'PoissonsRatio',0.3, ...
'YoungsModulus',210E3);
structuralBC(structuralmodel,'Face',6,'Constraint','fixed');
generateMesh(structuralmodel);
structuralresults = solve(structuralmodel);
pdeplot3D(structuralmodel,'ColorMapData',structuralresults.VonMisesStress, ...
'Deformation',structuralresults.Displacement)
In the variable 'structuralresults', I noticed this:
>> structuralresults.Displacement
ans =
struct with fields:
ux: [7841×1 double]
uy: [7841×1 double]
uz: [7841×1 double]
Magnitude: [7841×1 double]
What is the Magnitude here? As far as I understand ux, uy, uz already denotes the deformations.

로그인 to comment.

### 채택된 답변

Vineeth Nair 12 Sep 2018
magnitude = square root (ux^2 +uy^2+ uz^2). You can verify this through the following command:
>>a = sqrt((structuralresults.Displacement.ux.^2)+(structuralresults.Displacement.uy.^2)+(structuralresults.Displacement.uz.^2));
Values in "a" will match with those in the filed "Magnitude".

로그인 to comment.

### More Answers (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by