File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed
test/tests/time_integrators/bdf2 Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ [Mesh]
2+ type = GeneratedMesh
3+ dim = 2
4+ nx = 10
5+ ny = 10
6+ []
7+
8+ [Variables]
9+ [u]
10+ type = MooseVariableFVReal
11+ []
12+ []
13+
14+ [FVKernels]
15+ [timeu]
16+ type = FVTimeKernel
17+ variable = u
18+ []
19+ [diffu]
20+ type = FVDiffusion
21+ variable = u
22+ coeff = 1
23+ []
24+ [forceu]
25+ type = FVBodyForce
26+ variable = u
27+ function = force
28+ []
29+ []
30+
31+ [Functions]
32+ [exact]
33+ type = ParsedFunction
34+ expression = ' t^3*x*y'
35+ []
36+ [force]
37+ type = ParsedFunction
38+ expression = ' 3*x*y*t^2'
39+ []
40+ []
41+
42+ [FVBCs]
43+ [allu]
44+ type = FVFunctionDirichletBC
45+ function = exact
46+ variable = u
47+ boundary = ' left right top bottom'
48+ []
49+ []
50+
51+ [Executioner]
52+ type = Transient
53+ solve_type = ' NEWTON'
54+ petsc_options_iname = ' -pc_type'
55+ petsc_options_value = ' hypre'
56+ dt = 1
57+ end_time = 3
58+ scheme = ' bdf2'
59+ []
60+
61+ [Postprocessors]
62+ [L2u]
63+ type = ElementL2Error
64+ function = exact
65+ variable = u
66+ []
67+ []
68+
69+ [Outputs]
70+ csv = true
71+ []
You can’t perform that action at this time.
0 commit comments