|
26 | 26 | model.root.input.model.unit_001.col_porosity = 0.37 # - |
27 | 27 | model.root.input.model.unit_001.par_porosity = 0.33 # - |
28 | 28 | model.root.input.model.unit_001.par_radius = 1e-6 # m |
29 | | - |
30 | | -## Transport |
| 29 | + |
| 30 | +## Bulk transport |
31 | 31 | model.root.input.model.unit_001.col_dispersion = 1e-8 # m^2 / s (interstitial volume) |
32 | | -model.root.input.model.unit_001.film_diffusion = [1e-5] # m / s |
33 | | -model.root.input.model.unit_001.par_diffusion = [1e-10,] # m^2 / s (mobile phase) |
34 | | -model.root.input.model.unit_001.par_surfdiffusion = [0.0,] # m^2 / s (solid phase) |
| 32 | + |
| 33 | +## Particle transport |
| 34 | +model.root.input.model.unit_001.particle_type_000.film_diffusion = [1e-5] # m / s |
| 35 | +model.root.input.model.unit_001.particle_type_000.par_diffusion = [1e-10,] # m^2 / s (mobile phase) |
| 36 | +model.root.input.model.unit_001.particle_type_000.par_surfdiffusion = [0.0,] # m^2 / s (solid phase) |
35 | 37 |
|
36 | 38 | ## Adsorption |
37 | | -model.root.input.model.unit_001.adsorption_model = 'MULTI_COMPONENT_LANGMUIR' |
38 | | -model.root.input.model.unit_001.nbound = [1] |
39 | | -model.root.input.model.unit_001.adsorption.is_kinetic = True # Kinetic binding |
40 | | -model.root.input.model.unit_001.adsorption.mcl_ka = [1.0,] # m^3 / (mol * s) (mobile phase) |
41 | | -model.root.input.model.unit_001.adsorption.mcl_kd = [1.0,] # 1 / s (desorption) |
42 | | -model.root.input.model.unit_001.adsorption.mcl_qmax = [100.0,] # mol / m^3 (solid phase) |
| 39 | +model.root.input.model.unit_001.particle_type_000.adsorption_model = 'MULTI_COMPONENT_LANGMUIR' |
| 40 | +model.root.input.model.unit_001.particle_type_000.nbound = [1] |
| 41 | +model.root.input.model.unit_001.particle_type_000.adsorption.is_kinetic = True # Kinetic binding |
| 42 | +model.root.input.model.unit_001.particle_type_000.adsorption.mcl_ka = [1.0,] # m^3 / (mol * s) (mobile phase) |
| 43 | +model.root.input.model.unit_001.particle_type_000.adsorption.mcl_kd = [1.0,] # 1 / s (desorption) |
| 44 | +model.root.input.model.unit_001.particle_type_000.adsorption.mcl_qmax = [100.0,] # mol / m^3 (solid phase) |
43 | 45 |
|
44 | 46 | ## Initial conditions |
45 | 47 | model.root.input.model.unit_001.init_c = [0.0,] |
46 | | -model.root.input.model.unit_001.INIT_CS = [0.0,] |
| 48 | +model.root.input.model.unit_001.particle_type_000.init_cp = [0.0,] |
| 49 | +model.root.input.model.unit_001.particle_type_000.init_cs = [0.0,] |
47 | 50 |
|
48 | 51 | ## Discretization |
49 | 52 | ### Grid cells |
50 | | -model.root.input.model.unit_001.discretization.spatial_method = "FV" |
51 | | -model.root.input.model.unit_001.discretization.ncol = 20 |
52 | | -model.root.input.model.unit_001.discretization.npar = 5 |
53 | | - |
| 53 | +model.root.input.model.unit_001.discretization.spatial_method = "DG" # "FV" recommended for strong gradients, where DG might oscillate |
| 54 | +model.root.input.model.unit_001.discretization.polydeg = 3 # recommended to be increased up to 5 if higher resolution is desired for smooth solutions |
| 55 | +model.root.input.model.unit_001.discretization.nelem = 3 # recommended to be increased if higher resolution is desired |
| 56 | +model.root.input.model.unit_001.particle_type_000.discretization.spatial_method = "DG" |
| 57 | +model.root.input.model.unit_001.particle_type_000.discretization.par_polydeg = 3 # recommended to be increased if higher resolution is desired |
| 58 | +model.root.input.model.unit_001.particle_type_000.discretization.par_nelem = 1 # recommended to stay fixed at 1 except for targeted resolution of particle (ie user defined par_disc_type) |
54 | 59 | ### Other options |
55 | | -model.root.input.model.unit_001.discretization.par_disc_type = 'EQUIDISTANT' |
| 60 | +model.root.input.model.unit_001.discretization.particle_type_000.par_disc_type = 'EQUIDISTANT' |
56 | 61 | model.root.input.model.unit_001.discretization.use_analytic_jacobian = 1 |
57 | | -model.root.input.model.unit_001.discretization.reconstruction = 'WENO' |
58 | | -model.root.input.model.unit_001.discretization.gs_type = 1 |
59 | | -model.root.input.model.unit_001.discretization.max_krylov = 0 |
60 | | -model.root.input.model.unit_001.discretization.max_restarts = 10 |
61 | | -model.root.input.model.unit_001.discretization.schur_safety = 1.0e-8 |
62 | | - |
63 | | -model.root.input.model.unit_001.discretization.weno.boundary_model = 0 |
64 | | -model.root.input.model.unit_001.discretization.weno.weno_eps = 1e-10 |
65 | | -model.root.input.model.unit_001.discretization.weno.weno_order = 3 |
66 | 62 |
|
67 | 63 | ## Outlet |
68 | 64 | model.root.input.model.unit_002.unit_type = 'OUTLET' |
|
0 commit comments