Clear Filters
Clear Filters

How to understand pdeplot3D?

4 views (last 30 days)
Xiaohan Du
Xiaohan Du on 9 Sep 2018
Answered: Vineeth Nair on 12 Sep 2018
Hi all,
I'm trying to run this example from help of function pdeplot3D:
structuralmodel = createpde('structural','static-solid');
structuralProperties(structuralmodel,'PoissonsRatio',0.3, ...
structuralresults = solve(structuralmodel);
pdeplot3D(structuralmodel,'ColorMapData',structuralresults.VonMisesStress, ...
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.

Accepted Answer

Vineeth Nair
Vineeth Nair on 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)+(^2)+(^2));
Values in "a" will match with those in the filed "Magnitude".

More Answers (0)


Community Treasure Hunt

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

Start Hunting!