md=mesh(model,'../Exp/Square.exp',150000); md=geography(md,'all',''); md=parameterize(md,'../Par/SquareShelf.par'); md=extrude(md,3,2); md=setelementstype(md,'pattyn','../Exp/SquareHalfRight.exp','fill','macayeal'); md.cluster='none'; md=solve(md,'analysis_type',DiagnosticSolutionEnum); %Fields and tolerances to track changes field_names ={'Vx','Vy','Vz','Vel','Pressure'}; field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13}; field_values={... PatchToVec(md.results.DiagnosticSolution.Vx),... PatchToVec(md.results.DiagnosticSolution.Vy),... PatchToVec(md.results.DiagnosticSolution.Vz),... PatchToVec(md.results.DiagnosticSolution.Vel),... PatchToVec(md.results.DiagnosticSolution.Pressure),... };