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