Skip to content

Commit a436234

Browse files
committed
Implement Adrien's suggestion for initialization experiment.
1 parent 6c40898 commit a436234

File tree

2 files changed

+30
-23
lines changed

2 files changed

+30
-23
lines changed

expr/00_CoupledInit/initialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def main(argv):
8888
parser.add_argument('-it_prog','--prognostic_SS_iterations', type=int,
8989
help = "Number of (S)teady (S)tate itterations for the \n"\
9090
"prognostic simulation",
91-
default = 10)
91+
default = 1)
9292

9393

9494
args, _ = parser.parse_known_args(argv)

expr/00_CoupledInit/sifs/prognostic.sif

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -299,36 +299,43 @@ Solver 6
299299
Exported Variable 4 = -dofs 1 "runoff_frac" ! [-]
300300
End
301301

302-
! Navier-Stokes Equation (Stokes Flow)
302+
! Navier-Stokes Equation (vectorized & threaded)
303303
Solver 7
304304
Exec Interval = <Dynamic_int>
305305
Timestep Scale = <Dynamic_int>
306306

307-
Equation = "Navier-Stokes"
308-
Flow model = String "Stokes"
307+
Equation = "Stokes-Vec"
308+
Procedure = "IncompressibleNSVec" "IncompressibleNSSolver"
309+
Div-Curl Discretization = Logical False
309310
Optimize Bandwidth = Logical True
310-
! Stabilization Method = [Stabilized,P2/P1,Bubbles]
311-
Stabilization Method = String "Bubbles"
312311

313-
! Linear System Solver = Direct
314-
! Linear System Direct Method = "UMFPACK"
315-
Linear System Solver = "Iterative"
316-
Linear System Iterative Method = "BiCGStabl"
317-
BiCGStabl Polynomial Degree = 4
318-
Linear System Max Iterations = 1000
319-
Linear System Convergence Tolerance = 1.0E-08
320-
Linear System Abort Not Converged = Logical False
321-
Linear System Preconditioning = "ILU0"
322-
323-
Nonlinear System Convergence Tolerance = 1.0E-07
324-
Nonlinear System Max Iterations = 25
325-
Nonlinear System Newton After Iterations = 25
326-
Nonlinear System Newton After Tolerance = 1.0E-04
327-
Nonlinear System Reset Newton = Logical True
328-
! Nonlinear System Convergence Measure = String "solution"
312+
Stabilization Method = String "Stabilized"
313+
Flow model = String "Stokes"
314+
Block Preconditioner = logical True
329315

316+
! Linear system settings:
317+
!------------------------
318+
Linear System Solver = Direct
319+
Linear System Direct Method = "UMFPACK"
320+
Mumps percentage increase working space = Integer 400
321+
322+
! Non-linear iteration settings:
323+
!-------------------------------
324+
Nonlinear System Max Iterations = 50
325+
Nonlinear System Convergence Tolerance = 1.0E-03
326+
Nonlinear System Newton After Iterations = 5
327+
Nonlinear System Newton After Tolerance = 1.0E-03
328+
Nonlinear System Reset Newton = Logical True
329+
330+
! Convergence on timelevel:
331+
!--------------------------
330332
Steady State Convergence Tolerance = 1.0E-03
331-
! Steady State Convergence Measure = String "solution"
333+
334+
Relative Integration Order = -1
335+
!Number of Integration Points = Integer 44 ! 21, 28, 44, 64, ...
336+
337+
! 1st iteration viscosity is constant
338+
Constant-Viscosity Start = Logical False
332339

333340
Exported Variable 1 = -dofs 2 "Mesh Velocity"
334341
Exported Variable 2 = -dofs 1 "Densi"

0 commit comments

Comments
 (0)