Skip to content

Commit 3e279f8

Browse files
committed
add step8 for user-defined-element(UEL)
1 parent 4981ac0 commit 3e279f8

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

examples/tutorial/step8.i

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[mesh]
2+
type=asfem
3+
dim=2
4+
xmax=5
5+
ymax=1
6+
nx=100
7+
ny=20
8+
meshtype=quad9
9+
[end]
10+
11+
[dofs]
12+
name=T
13+
[end]
14+
15+
[elmts]
16+
[mythermal]
17+
type=user1
18+
dofs=T
19+
mate=mymate
20+
[end]
21+
[end]
22+
23+
[mates]
24+
[mymate]
25+
type=user2
26+
params=1.0 2.0 0.05 1.0
27+
// rho Cp K Q
28+
[end]
29+
[end]
30+
31+
[bcs]
32+
[flux]
33+
type=neumann
34+
dofs=T
35+
value=-0.01
36+
boundary=right
37+
[end]
38+
[end]
39+
40+
41+
[timestepping]
42+
type=be
43+
dt=1.0e-5
44+
dtmax=0.1
45+
time=1.0e-1
46+
adaptive=true
47+
optiters=3
48+
[end]
49+
50+
[job]
51+
type=transient
52+
debug=dep
53+
[end]

0 commit comments

Comments
 (0)