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