How to understand pdeplot3D?

8 visualizaciones (últimos 30 días)
Xiaohan Du
Xiaohan Du el 9 de Sept. de 2018
Respondida: Vineeth Nair el 12 de Sept. de 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');
structuralBoundaryLoad(structuralmodel,'Face',5,'SurfaceTraction',[0;0;-2]);
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.

Respuesta aceptada

Vineeth Nair
Vineeth Nair el 12 de Sept. de 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".

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by