md=setmesh(model,'../Exp/Square.exp',180000); md=setmask(md,'../Exp/SquareShelf.exp',''); md=parameterize(md,'../Par/SquareSheetShelf.par'); md=extrude(md,5,1); md=setflowequation(md,'macayeal','../Exp/SquareHalfRight.exp','fill','pattyn','coupling','penalties'); md.cluster=none; md=solve(md,DiagnosticSolutionEnum); %Fields and tolerances to track changes field_names ={'Vx','Vy','Vz','Vel','Pressure'}; field_tolerances={1e-05,1e-05,1e-05,1e-05,1e-05}; field_values={... (md.results.DiagnosticSolution.Vx),... (md.results.DiagnosticSolution.Vy),... (md.results.DiagnosticSolution.Vz),... (md.results.DiagnosticSolution.Vel),... (md.results.DiagnosticSolution.Pressure),... };