How to extract data from a stress displacement graph generated by pdeplot3d?

6 views (last 30 days)
Hi, I have a stress dispaclement graph of a thin plate with a uniform pressure acting on one of its plates, this was generated using the pdeplot3d function. I have attached the code. I was wondering I might be able to extract the stress at certain co-ordinates. I.e (0,0,0) or the centre edges at the top for examples etc. I've tried to use a few solutions I've found online but they don't seem to work on the graph generated by pdeplot3d. Any help would be very much appreiciated.
%=============Fea Analysis of Greatest Stress =============%
%Create the PDE
structuralmodel = createpde('structural','static-solid');
%Create Geometry and Add to the PDE%
gm = multicuboid(1000e-6,1000e-6,20e-6);
structuralmodel.Geometry=gm;
pdegplot(structuralmodel,'FaceLabels','on','FaceAlpha',0.5)
%Add Properties of Silcon and Boundary Condtions to the PDE
structuralProperties(structuralmodel,'YoungsModulus',170E6,'PoissonsRatio',0.22,'MassDensity',2300);
structuralBC(structuralmodel,'Constraint','fixed','Face',3:6);
%Define type of load, generate Mesh and Solve PDE
structuralBoundaryLoad(structuralmodel,'Face',2,'Pressure',110e3);
generateMesh(structuralmodel);
structuralresults = solve(structuralmodel);
figure
pdeplot3D(structuralmodel,'ColorMapData',structuralresults.Stress.syy, ...
'Deformation',structuralresults.Displacement)
figure
pdeplot3D(structuralmodel,'ColorMapData',structuralresults.Stress.sxx, ...
'Deformation',structuralresults.Displacement)

Accepted Answer

Ravi Kumar
Ravi Kumar on 4 Jan 2019
Use the function interpolateStress. For example, in your case you could do:
intrpStress = interpolateStress(structuralresults,0,0,0)
The output intrpStress would contain all components of stress at (0,0,0).

More Answers (0)

Community Treasure Hunt

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

Start Hunting!