forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.i
59 lines (51 loc) · 990 Bytes
/
test.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[Mesh]
[gen]
type = GeneratedMeshGenerator
dim = 2
nx = 4
ny = 4
[]
[]
[Variables]
[u]
[]
[]
[Kernels]
[diff]
type = Diffusion
variable = u
[]
[]
[ProjectedStatefulMaterialStorage]
[all]
projected_props = 'test_real test_realvectorvalue test_ranktwotensor test_rankfourtensor'
family = MONOMIAL
order = FIRST
[]
[]
[Materials]
[test]
type = ProjectedStatefulPropertiesTestMaterial
[]
[]
[Postprocessors]
[average_diff]
type = ElementAverageMaterialProperty
mat_prop = diff_norm
[]
[]
[Executioner]
type = Transient
num_steps = 4
[]
[Debug]
show_material_props = true
[]
[Outputs]
csv = true
# in initial the freshly set up old state of the material properties differes
# from the interpolated state as the MAT->AUX->MAT dependency cannot be
# resolved (as both the computation of the current state as well as the
# testing are done in the same material object)
execute_on = 'TIMESTEP_END'
[]