~asc/fluidity/iceshelfcavity

« back to all changes in this revision

Viewing changes to legacy_reservoir_prototype/tests/BL_test_gravity_unstable/input.dat

  • Committer: Adam Candy
  • Date: 2011-10-12 20:39:04 UTC
  • Revision ID: adam.candy@imperial.ac.uk-20111012203904-9gwqzs4z798zcw0l
Automatic sync to launchpad

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
###
2
 
### BL test:  gravity
3
 
### First part - before first *** exit *** statement
4
 
### is for scalar variables that will set up the right 
5
 
### size of the arrays
6
 
###
7
 
 
8
 
###
9
 
### Option for debugging: if =357, then all print statements will
10
 
### be sent to the file flog.dat, otherwise to /dev/null
11
 
option_debug   1
12
 
 
13
 
# Problem type: options -2, -1, 0, and 1
14
 
problem               1
15
 
 
16
 
# Number of phases
17
 
nphase                2
18
 
 
19
 
# Number of components
20
 
ncomp                 0
21
 
 
22
 
# total number of elements
23
 
totele               20
24
 
 
25
 
# Dimensionality
26
 
ndim                  1
27
 
 
28
 
# nlev --> controls u_snloc
29
 
nlev                  3
30
 
 
31
 
# Number of velocity nodes
32
 
u_nloc                6
33
 
 
34
 
# Number of spatial nodes associated w velocity 
35
 
xu_nloc               2
36
 
 
37
 
# number of nodes associated with CV
38
 
cv_nloc               3
39
 
 
40
 
# Number of spatial nodes
41
 
x_nloc                3
42
 
 
43
 
# Number of pressure nodes
44
 
p_nloc                3
45
 
 
46
 
# Number of surface nodes associated with CV
47
 
cv_snloc              1
48
 
 
49
 
# Number of surface nodes associated w velocity
50
 
u_snloc              -1
51
 
 
52
 
# Number of surface pressure nodes
53
 
p_snloc               1
54
 
 
55
 
# Number of surface spatial nodes
56
 
x_snloc               1
57
 
 
58
 
# Total number of surface elements
59
 
stotel                2
60
 
 
61
 
# Number of coeffs for polynomial representation for EOS
62
 
ncoef                10
63
 
 
64
 
# Number of coeffs for polynomial representation of permeability/absorption
65
 
nuabs_coefs           1
66
 
 
67
 
# Option for element type: Velocity mesh
68
 
u_ele_type            2
69
 
 
70
 
# Option for element type: Pressure mesh
71
 
p_ele_type            2
72
 
 
73
 
# Option for element type: Material mesh
74
 
mat_ele_type          1
75
 
 
76
 
# Option for element type: CV mesh
77
 
cv_ele_type           2
78
 
 
79
 
# Option for element type: CV surface mesh
80
 
cv_sele_type          1
81
 
 
82
 
# Option for element type: Velocity surface mesh
83
 
u_sele_type           1
84
 
 
85
 
# Total number of time dumps
86
 
ntime               160
87
 
 
88
 
# Frequency in which files will be output into *.d.* files
89
 
ntime_dump           20
90
 
 
91
 
# Total number of non-linear iterations
92
 
nits                  3
93
 
 
94
 
# Total number of non-linear iterations - internal loop
95
 
nits_internal         1
96
 
 
97
 
# noit_dim : dimension of the arrays to be defined in later stage 
98
 
# (e.g., Field_error, Field_relax, Field_relax_diag, Field_relax_row
99
 
# and Field_relax_number_iterations, with 
100
 
# Field = volfra, scalar, velocity, global, pressure, mass_matrix)
101
 
noit_dim 5
102
 
 
103
 
# Maximum number of non-linear iterations for scalar field (saturation /
104
 
# volume fraction (nits_flux_lim_volfra) and composition (nits_flux_lim_comp)
105
 
nits_flux_lim_volfra   3 
106
 
nits_flux_lim_comp     3
107
 
 
108
 
# Option for modified CMC color algorithm(/=0), if <0==>ndpset=cv_nonods 
109
 
ndpset                0
110
 
 
111
 
# Time-step size
112
 
dt                    0.3125e-2
113
 
 
114
 
# Reference pressure (not in use)
115
 
patmos                0.
116
 
 
117
 
# Initial pressure (not in use)
118
 
p_ini                 0.
119
 
 
120
 
# Initial temperature (or any scalar field, not in use)
121
 
t_ini                 0.
122
 
 
123
 
# Conservative(1.)/non-conservative(0.) flag for CV discretisation
124
 
t_beta                0.
125
 
 
126
 
# Conservative(1.)/non-conservative(0.) flag for Volfra discretisation
127
 
v_beta                1.
128
 
 
129
 
# Time-stepping discretisation parameter
130
 
t_theta               0.
131
 
 
132
 
# Time-stepping discretisation parameter
133
 
v_theta               1.
134
 
 
135
 
# Time-stepping discretisation parameter (not in use)
136
 
u_theta               1.
137
 
 
138
 
# Disopt: discretisation option in space and time (see cv-adv-dif.f90)
139
 
# = 8: Finite elements in space (Theta = specified;  Limiting: Downwind+)
140
 
t_disopt              1
141
 
 
142
 
# Disopt: discretisation option in space and time (see cv-adv-dif.f90)
143
 
# = 0: 1st order in space (Theta=specified;  Limiting: universal)
144
 
u_disopt              1
145
 
 
146
 
# Disopt: discretisation option in space and time (see cv-adv-dif.f90)
147
 
# = 0: 1st order in space (Theta=specified;  Limiting: universal) - in
148
 
# cv-adv-dif.F90, v_disopt --> cv_disopt
149
 
v_disopt              8
150
 
 
151
 
#  t_dg_vel_int_opt: interface scalar field calculation option between elements
152
 
t_dg_vel_int_opt      0
153
 
 
154
 
#  u_dg_vel_int_opt: interface velocity calculation option between elements
155
 
u_dg_vel_int_opt      4
156
 
 
157
 
#  v_dg_vel_int_opt: interface velocity calculation option between elements
158
 
v_dg_vel_int_opt      4
159
 
 
160
 
#  w_dg_vel_int_opt: interface velocity calculation option between elements
161
 
w_dg_vel_int_opt      0
162
 
 
163
 
# Lump_eqns: Lump multiphase flow equations
164
 
lump_eqns             F
165
 
 
166
 
# For compositional - work out theta-hat for flux
167
 
volfra_get_theta_flux        T
168
 
volfra_use_theta_flux        F
169
 
 
170
 
# Domain length
171
 
domain_length         4.
172
 
 
173
 
# Capillary pressure option (for now we just have option = 1)
174
 
capil_pres_opt        0
175
 
 
176
 
# Polynomial representation for the cappilary pressure - order (length of the matrix)
177
 
ncapil_pres_coef      0
178
 
 
179
 
###
180
 
### end of scalars variables necessary for the arrays read after
181
 
###
182
 
exit    10
183
 
 
184
 
#############################################################################################
185
 
# To assign variables via external Fortran functions: 
186
 
# If value < -1000, then a pre-defined function may be used, i.e., it is necessary
187
 
#                   to assign the corrected dimension to each array, matrix or 
188
 
#                   tensor IN the external function
189
 
# If value == -1000 then a pre-defined function for ARRAYS (thus not necessary 
190
 
#                   to assign dimension to the array as it will be taken automatically from 
191
 
#                   Multiphase_Prototype.F90)
192
 
# If value == -999 then a pre-defined function for 2x2 MATRIX (thus not necessary 
193
 
#                   to assign dimension to the array as it will be taken automatically from 
194
 
#                   Multiphase_Prototype.F90)
195
 
# If value == -998 then a pre-defined function for 3x3 MATRIX (thus not necessary 
196
 
#                   to assign dimension to the array as it will be taken automatically from 
197
 
#                   Multiphase_Prototype.F90)
198
 
# If value == -997 then a pre-defined function for 4x4 MATRIX (thus not necessary 
199
 
#                   to assign dimension to the array as it will be taken automatically from 
200
 
#                   Multiphase_Prototype.F90)
201
 
#############################################################################################
202
 
 
203
 
 
204
 
###
205
 
###  Boundary conditions parameters
206
 
###  
207
 
 
208
 
# wic_vol_bc( stotel * nphase )
209
 
wic_vol_bc   -1000 input_wic_vol_bc_BL1_fcn
210
 
 
211
 
# wic_d_bc( stotel * nphase )
212
 
wic_d_bc    -1000 input_wic_d_bc_BL1_fcn
213
 
 
214
 
# wic_u_bc( stotel * nphase )
215
 
wic_u_bc    -1000 input_wic_vol_bc_BL1_fcn
216
 
 
217
 
# wic_p_bc( stotel * nphase )
218
 
wic_p_bc    -1000 input_wic_p_bc_BL1_fcn
219
 
 
220
 
# wic_t_bc( stotel * nphase )
221
 
wic_t_bc  0   
222
 
 
223
 
# suf_vol_bc( stotel * cv_snloc * nphase )
224
 
suf_vol_bc   -1000  input_suf_vol_bc_BL1_fcn
225
 
 
226
 
# suf_d_bc( stotel * cv_snloc * nphase )
227
 
suf_d_bc    -1000  input_suf_vol_bc_BL1_fcn
228
 
 
229
 
# suf_cpd_bc( stotel * cv_snloc * nphase )
230
 
suf_cpd_bc    0.
231
 
 
232
 
# suf_t_bc( stotel * cv_snloc * nphase )
233
 
suf_t_bc   -1000 input_suf_t_bc_BL1_fcn
234
 
 
235
 
# suf_p_bc ( stotel * p_snloc * nphase )
236
 
suf_p_bc       0.
237
 
 
238
 
# suf_u_bc( stotel * u_snloc * nphase )
239
 
suf_u_bc      -1000  input_suf_vol_bc_BL1_fcn
240
 
 
241
 
# suf_v_bc( stotel * u_snloc * nphase )
242
 
suf_v_bc       0.
243
 
  
244
 
# suf_w_bc( stotel * u_snloc * nphase )
245
 
suf_w_bc       0.
246
 
  
247
 
# suf_one_bc( stotel * cv_snloc * nphase )
248
 
suf_one_bc    0.
249
 
 
250
 
# suf_u_bc_rob1( stotel * u_snloc * nphase )
251
 
suf_u_bc_rob1  0.
252
 
 
253
 
# suf_u_bc_rob2( stotel * u_snloc * nphase )
254
 
suf_u_bc_rob2  0.
255
 
 
256
 
# suf_v_bc_rob1( stotel * u_snloc * nphase )
257
 
suf_v_bc_rob1  0.
258
 
 
259
 
# suf_v_bc_rob2( stotel * u_snloc * nphase )
260
 
suf_v_bc_rob2  0.
261
 
 
262
 
# suf_w_bc_rob1( stotel * u_snloc * nphase )
263
 
suf_w_bc_rob1  0.
264
 
 
265
 
# suf_w_bc_rob2( stotel * u_snloc * nphase )
266
 
suf_w_bc_rob2  0.
267
 
 
268
 
# suf_t_bc_rob1( stotel * cv_snloc * nphase )
269
 
suf_t_bc_rob1  0.
270
 
  
271
 
# suf_t_bc_rob2( stotel * cv_snloc * nphase )
272
 
suf_t_bc_rob1  0.
273
 
  
274
 
 
275
 
###
276
 
### Some solvers options -- scalars to be allocated as real arrays 
277
 
### sat_error_relax2_noit, t_error_relax2_noit, gl_error_relax2_noit,
278
 
### u_error_relax2_noit, p_error_relax2_noit and mass_error_relax2_noit
279
 
### with length noit_dim. 
280
 
### All components of the arrays need to be defined as there is NO default
281
 
### value. Components are:
282
 
### (a) Field_error: error associated with Field interations;
283
 
### (b) Field_relax: overall relaxation coefficient associated with Field interations;
284
 
### (c) Field_relax_diag: relaxation coefficient for the diagonal matrix associated with Field interations;
285
 
### (d) Field_relax_row: relaxation coefficient for the sum of the row of the matrix associated with Field interations;
286
 
### (e) Field_relax_number_iterations: maximum number of linear iterations associated with Field interations; 
287
 
### Field: volfra, scalar, velocity, global, pressure, mass_matrix
288
 
###
289
 
 
290
 
# For Volfra (i.e., saturation):
291
 
volfra_error                      1.e-10
292
 
volfra_relax                      1.
293
 
volfra_relax_diag                 0.
294
 
volfra_relax_row                  1.
295
 
volfra_relax_number_iterations    200
296
 
 
297
 
# For Scalar (i.e., T):
298
 
scalar_error                      1.e-10
299
 
scalar_relax                      1.
300
 
scalar_relax_diag                 0.
301
 
scalar_relax_row                  1.
302
 
scalar_relax_number_iterations    400
303
 
 
304
 
# For Global:
305
 
global_error                      1.e-10
306
 
global_relax                      1.
307
 
global_relax_diag                 0.
308
 
global_relax_row                  1.
309
 
global_relax_number_iterations    200
310
 
 
311
 
# For Velocity:
312
 
velocity_error                      1.e-10
313
 
velocity_relax                      1.
314
 
velocity_relax_diag                 0.
315
 
velocity_relax_row                  1.
316
 
velocity_relax_number_iterations    200
317
 
 
318
 
# For Pressure:
319
 
pressure_error                      1.e-10
320
 
pressure_relax                      1.
321
 
pressure_relax_diag                 0.
322
 
pressure_relax_row                  1.
323
 
pressure_relax_number_iterations    8000
324
 
 
325
 
# For Mass Matrix:
326
 
mass_matrix_error                      1.e-10
327
 
mass_matrix_relax                      1.
328
 
mass_matrix_relax_diag                 0.
329
 
mass_matrix_relax_row                  1.
330
 
mass_matrix_relax_number_iterations    200
331
 
 
332
 
###
333
 
### Options for upwind discretisation scheme:
334
 
### in_ele_upwind: coefficient for upwind inside the element
335
 
### dg_ele_upwind: coefficient for upwind between elements
336
 
### = 1: full upwind; = 2: 80% upwind; = 3: optimal;
337
 
### = 4: central difference (more diffusive)
338
 
###
339
 
in_ele_upwind    3
340
 
dg_ele_upwind    3
341
 
 
342
 
###
343
 
### Spatial, grid and velocity parameters
344
 
###
345
 
# x( x_nonods )
346
 
x    0.
347
 
 
348
 
# y( x_nonods )
349
 
y    0.
350
 
 
351
 
# z( x_nonods )
352
 
z    0.
353
 
 
354
 
# xu( xu_nonods )
355
 
xu    0.
356
 
 
357
 
# yu( xu_nonods )
358
 
yu    0.
359
 
 
360
 
# zu( xu_nonods )
361
 
zu    0.
362
 
 
363
 
# nu( u_nonods * nphase )
364
 
nu    1.
365
 
 
366
 
# nv( u_nonods * nphase )
367
 
nv    0.
368
 
 
369
 
# nw( u_nonods * nphase )
370
 
nw    0.
371
 
 
372
 
# ug( u_nonods * nphase )
373
 
ug    0.
374
 
 
375
 
# vg( u_nonods * nphase )
376
 
vg    0.
377
 
 
378
 
# wg( u_nonods * nphase )
379
 
wg    0.
380
 
 
381
 
# u ( u_pha_nonods )
382
 
u    0.
383
 
 
384
 
# v ( u_pha_nonods )
385
 
v    0.
386
 
 
387
 
# w ( u_pha_nonods )
388
 
w     0.
389
 
 
390
 
###
391
 
### Absorption and Source terms (include options for 
392
 
### permeabilities)
393
 
###
394
 
 
395
 
# uabs_option( nphase )
396
 
uabs_option  3
397
 
 
398
 
# uabs_coefs( nphase, nuabs_coefs )
399
 
uabs_coefs   1.
400
 
 
401
 
# u_abs_stab ( mat_nonods, ndim * nphase, ndim * nphase )
402
 
u_abs_stab    0.
403
 
 
404
 
# u_absorb ( mat_nonods, ndim * nphase, ndim * nphase )
405
 
u_absorb   0.
406
 
 
407
 
# t_absorb ( cv_pha_nonods, nphase, nphase )
408
 
t_absorb    0.
409
 
 
410
 
# v_absorb ( cv_pha_nonods, nphase, nphase )
411
 
v_absorb  0.
412
 
 
413
 
# u_source( u_pha_nonods )
414
 
#u_source  0.
415
 
u_source  -1000 input_usource_BL1_func
416
 
 
417
 
# t_source( cv_pha_nonods )
418
 
t_source   0.
419
 
 
420
 
# v_source( cv_pha_nonods )
421
 
v_source   0.
422
 
 
423
 
# perm ( totele, ndim, ndim )
424
 
perm      -998   input_perm_BL1_func
425
 
 
426
 
# Mobility
427
 
Mobility       10.
428
 
 
429
 
# Viscosity ( cv_nonods * nphase )
430
 
Viscosity       1.
431
 
 
432
 
###
433
 
### Diffusion terms
434
 
###
435
 
 
436
 
#  udiffusion( mat_nonods, ndim, ndim, nphase )
437
 
udiffusion   0.
438
 
 
439
 
#  tdiffusion( mat_nonods, ndim, ndim, nphase )
440
 
tdiffusion   0.
441
 
 
442
 
###
443
 
### Scalar fields and pressures
444
 
###
445
 
 
446
 
# satura ( cv_pha_nonods )
447
 
satura   -1000  input_satura_BL1_func
448
 
 
449
 
# volfra ( cv_pha_nonods )
450
 
volfra    0.
451
 
 
452
 
# t ( cv_pha_nonods )
453
 
t    0.
454
 
 
455
 
# cv_one( cv_pha_nonods )
456
 
cv_one    0.
457
 
 
458
 
# p ( cv_nonods )
459
 
p     0.
460
 
 
461
 
# cv_p (cv_nonods )
462
 
cv_p    0.
463
 
 
464
 
# Capillary pressure coefficients (for the polynomial representation)
465
 
capil_pres_coef     0
466
 
 
467
 
###
468
 
### Densities, Equations of State and Compositional parameterisations
469
 
###
470
 
 
471
 
# den ( cv_pha_nonods )
472
 
den    1.
473
 
 
474
 
# volfra_pore ( totele )
475
 
volfra_pore   .5
476
 
 
477
 
# eos_option( nphase )
478
 
eos_option   2
479
 
 
480
 
# eos_coefs( nphase, ncoef )
481
 
eos_coefs   -999  input_eos_coef_BL1_func
482
 
 
483
 
# cp_option( nphase )
484
 
cp_option   0
485
 
 
486
 
# cp_coefs( nphase, ncp_coefs )
487
 
cp_coefs   1.
488
 
 
489
 
# end of the input file
490
 
exit  10
491
 
 
492