Last change
on this file since 12878 was 12878, checked in by cborstad, 13 years ago |
merged trunk-jpl into trunk-jpl-damage through revision 12877
|
File size:
668 bytes
|
Line | |
---|
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.