postprocessor.m
来自「The Finite Element Method Usign MATLAB.p」· M 代码 · 共 35 行
M
35 行
% plot deformed configuration and print stresses in gauss points
function postprocess(d);
include_flags
% plot the deformed configuration
displacements(d);
% Compute strains and stresses at gauss points
s = zeros(neq,1);
if strcmpi(compute_stress,'yes')==1;
fprintf(1,'\n Stress at Gauss Points \n')
fprintf(1,'----------------------------------------------------------------------------- \n')
for e=1:nel
fprintf(1,'Element %d \n',e)
fprintf(1,'-------------\n')
get_stress(d,e);
nodal_stress(d,e);
end
global sxx
stress_contours;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?