Last change
on this file since 11425 was 11425, checked in by cborstad, 13 years ago |
reverted to revision 11411: working to resolve some missed changes during initial branch
|
File size:
725 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.debug.valgrind=1;
|
---|
10 | md=solve(md,EnthalpySolutionEnum);
|
---|
11 | %md=solve(md,ThermalSolutionEnum);
|
---|
12 |
|
---|
13 | %Fields and tolerances to track changes
|
---|
14 | field_names ={'Enthalpy','Waterfraction','Temperature'};
|
---|
15 | field_tolerances={1e-13,1e-13,1e-13};
|
---|
16 | field_values={...
|
---|
17 | (md.results.EnthalpySolution.Enthalpy),...
|
---|
18 | (md.results.EnthalpySolution.Waterfraction),...
|
---|
19 | (md.results.EnthalpySolution.Temperature),...
|
---|
20 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.