11# Listing of Parameters
22# ---------------------
33subsection AMG for u
4- set Aggregation threshold = 10
4+ set Aggregation threshold = 0.2
55 set Variable related to constant modes = u
66end
77subsection AMG for v
8- set Aggregation threshold = 10
8+ set Aggregation threshold = 0.2
99 set Variable related to constant modes = v
1010end
1111subsection AMG for p
12- set Aggregation threshold = 10
12+ set Aggregation threshold = 0.2
1313 set Variable related to constant modes = p
1414end
1515
@@ -26,36 +26,29 @@ subsection Forcing terms
2626 t^2*y + x*cos(y) + y*sin(x);\
2727 0; 0; 0
2828 set Known component names = v,v,p,u,u
29- set Used constants = k =0.01
29+ set Used constants = d =0.01
3030end
3131
3232subsection Dirichlet boundary conditions
33- set IDs and component masks = 0 = v
33+ set IDs and component masks = 0 = v;u;p % 1 = v;u;p % 2 = v;u;p % 3 = v;u;p
3434 set IDs and expressions = 0 = t*cos(x); t*y*sin(x); -1*y*sin(x);\
35+ t*cos(x); t*y*sin(x) %\
36+ 1 = t*cos(x); t*y*sin(x); -1*y*sin(x);\
37+ t*cos(x); t*y*sin(x) %\
38+ 2 = t*cos(x); t*y*sin(x); -1*y*sin(x);\
39+ t*cos(x); t*y*sin(x) %\
40+ 3 = t*cos(x); t*y*sin(x); -1*y*sin(x);\
3541 t*cos(x); t*y*sin(x)
3642 set Known component names = v,v,p,u,u
3743 set Used constants = k=0.01
3844end
3945
40- #subsection Forcing terms
41- # set IDs and component masks = 0=v
42- # set IDs and expressions = 0=-sin(x)*cos(x) + sin(y) + 0.1*cos(x);\
43- # x*cos(y)+y*sin(x)*sin(x)+y*cos(x)*cos(x); 0;0;0
44- # set Known component names = v,v,u,u,p
45- # set Used constants = k=0.0
46- #end
47- #
48- #subsection Dirichlet boundary conditions
49- # set IDs and component masks = 0=u;p
50- # set IDs and expressions = 0=0; 0; cos(x); y*sin(x); x*sin(y)
51- # set Known component names = v,v,u,u,p
52- # set Used constants = k=0.0
53- #end
54- #
55- #subsection Exact solution
56- # set Function expression = 0; 0; cos(x); y*sin(x); x*sin(y)
57- # set Variable names = x,y,t
58- #end
46+ subsection Neumann boundary conditions
47+ set IDs and component masks = 0 = p
48+ set IDs and expressions = 0 = 0;0;0;0;0
49+ set Known component names = v,v,p,u,u
50+ set Used constants = k=0.01
51+ end
5952
6053subsection Domain
6154 set Colorize = false
@@ -65,28 +58,11 @@ subsection Domain
6558end
6659
6760subsection IMEX Parameters
68- set Absolute error tolerance = 1e-12
69- set Final time = 1.0
61+ set Final time = 1e0
7062 set Initial time = 0.0
71- set Intervals between outputs = 1
7263 set Step size = 1e-1
73- set Update continuously Jacobian = true
74- set Use the KINSOL solver = true
7564end
7665
77- subsection KINSOL for IMEX
78- set Level of verbosity of the KINSOL solver = 0
79- set Maximum number of iteration before Jacobian update = 10
80- set Maximum number of iterations = 50
81- set Step tolerance = 1e-12
82- # newton = basic Newton iteration
83- # global_newton = Newton with line search
84- # fixed_point = fixed-point iteration with Anderson Acceleration
85- # picard = Picard iteration with Anderson Acceleration
86- set Strategy = global_newton
87- set Tolerance for residuals = 1e-10
88- set Use internal KINSOL direct solver = false
89- end
9066
9167subsection Navier Stokes Interface
9268 set Block of differential components = 1,0,1
@@ -96,51 +72,25 @@ subsection Navier Stokes Interface
9672 set Finite element space = FESystem[FE_Q(2)^d-FE_Q(1)-FE_Q(2)^d]
9773 set nu [Pa s] = 0.1
9874 set rho [kg m^3] = 1.0
99- set delta t = 1e-1
75+ set initial delta t = 1e-3
10076end
10177
10278subsection Output Parameters
10379 set Files to save in run directory =
10480 set Incremental run prefix =
10581 set Output format = vtu
10682 set Output partitioning = true
83+ set Solution names = v
10784 set Problem base name = Navier_Stokes_chorin-temam
10885end
10986
110-
111- subsection Refinement
112- # Coarsening fraction.
113- set Bottom fraction = 0.1
114-
115- # Maximum number of cells.
116- set Maximum number of cells (if available) = 0
117-
118- # Maximum number of cells.
119- set Order (optimize) = 2
120-
121- # Refinement strategy to use. fraction|number
122- set Refinement strategy = fraction
123-
124- # Refinement fraction.
125- set Top fraction = 0.3
126- end
127-
12887subsection piDoMUS<2, 2, LATrilinos>
12988 set Adaptive refinement = false
13089 set Enable finer preconditioner = false
131- set Initial global refinement = 2
132- set Jacobian solver tolerance = 1e-8
133- set Max iterations = 500
134- set Max iterations finer prec. = 0
135- set Max tmp vectors = 30
136- set Max tmp vectors for finer system = 50
90+ set Initial global refinement = 4
13791 set Number of cycles = 1
138- set Overwrite Newton's iterations = false
139- set Print some useful informations about processes = true
140- set Refine mesh during transient = false
141- set Threshold for solver's restart = 1e-2
142- set Time stepper = euler
143- set Use direct solver if available = true
92+ set Jacobian solver tolerance = 1e-12
93+ set Use direct solver if available = false
14494end
14595
14696subsection Error Tables
0 commit comments