console.log('creating model'); 
var md = new model();

console.log('meshing');
triangle(md,square[0],40000); 

console.log('parameterization');
setmask(md,'all','');
parameterize(md);
setflowequation(md,'SSA','all');
md.verbose.solution=2;  md.verbose.convergence=0;

md=solve(md,StressbalanceSolutionEnum(),'checkconsistency','no');

console.log(md.results['StressbalanceSolution'][0]['Vel']);
