Last change
on this file since 11412 was 11412, checked in by cborstad, 13 years ago |
merged changes 11330:11410 from trunk-jpl
|
File size:
668 bytes
|
Rev | Line | |
---|
[11281] | 1 | md=triangle(model,'../Exp/Square.exp',180000);
|
---|
| 2 | md=setmask(md,'','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareSheetConstrained.par');
|
---|
| 4 | md=extrude(md,3,1);
|
---|
| 5 | md=setflowequation(md,'macayeal','all');
|
---|
| 6 | md.timestepping.time_step=0;
|
---|
| 7 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 8 | md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
|
---|
| 9 | md=solve(md,EnthalpySolutionEnum);
|
---|
| 10 |
|
---|
| 11 | %Fields and tolerances to track changes
|
---|
| 12 | field_names ={'Enthalpy','Waterfraction','Temperature'};
|
---|
| 13 | field_tolerances={1e-13,1e-13,1e-13};
|
---|
| 14 | field_values={...
|
---|
| 15 | (md.results.EnthalpySolution.Enthalpy),...
|
---|
| 16 | (md.results.EnthalpySolution.Waterfraction),...
|
---|
| 17 | (md.results.EnthalpySolution.Temperature),...
|
---|
| 18 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.