Skip to content

Commit 08e5157

Browse files
committed
Rename fields to PORE_DIFFUSION and SURFACE_DIFFUSION
1 parent 2944c36 commit 08e5157

32 files changed

+190
-190
lines changed

doc/developer_guide/examples/breakthrough.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
## Particle transport
3434
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+
model.root.input.model.unit_001.particle_type_000.pore_diffusion = [1e-10,] # m^2 / s (mobile phase)
36+
model.root.input.model.unit_001.particle_type_000.surface_diffusion = [0.0,] # m^2 / s (solid phase)
3737

3838
## Adsorption
3939
model.root.input.model.unit_001.particle_type_000.adsorption_model = 'MULTI_COMPONENT_LANGMUIR'

doc/interface/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Note that all components of component dependent datasets have to be section depe
131131
* - FILM_DIFFUSION
132132
- ✓
133133
- ✓
134-
* - PAR_DIFFUSION
134+
* - PORE_DIFFUSION
135135
- ✓
136136
- ✓
137137
* - PAR_SURDIFFUSION

doc/interface/parameter_dependencies.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Currently, the dependence of surface diffusion on the particle liquid salt compo
7878
Group /input/model/unit_XXX
7979
---------------------------
8080

81-
``PAR_SURFDIFFUSION_DEP``
81+
``SURFACE_DIFFUSION_DEP``
8282

83-
Parameter dependence of :math:`\texttt{PAR_SURFDIFFUSION}` on the particle liquid salt component (i.e. component with index 0). Valid dependencies are:
83+
Parameter dependence of :math:`\texttt{SURFACE_DIFFUSION}` on the particle liquid salt component (i.e. component with index 0). Valid dependencies are:
8484

8585
- :math:`\texttt{NONE}` Original parameter is used unmodified.
8686
- :math:`\texttt{LIQUID_SALT_EXPONENTIAL}` Original parameter is modified by exponential law of liquid phase salt concentration.
@@ -93,87 +93,87 @@ Group /input/model/unit_XXX
9393
**Type:** string **Length:** :math:`1 / \texttt{NPARTYPE}`
9494
================ =========================================
9595

96-
``PAR_SURFDIFFUSION_EXPFACTOR``
96+
``SURFACE_DIFFUSION_EXPFACTOR``
9797

9898
Factor :math:`\texttt{p1}` in exponential law particle surface diffusion relation
9999
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} p_{1, i, m} exp \left(p_{2, i, m} c_{0}^{p} \right)`, where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient.
100-
Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_EXPONENTIAL}`.
100+
Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_EXPONENTIAL}`.
101101

102102
================ ========================= ===================================
103103
**Type:** double **Range:** :math:`\geq 0` **Length:** :math:`\texttt{NBOUND}`
104104
================ ========================= ===================================
105105

106-
``PAR_SURFDIFFUSION_EXPFACTOR``
106+
``SURFACE_DIFFUSION_EXPFACTOR``
107107
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} \left[ p_{4, i, m} \left( k_{i, m} \left( c_{0}^{p} \right) \right)^{p_{5, i, m}} p_{6, i, m} exp \left( p_{7, i, m} k_{i, m} \left( c_{0}^{p} \right) \right) \right]`
108108
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient and
109109
:math:`k_{i, m} \left( c_{0}^{p} \right) = p_{1, i, m}\left( c_{0}^{p} \right)^{p_{2, i, m}} + p_{3, i, m}`.
110-
Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
110+
Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
111111

112112
================ ============================= ===================================
113113
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`
114114
================ ============================= ===================================
115115

116-
``PAR_SURFDIFFUSION_EXPARGMULT``
116+
``SURFACE_DIFFUSION_EXPARGMULT``
117117

118118
Factor :math:`\texttt{p2}` in exponential law particle surface diffusion relation
119119
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} p_{1, i, m} exp \left(p_{2, i, m} c_{0}^{p} \right)`
120-
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_EXPONENTIAL}`.
120+
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_EXPONENTIAL}`.
121121

122122
================ ============================= ===================================
123123
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`
124124
================ ============================= ===================================
125125

126-
``PAR_SURFDIFFUSION_POWFACTOR``
126+
``SURFACE_DIFFUSION_POWFACTOR``
127127

128128
Factor :math:`\texttt{p1}` in power law particle surface diffusion relation
129129
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} p_{1, i, m} \left( c_{0}^{p} \right)^{p_{2, i, m}}`
130-
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_POWER}`.
130+
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_POWER}`.
131131

132132
================ ========================= ===================================
133133
**Type:** double **Range:** :math:`\geq 0` **Length:** :math:`\texttt{NBOUND}`
134134
================ ========================= ===================================
135135

136-
``PAR_SURFDIFFUSION_POWEXP``
136+
``SURFACE_DIFFUSION_POWEXP``
137137

138138
Fjactor :math:`\texttt{p2}` in power law particle surface diffusion relation
139139
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} p_{1, i, m} \left( c_{0}^{p} \right)^{p_{2, i, m}}`
140-
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_POWER}`.
140+
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient. Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_POWER}`.
141141

142142
================ ============================= ===================================
143143
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`
144144
================ ============================= ===================================
145145

146-
``PAR_SURFDIFFUSION_LOGKEQFACTOR``
146+
``SURFACE_DIFFUSION_LOGKEQFACTOR``
147147

148148
Factor :math:`\texttt{p1}` in colloidal affinity law particle surface diffusion relation
149149
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} \left[ p_{4, i, m} \left( k_{i, m} \left( c_{0}^{p} \right) \right)^{p_{5, i, m}} p_{6, i, m} exp \left( p_{7, i, m} k_{i, m} \left( c_{0}^{p} \right) \right) \right]`
150150
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient and
151151
:math:`k_{i, m} \left( c_{0}^{p} \right) = p_{1, i, m}\left( c_{0}^{p} \right)^{p_{2, i, m}} + p_{3, i, m}`.
152-
Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
152+
Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
153153

154154
================ ============================= ===================================
155155
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`
156156
================ ============================= ===================================
157157

158-
``PAR_SURFDIFFUSION_LOGKEQEXP``
158+
``SURFACE_DIFFUSION_LOGKEQEXP``
159159

160160
Factor :math:`\texttt{p2}` in colloidal affinity law particle surface diffusion relation
161161
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} \left[ p_{4, i, m} \left( k_{i, m} \left( c_{0}^{p} \right) \right)^{p_{5, i, m}} p_{6, i, m} exp \left( p_{7, i, m} k_{i, m} \left( c_{0}^{p} \right) \right) \right]`
162162
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient and
163163
:math:`k_{i, m} \left( c_{0}^{p} \right) = p_{1, i, m}\left( c_{0}^{p} \right)^{p_{2, i, m}} + p_{3, i, m}`.
164-
Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
164+
Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
165165

166166
================ ============================= ===================================
167167
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`
168168
================ ============================= ===================================
169169

170-
``PAR_SURFDIFFUSION_LOGKEQCONST``
170+
``SURFACE_DIFFUSION_LOGKEQCONST``
171171

172172
Factor :math:`\texttt{p3}` in colloidal affinity law particle surface diffusion relation
173173
:math:`D_{s, i, m} = \tilde{D}_{s, i, m} \left[ p_{4, i, m} \left( k_{i, m} \left( c_{0}^{p} \right) \right)^{p_{5, i, m}} p_{6, i, m} exp \left( p_{7, i, m} k_{i, m} \left( c_{0}^{p} \right) \right) \right]`
174174
where :math:`\tilde{D}_{s, i, m}` is the original surface diffusion coefficient and
175175
:math:`k_{i, m} \left( c_{0}^{p} \right) = p_{1, i, m}\left( c_{0}^{p} \right)^{p_{2, i, m}} + p_{3, i, m}`.
176-
Only required if :math:`\texttt{PAR_SURFDIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
176+
Only required if :math:`\texttt{SURFACE_DIFFUSION_DEP}` is :math:`\texttt{LIQUID_SALT_COLLOIDAL_AFFINITY}`.
177177

178178
================ ============================= ===================================
179179
**Type:** double **Range:** :math:`\mathbb{R}` **Length:** :math:`\texttt{NBOUND}`

doc/interface/sensitivities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Group /input/sensitivity/param_XXX
5555

5656
``SENS_PARTYPE``
5757

58-
Particle type index (:math:`-1` if parameter is independent of particle types, see the multiplexing of the corresponding parameter, e.g. `PAR_DIFFUSION_MULTIPLEX`)
58+
Particle type index (:math:`-1` if parameter is independent of particle types, see the multiplexing of the corresponding parameter, e.g. `PORE_DIFFUSION_MULTIPLEX`)
5959

6060
============= ========================== ===========================
6161
**Type:** int **Range:** :math:`\geq -1` **Length:** :math:`\geq 1`

doc/interface/unit_operations/2d_general_rate_model.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -278,47 +278,47 @@ For information on model equations, refer to :ref:`2d_general_rate_model_model`.
278278
**Type:** int **Range:** :math:`\{0, \dots, 3 \}` **Length:** 1
279279
============= =================================== =============
280280

281-
``PAR_DIFFUSION``
281+
``PORE_DIFFUSION``
282282

283283
Effective particle diffusion coefficients of each component in each particle type
284284

285285
**Unit:** :math:`\mathrm{m}_{\mathrm{MP}}^{2}\,\mathrm{s}^{-1}`
286286

287287
================ ====================== ========================================================
288-
**Type:** double **Range:** :math:`> 0` **Length:** see :math:`\texttt{PAR_DIFFUSION_MULTIPLEX}`
288+
**Type:** double **Range:** :math:`> 0` **Length:** see :math:`\texttt{PORE_DIFFUSION_MULTIPLEX}`
289289
================ ====================== ========================================================
290290

291-
``PAR_DIFFUSION_MULTIPLEX``
291+
``PORE_DIFFUSION_MULTIPLEX``
292292

293-
Multiplexing mode of :math:`\texttt{PAR_DIFFUSION}`. Determines whether :math:`\texttt{PAR_DIFFUSION}` is treated as component-, type-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of :math:`\texttt{PAR_DIFFUSION}`. Valid modes are:
293+
Multiplexing mode of :math:`\texttt{PORE_DIFFUSION}`. Determines whether :math:`\texttt{PORE_DIFFUSION}` is treated as component-, type-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of :math:`\texttt{PORE_DIFFUSION}`. Valid modes are:
294294

295-
0. Component-dependent, type-independent, section-independent; length of :math:`\texttt{PAR_DIFFUSION}` is :math:`\texttt{NCOMP}`
296-
1. Component-dependent, type-independent, section-dependent; length of :math:`\texttt{PAR_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NSEC}`; ordering is section-major
297-
2. Component-dependent, type-dependent, section-independent; length of :math:`\texttt{PAR_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NPARTYPE}`; ordering is type-major
298-
3. Component-dependent, type-dependent, section-dependent; length of :math:`\texttt{PAR_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NPARTYPE} \cdot \texttt{NSEC}`; ordering is section-type-major
295+
0. Component-dependent, type-independent, section-independent; length of :math:`\texttt{PORE_DIFFUSION}` is :math:`\texttt{NCOMP}`
296+
1. Component-dependent, type-independent, section-dependent; length of :math:`\texttt{PORE_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NSEC}`; ordering is section-major
297+
2. Component-dependent, type-dependent, section-independent; length of :math:`\texttt{PORE_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NPARTYPE}`; ordering is type-major
298+
3. Component-dependent, type-dependent, section-dependent; length of :math:`\texttt{PORE_DIFFUSION}` is :math:`\texttt{NCOMP} \cdot \texttt{NPARTYPE} \cdot \texttt{NSEC}`; ordering is section-type-major
299299

300300
============= =================================== =============
301301
**Type:** int **Range:** :math:`\{0, \dots, 3 \}` **Length:** 1
302302
============= =================================== =============
303303

304-
``PAR_SURFDIFFUSION``
304+
``SURFACE_DIFFUSION``
305305

306306
Particle surface diffusion coefficients of each bound state of each component in each particle type (optional, defaults to all :math:`0~m_{SP}^2 s^{-1}`)
307307

308308
**Unit:** :math:`\mathrm{m}_{\mathrm{SP}}^{2}\,\mathrm{s}^{-1}`
309309

310310
================ ========================= ============================================================
311-
**Type:** double **Range:** :math:`\geq 0` **Length:** see :math:`\texttt{PAR_SURFDIFFUSION_MULTIPLEX}`
311+
**Type:** double **Range:** :math:`\geq 0` **Length:** see :math:`\texttt{SURFACE_DIFFUSION_MULTIPLEX}`
312312
================ ========================= ============================================================
313313

314-
``PAR_SURFDIFFUSION_MULTIPLEX``
314+
``SURFACE_DIFFUSION_MULTIPLEX``
315315

316-
Multiplexing mode of :math:`\texttt{PAR_SURFDIFFUSION}`. Determines whether :math:`\texttt{PAR_SURFDIFFUSION}` is treated as component-, type-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of :math:`\texttt{PAR_SURFDIFFUSION}`. Valid modes are:
316+
Multiplexing mode of :math:`\texttt{SURFACE_DIFFUSION}`. Determines whether :math:`\texttt{SURFACE_DIFFUSION}` is treated as component-, type-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of :math:`\texttt{SURFACE_DIFFUSION}`. Valid modes are:
317317

318-
0. Component-dependent, type-independent, section-independent; length of :math:`\texttt{PAR_SURFDIFFUSION}` is :math:`\texttt{NBND}`; ordering is component-major
319-
1. Component-dependent, type-independent, section-dependent; length of :math:`\texttt{PAR_SURFDIFFUSION}` is :math:`\texttt{NBND} \cdot \texttt{NSEC}`; ordering is section-component-major
320-
2. Component-dependent, type-dependent, section-independent; length of :math:`\texttt{PAR_SURFDIFFUSION}` is :math:`\texttt{NTOTALBND}`; ordering is type-component-major
321-
3. Component-dependent, type-dependent, section-dependent; length of :math:`\texttt{PAR_SURFDIFFUSION}` is :math:`\texttt{NTOTALBND} \cdot \texttt{NSEC}`; ordering is section-type-component-major
318+
0. Component-dependent, type-independent, section-independent; length of :math:`\texttt{SURFACE_DIFFUSION}` is :math:`\texttt{NBND}`; ordering is component-major
319+
1. Component-dependent, type-independent, section-dependent; length of :math:`\texttt{SURFACE_DIFFUSION}` is :math:`\texttt{NBND} \cdot \texttt{NSEC}`; ordering is section-component-major
320+
2. Component-dependent, type-dependent, section-independent; length of :math:`\texttt{SURFACE_DIFFUSION}` is :math:`\texttt{NTOTALBND}`; ordering is type-component-major
321+
3. Component-dependent, type-dependent, section-dependent; length of :math:`\texttt{SURFACE_DIFFUSION}` is :math:`\texttt{NTOTALBND} \cdot \texttt{NSEC}`; ordering is section-type-component-major
322322

323323
============= =================================== =============
324324
**Type:** int **Range:** :math:`\{0, \dots, 3 \}` **Length:** 1

0 commit comments

Comments
 (0)