[11591] | 1 | md=triangle(model,'../Exp/Square.exp',150000);
|
---|
| 2 | md=setmask(md,'../Exp/SquareShelf.exp','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareSheetShelf.par');
|
---|
| 4 | md=extrude(md,3,2);
|
---|
| 5 | md=setflowequation(md,'pattyn','all');
|
---|
| 6 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 7 | md.timestepping.time_step=0;
|
---|
| 8 | md.thermal.isenthalpy=1;
|
---|
| 9 | md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
|
---|
| 10 | md=solve(md,SteadystateSolutionEnum);
|
---|
| 11 |
|
---|
| 12 | %Fields and tolerances to track changes
|
---|
[11604] | 13 | field_names ={'Vx','Vy','Vz','Vel','Pressure','Temperature','Water fraction','Enthalpy'};
|
---|
[11609] | 14 | field_tolerances={1e-09,1e-09,1e-09,1e-09,1e-13,1e-10,1e-10,1e-10};
|
---|
[11591] | 15 | field_values={...
|
---|
| 16 | (md.results.SteadystateSolution.Vx),...
|
---|
| 17 | (md.results.SteadystateSolution.Vy),...
|
---|
| 18 | (md.results.SteadystateSolution.Vz),...
|
---|
| 19 | (md.results.SteadystateSolution.Vel),...
|
---|
| 20 | (md.results.SteadystateSolution.Pressure),...
|
---|
| 21 | (md.results.SteadystateSolution.Temperature),...
|
---|
[11604] | 22 | (md.results.SteadystateSolution.Waterfraction),...
|
---|
| 23 | (md.results.SteadystateSolution.Enthalpy),...
|
---|
[11591] | 24 | };
|
---|