Debian Codegraph @

packages/trilinoscouplings/examples/scaling/Ninja.xml

raw
1 <ParameterList name="Ninja Input">
2 <Parameter name="meshInput" type="string" value = "
3 mesh
4 brick
5 zmin = -1.0
6 xmin = -1.0
7 ymin = -1.0
8 numz 1
9 zblock 1 2.0 interval 8
10 numx 1
11 xblock 1 2.0 interval 20
12 numy 1
13 yblock 1 2.0 interval 20
14 end
15 set assign
16 sideset, ilo, 1
17 sideset, jlo, 2
18 sideset, klo, 3
19 sideset, ihi, 4
20 sideset, jhi, 5
21 sideset, khi, 6
22 end
23 user defined geometry transformation
24 '
25 double r = sqrt(inxcoord*inxcoord +inycoord*inycoord );
26 double theta = atan2(inycoord,inxcoord);
27 if(r > 0.5)
28 {
29 theta = theta + (3.14159 / 4.0)*((r-0.5)/0.5);
30 outxcoord = r*cos(theta);
31 outycoord = r*sin(theta);
32 outzcoord = outzcoord;
33 }
34 '
35 end
36 end"
37 />
38
39 !-- Need one mu for every block in the mesh numbered from 0.-->
40 <!-- Total number of blocks in the mesh = numz*numx*numy. -->
41 <Parameter name="mu0" type="double" value="1.0"/>
42 </ParameterList>