Abstract
It is generally accepted that the gastric mucus layer provides a protective barrier between the lumen and the mucosa, shielding the mucosa from acid and digestive enzymes and preventing autodigestion of the stomach epithelium. However, the precise mechanisms that contribute to this protective function are still up for debate. In particular, it is not clear what physical processes are responsible for transporting hydrogen protons, secreted within the gastric pits, across the mucus layer to the lumen without acidifying the environment adjacent to the epithelium. One hypothesis is that hydrogen may be bound to the mucin polymers themselves as they are convected away from the mucosal surface and eventually degraded in the stomach lumen. It is also not clear what mechanisms prevent hydrogen from diffusing back toward the mucosal surface, thereby lowering the local pH. In this work we investigate a physics-based model of ion transport within the mucosal layer based on a Nernst-Planck-like equation. Analysis of this model shows that the mechanism of transporting protons bound to the mucus gel is capable of reproducing the trans-mucus pH gradients reported in the literature. Furthermore, when coupled with ion exchange at the epithelial surface, our analysis shows that bicarbonate secretion alone is capable of neutralizing the epithelial pH, even in the face of enormous diffusive gradients of hydrogen. Maintenance of the pH gradient is found to be robust to a wide array of perturbations in both physiological and phenomenological model parameters, suggesting a robust physiological control mechanism.
NEW & NOTEWORTHY This work combines modeling techniques based on physical principles, as well as novel numerical simulations to test the plausibility of one hypothesized mechanism for proton transport across the gastric mucus layer. Results show that this mechanism is able to maintain the extreme pH gradient seen in in vivo experiments and suggests a highly robust regulation mechanism to maintain this gradient in the face of dynamic lumen composition.
Keywords: bicarbonate buffering, gastric mucus, ion exchange, mathematical model, pH gradient
INTRODUCTION
It is generally accepted that the gastric mucus layer provides a protective barrier between the stomach lumen and the mucosa, shielding the mucosa from acid and digestive enzymes and preventing autodigestion of the stomach epithelium. However, the precise mechanisms that contribute to this protective function have long been a source of debate, and there are numerous unanswered questions regarding the prevention of epithelial injury due to the luminal environment. The most direct evidence of the role of gastric mucus in mucosal protection is the existence of a large pH gradient across the mucus layer. The pH of the stomach lumen is a dynamic quantity, changing as food is ingested and in response to a variety of other factors (26). Regardless, the lumen is consistently an acidic environment, often exhibiting a pH of 2 or lower (4). Decades ago, it was demonstrated that whereas the pH in the lumen is highly acidic, the ambient pH at the base of the mucus layer, immediately adjacent to the epithelium, is almost neutral (4, 30). This indicates a change in hydrogen concentration of 5 orders of magnitude or more. Because the thickness of the mucus layer is generally on the scale of hundreds of microns, these measurements imply that the gradient of proton concentration is enormous. At this point it is still an open question how hydrogen ions, which are produced underneath the mucus layer in the gastric glands, are transported to the lumen without acidifying the environment adjacent to the epithelium. Furthermore, it is not clear why hydrogen does not readily diffuse back to the epithelium from the stomach lumen, acidifying the environment of the epithelium.
One hypothesis for how hydrogen transport is accomplished was put forth by Schreiber and Scheid (25). A series of titration experiments using purified and whole guinea pig gastric mucus showed that at a critical pH, whole mucus released a “burst” of hydrogen. Conversely, purified guinea pig mucus and mucus treated with pepstatin (to inhibit the function of pepsin) did not exhibit this release of hydrogen regardless of ambient pH. The resulting conclusion is that the released hydrogen must have been sequestered somewhere within the whole mucus sample, and released by the pH-dependent activation/action of pepsin. Based on these experiments, the authors hypothesized that hydrogen secreted in the gastric pit is sequestered on the gastric mucin polymers themselves. Upon reaching a critical pH threshold, pepsinogen is activated into pepsin, and begins degrading mucin polymers, thereby destroying their capacity to sequester hydrogen and releasing it into the environment.
The hypothesis of Schreiber and Scheid (25) has yet to be corroborated, and indeed there are competing thoughts as to the process by which hydrogen is transported to the luminal side of the mucus layer. Several studies have observed acidic “channels” within the mucus layer, suggesting that localized flows of proton-rich fluid transport hydrogen through the mucus. Other studies have failed to observe these channels (7, 15, 16). As yet, no consensus has been reached, and it is unclear how to experimentally determine the validity of either hypothesized mechanism. For this reason, the topic is a prime candidate for exploration via a mathematical model. Early modeling work showed that bicarbonate secretion at the epithelial wall was capable of neutralizing the mucosal surface, when considering species diffusing according to Fick’s law. However, according to that model, the secretion of bicarbonate would need to be an order of magnitude greater than hydrogen secretion to achieve neutralization (11). More recent investigations have suggested that bicarbonate secretion on the same scale as hydrogen secretion may be sufficient (19). However, we know of no modeling effort that accounts for both the chemistry of bicarbonate buffering and the electrodiffusive nature of hydrogen ions, nor how these physical processes in the stomach interact with secretion at the mucosal wall.
The main goal of this work is to develop and analyze a mathematical model of the physics of ion transport within the gastric mucus layer under the assumption that the hypothesis of Schreiber and Scheid (25) is correct. It is found that such a model can account for the massive pH gradient observed in vivo. Additionally, we find that the physical system is robust to perturbations in both phenomenological modeling parameters, as well as physiological parameters. In total, our model indicates that the hypothesis of Schreiber and Scheid (25) is physically consistent with pH measurements reported in the literature, and suggests an extremely robust mechanism with which to maintain physiologically relevant pH profiles within the gastric mucus layer.
MATHEMATICAL MODEL
To mathematically represent the gastric mucus layer, we utilize a “two-phase gel” framework (27). In this framework, at each point in space there may simultaneously exist two materials: the “gel” (meant to represent the cross-linked mucin polymer network), and the “solvent” (meant to represent the interstitial hydrating fluid). The local composition of the resulting complex material is described by the dimensionless quantities θg and θs which represent the “volume fraction” of network and solvent, respectively (i.e., the fraction of local volume which is made up of each phase). Together, the two phases must fill space, and therefore θg + θs = 1. Generically, in two-phase models θg and θs may have spatial and temporal dependence, but in this work they are constant in time and their spatial profiles imposed (discussed more below).
The quantities of interest in our model are the concentration of four ionic species. Specifically, we are interested in concentrations defined as moles per volume of solvent, not moles per total volume (a technical, but important distinction). Hydrogen and bicarbonate are explicitly tracked by CH and CB, both with units of molar. All other cations and anions are represented by CI and CA, respectively, measured in units of equivalents per liter (which we denote M for notational convenience throughout this work). For simplicity, we analyze a model in one spatial dimension. The spatial variable x measures distance from the epithelial wall of the stomach toward the lumen, and thus the location x = 0 corresponds to the epithelial surface. The evolution of the concentration of ionic species is governed by a Nernst-Planck-type equation, which describes the flux of ions due to advection, diffusion, and the electric potential gradient, as well as any reactions and sources that impact ionic concentration. A careful derivation (see 27) of the transport law for ionic species in a two-phase mixture results in the following equation:
| (1) |
Here, the index i may take the values i = H,B,A,I for hydrogen, bicarbonate, anions, and cations, respectively. Terms I, II, and III represent changes in ionic concentration due to advective, diffusive, and electric fluxes respectively. Term IV represents any reactions and/or sources which impact the concentration of species i. The variable u is the velocity of the fluid solvent (in cm/s) which results from secretion of fluid at the stomach wall. Although Eq. 1 is valid for velocities that vary in space and time, we assume that u does not vary in time. The parameter Di is the diffusion coefficient of species i (with units of cm2/s), zi is the valence of the ith ionic species (±1), and Ψ denotes the nondimensional electric potential (which may be converted to voltage by multiplying by RT/F, where R is the ideal gas constant, T is absolute temperature, and F is the Faraday constant). Note that Eq. 1 is similar to a standard Nernst-Planck transport equation with the exception of two appearances of θs on the righthand side. These terms account for the fact that the ionic species are transported within the solvent phase of a mixture whose composition may have spatiotemporal variations.
The electric potential Ψ does not have its own equation of state. Rather, it is determined by enforcing an electroneutrality constraint. Ionic concentration variations are not allowed to result in a collection of net charge at any location within the domain. Mathematically this physical constraint is expressed as
| (2) |
A detailed derivation of this modeling framework can be found in Ref. 27.
For the purposes of this work, we imagine that gastric mucus is constantly produced at the epithelial surface, moves away from the wall, and is degraded as it approaches the lumen in a manner which results in a standing front that defines the edge of the mucus layer. At this front, the degradation of mucus results in a release of hydrogen ions. We do not explicitly model the mucus phase dynamics, only their effect on dissolved ions, namely maintaining a source of hydrogen near the luminal edge of the mucus layer. Therefore, we choose θg to have a spatial profile that captures the transition from the mucus gel layer to the stomach lumen; it does not change in time. Figure 1 shows the spatial form of θg (recall that θs = 1 – θg). Moving away from the stomach wall (x = 0), the volume fraction transitions from a value of 0.02 (in biogels such as mucus, the actual polymeric proteins which make up the gel generally occupy ~2% of the volume), to a value of 0. We define the “lumen” as the region where mucus network occupies less than 1% of the local volume. Conversely the “mucus layer” is defined by the region where mucus network occupies 1% or more of the volume. This transition occurs 500 µm away from the wall and the mucus layer is indicated by the gray shaded region in Figs. 1, 2, and 4. Conservation of solvent mass dictates that at steady state, uθs is a constant. Once we have chosen the spatial profile of θs, this constraint determines the spatial profile of u. Choosing u in this manner also ensures that Eq. 1 (in the absence of sources and reactions) conserves the quantities θsCi, which are ionic concentrations per total volume.
Fig. 1.

Illustration of gel volume fraction (θg) and hydrogen/anion source profiles. Recall that θs = 1 – θg.
Fig. 2.
A: the base case steady-state ion concentrations in the domain (produced with kHI = kBA = 2 × 10−4 cm/s). B: the flux of hydrogen ions at steady state, as well as how the total flux is partitioned into diffusive, advective, and electric fluxes. In each case, the inset shows a zoomed view of the same data near the wall. Gray shaded regions indicate the mucus layer where θg ≥ 0.01.
Fig. 4.
A: the base case steady-state ion concentration in the stomach (produced with kHI = 1 × 10−1 cm/s and kBA = 5 × 10−4 cm/s). B: the corresponding fluxes of hydrogen ions at steady state. Gray shaded regions indicate the mucus layer where θg ≥ 0.01.
The as-yet undiscussed terms fi incorporate any sources or chemical reactions which may impact the four concentrations. They depend on the concentration of interest. Hydrogen is affected by the buffering reaction with bicarbonate (which proceeds according to the law of mass action). For simplicity, we assume that this reaction is nonreversible; carbon dioxide cannot react with water to form hydrogen and bicarbonate ions. This is justified due to the fact that the binding and unbinding rates of the buffering reaction (2.56 × 107 M–1·s–1 and 11 s–1, respectively) lead to a minuscule dissociation constant (4.2 × 10–7 M) (11). Hydrogen ions are also produced by a source term [S(x)] at the edge of the mucus layer (spatially located in the same region where the volume fraction transitions from mucus layer to lumen). Because the gel layer is in homeostasis, the source of hydrogen is assumed to be independent of time, but localized spatially,
| (3) |
This source term is meant to represent the hydrogen released by degradation of mucus, assuming the proton transport mechanism proposed by Schreiber and Scheid (25) is correct. Furthermore, we are assuming that secreted mucus within the layer has irreversibly bound all the hydrogen it is capable of sequestering, until this hydrogen is released via mucus degradation. Thus we do not model binding/unbinding of hydrogen to the mucus layer. Because of its phenomenological nature, S(x) is constructed in the following way: we truncate a Gaussian that is centered at the edge of the lumen. Outside a narrow region (whose width roughly corresponds to the transition from θg = 0.02 to θg = 0), we set the source to zero. The magnitude of the profile is chosen so that the spatial integral ∫S(x)dx (which corresponds to a flux of hydrogen ions) matches approximately with reported values of hydrogen flux in the human stomach. The profile of S(x) we use is shown in Fig. 1 and discussed in more detail in appendix a. The concentration of bicarbonate is affected by the same hydrogen/bicarbonate buffering reaction, hence
| (4) |
Due to electroneutrality, whenever a hydrogen ion is released by mucus degradation at the mucus/lumen interface, a corresponding negatively charged particle must be released into the stomach. Therefore, the source term also affects the concentration of anions, so
| (5) |
We note here that we do not make any assumptions about what precise species produces this negative charge. Whether it is a chloride ion or a negatively charged unit on a degraded mucin polymer, all negative charges (other than bicarbonate) are treated as a single species. Finally, we assume that cations are not affected by any sources or reactions, so
| (6) |
The transport law Eq. 1 must be accompanied by boundary conditions at the epithelial wall and the bulk stomach lumen. For boundary conditions at the wall (x = 0), we impose a flux relation that depends on the local ionic concentrations at the epithelial surface. We do not explicitly specify the flux of any ion through the epithelial surface. For each species, the total flux from the transport equation is
| (7) |
The three individual terms on the right hand side of this expression represent the diffusive, electric, and advective (respectively) flux of the ionic species i. The flux of each species to/from the epithelial wall must balance the flux through ion exchangers embedded in the epithelial surface. Mathematically, this is represented as
| (8) |
| (9) |
| (10) |
| (11) |
The terms on the righthand side represent a simplified, linear model of flux due to antiport ion exchangers (17). We note here that we do not model any of the ion exchange taking place within the gastric pits which controls hydrogen secretion. The process of secretion is taken as a given, and [in line with the hypothesis of Schreiber and Scheid (25)] represented in the source term S(x). Here we only include ion exchange at the epithelial surface. Both bicarbonate/chloride exchangers and hydrogen/sodium exchangers are known to be present on the apical membrane of mammalian epithelial cells, and it is known that bicarbonate secretion is chloride dependent (1). This model of flux across the epithelial surface is discussed at more length in appendix a. For boundary conditions at the lumen (which we define as x = 0.2 cm), we simply impose luminal ionic concentrations.
| (12) |
| (13) |
| (14) |
| (15) |
Here, HL, IL, BL, and AL are the concentrations of hydrogen, cations, bicarbonate, and anions (respectively) in the stomach lumen.
To generate the results discussed for the remainder of this work, the model was simulated using parameter values listed in Table A1. The specifics of our spatial discretization and time integration are discussed in appendix b. We are specifically interested in steady-state behavior, but we simulated the entire (time dependent) set of equations. To achieve “steady state” we simulated until none of the ionic concentrations (at any point in space) change by 0.1% or more during a period of 10 s.
RESULTS
Steady-state behavior.
The model was simulated until steady state was reached with kHI = kBA = 2 × 10−4 cm/s. We do not have reliable data for what values of these parameters most closely represent the stomach in vivo. Presumably, these values should be derived from the density of ion exchangers on the epithelial surface, as well as the thermodynamics of an individual ion exchanger. In the absence of estimates for the “correct” value of these parameters, we were forced to choose a parameter set to begin analysis of the model. As we discuss later, many of the predictions of the model are insensitive to this choice. For the duration of this study, we refer to the regime where kHI = kBA = 2 × 10−4 cm/s as the “base case.” These parameter values are also marked with a large dot on Fig. 3A.
Fig. 3.
A: wall pH as a function of hydrogen/cation and bicarbonate/anion exchange rates (kHI and kBA, respectively). The solid line indicates parameter values that result in a wall pH of 6. The two dash-dot lines indicate kHI = 2 × 10−6 and 2 × 10−4 cm/s, which are the parameter values used to generate the data in the second panel. The dashed line indicates the largest value of kBA which results in a monotonic profile of hydrogen ions. The black dot indicates the parameter values that we refer to as “base case.” B: wall pH as a function of kBA for the two values of kHI indicated in A.
Figure 2 shows the steady-state behavior of the model for the base case. Figure 2A shows the steady-state concentrations of the four ionic species. The measured pH [calculated as −log10(CH)] is 2.3 at the lumen, and nearly constant up to the edge of the mucus layer (at x = 0.05 cm). Across the mucus layer, the measured pH transitions from 2.3 to approximately neutral (6.47). This hydrogen profile is quantitatively similar to data reported in numerous experiments (4, 24, 30). We emphasize here that although the pH at the stomach lumen is imposed by our boundary condition, we do not dictate the pH at the stomach wall, nor the transition across the mucus layer. This spatial profile of hydrogen concentration is an emergent behavior due to the transport of ions, ion exchange at the wall, and the buffering reaction. It may be regarded as a prediction of the model. This means that our model supports the plausibility of the hypothesis of proton transport originally put forward in Ref. 25. The fact that the proton transport hypothesis of Schreiber and Scheid (25) can give rise to physiological hydrogen concentrations in a physics-based model represents a major result of this work.
Figure 2A also shows that bicarbonate only exists (in appreciable concentrations) in a small (approximately 20 to 30 µm) region immediately next to the epithelial wall. A rapid decay of bicarbonate concentration to approximately zero occurs as one moves away from the wall and bicarbonate is consumed in the buffering reaction with hydrogen. The maximum concentration of bicarbonate observed is less than that of hydrogen. While the maximum concentration of bicarbonate is 0.3 mM, hydrogen concentrations within the domain reach values up to 5 mM, more than a order of magnitude greater. Cation and anion concentrations are relatively constant throughout the domain, ranging from 32 to 40 mM (cations) and 32 to 45 mM (anions).
Figure 2B shows the various fluxes of hydrogen within the domain at steady state. Notice that because we impose a source at the edge of the mucus layer, because additional sourcing may occur at the stomach wall (due to ion exchange), and because of the buffering reaction, the total flux of hydrogen may be nonzero at steady state. However, beyond the luminal edge of the mucus layer, the total flux of hydrogen is approximately zero. This means that there is no net transport of hydrogen within the lumen. Together with the hydrogen profile shown in Fig. 2A, this indicates that the model is capable of reproducing a gastric mucus layer in homeostasis. Within and adjacent to the mucus layer, however, hydrogen transport is occurring even in steady state. The diffusive flux in the outer portion of the mucus layer (away from the epithelial surface) is relatively large and negative. This indicates a large diffusive transport of hydrogen toward the epithelium. However, the effect of this flux is attenuated by a positive (from wall to lumen) flux due to the electric potential gradient (the electric potential itself varies by ~0.35 mV across the width mucus layer). This implies that the charged nature of ionic hydrogen causes total flux toward the wall to be less than one would expect due to purely diffusive effects. Additionally, this diffusive flux becomes drastically smaller in magnitude close to the epithelial wall. This is due to a general decrease in hydrogen concentrations because of the buffering reaction. Although it appears that there is a large-scale back-diffusion of hydrogen toward the wall (if one examines the luminal portion of the mucus layer), bicarbonate buffering in the narrow layer near the epithelium prevents a large back-diffusion of hydrogen to the wall.
It is worth noting here that the model implies that the advective flux is negligible. This could have been predicted a priori by calculating the Péclet number of the system. The Péclet number is a nondimensional parameter that characterizes the relative importance of diffusive and advective processes within a physical system. Using the velocity of solvent, and the diffusion coefficient of a hydrogen ion in water as listed in Table A1, as well as a length scale of the thickness of the mucus layer (L = 0.05 cm), we calculate the Péclet number as
A Péclet number this small indicates that diffusive transport is roughly 100 times more important than advective transport within the mucus layer, a conclusion corroborated by the results of our simulation. This directly contradicts certain hypotheses in the literature that back-diffusion is counteracted by advective transport away from the wall (10). To effectively retard back-diffusion, characteristic solvent flow velocities would need to be two or more orders of magnitude larger.
Insensitivity to ion exchange rate.
We now return to discuss the ion exchange rate parameters kHI and kBA. As previously mentioned, from available experiments and literature we are unable to determine the “correct” values of these parameters that most closely represent in vivo conditions. The previous section shows that the model is capable of reproducing concentrations which resemble those observed in mammalian stomachs, but the question remains: do these results depend on our choice of ion exchange rates? To address this question, we simulated the model to steady state for numerous different parameter sets. We varied both kHI and kBA from 10−6 to 10−1 cm/s. Once the simulation reached steady state, we measured the resulting pH at the wall. Figure 3A shows a filled contour plot of the wall pH predicted by the model as a function of both ion exchange rate parameters. The plot was generated using 256 individual data points, spaced approximately equally on a log scale. The solid black line indicates the collection of parameter values that result in a wall pH of 6. Whenever a simulation resulted in a wall pH between 6 and 8, we identify the epithelial surface as “adequately neutralized.” All exchange rate values above and to the right of this solid line are adequately neutralized.
This exploration suggests that wall pH does not depend strongly on either exchanger rate. The wall is adequately neutralized for values ranging over nearly 3 orders of magnitude (for either exchanger rate). Furthermore, all simulations performed resulted in a wall pH between 4.2 and 6.8, even varying these parameters over 5 orders of magnitude. Less systematic numerical explorations indicate that varying the exchange rates further does not change this behavior. The only exception to this rule is taking one exchange rate to zero (discussed in more detail in Perturbations to lumen salt and the role of dual exchange). Wall pH appears to approach asymptotic values for both “fast” bicarbonate exchange (large kBA) and “slow” bicarbonate exchange (small kBA). Obviously, if kBA is set to zero, there is no bicarbonate secretion and, since there are no other sources of bicarbonate, the entire domain (including the epithelial wall) will be approximately the imposed luminal pH.
Two examples of this asymptotic behavior can be seen in Fig. 3B. The two graphs show wall pH as a function of kBA when kHI is equal to 2 × 10–4 and 2 × 10–6 cm/s, respectively. The two dash-dot lines in Fig. 3A indicate the range of parameters used to generate these two graphs. The shaded gray region indicates wall pH values which are adequately neutralized. For both values of kHI the wall pH asymptotic values lie between 4.5 and 6.7, suggesting that altering the rate of exchange of ions at the epithelial wall can affect the wall pH by less than 2.5 even in extreme cases. Regardless, the parameter ranges which produce wall pH measurements above 6 are still enormous. Taken together, these results have profound implications. Assuming the hydrogen transport hypothesis of Schreiber and Scheid (25), the precise regulation of ion exchange at the epithelial wall is not necessary to maintain the gastric pH gradient. As long as ions are exchanged “fast enough” (for a very loose definition of “fast enough”), neutralization of the stomach wall is possible and homeostasis is preserved.
This is encouraging for several reasons. Our simplified model of ion exchange assumes a constant exchange rate. A more complex model such as that in Ref. 17 would incorporate a nonlinear dependence on local ionic concentrations. However, this would be unlikely to change our results, as steady-state pH is unaffected by varying either parameter’s value over vast ranges. Furthermore, relating the values of these parameters to “correct” values obtained from experimentally measurable quantities is difficult, but our model indicates that precisely controlled parameter values are irrelevant to the main result.
Finally, we note that in the case of very fast bicarbonate exchange (large kBA), the qualitative character of the steady-state ion concentrations changes somewhat. For these simulations, hydrogen concentration is no longer monotonic; there is an overneutralized alkaline region occurring within the mucus layer. This behavior appears for kBA values of 5 × 10–4 cm/s or greater, regardless of the value of kHI. This transition is marked in Fig. 3A by the dashed line. All simulations to the right of this transition exhibit localized minima of hydrogen concentration within the mucus layer. As an example of this behavior, Fig. 4A shows the steady-state concentration of ions and flux of hydrogen predicted when kHI = 1 × 10−1 cm/s and kBA = 5 × 10−4 cm/s. To more clearly display near wall features, the insets show the same data between x = 0 and x = 0.025 cm. Some care should be taken when interpreting the quantitative prediction of the model near the local minima of hydrogen, as our model does not take into account the autoionization of water. One may reasonably assume that this effect becomes relevant whenever pH is below 7 and the rate of hydrogen production due to ionization is of a comparable scale as hydrogen removal due to the bicarbonate buffering reaction. Using the bicarbonate buffering rate κ listed in Table A1, 1.3 × 10–5 s–1 as the ionization rate of water, and 55.5 M as the concentration of water (28), a rough calculation indicates that this is true whenever the product of hydrogen and bicarbonate concentrations satisfies CHCB ≤ 5 × 10−11 M2. It is worth noting that even for parameter values that generate local minima, the steady-state pH at the wall remains approximately neutral. This is due to the response of the hydrogen/cation exchange. Fast bicarbonate exchange can result in a large flux of bicarbonate into the domain from the epithelial wall, which tends to overneutralize hydrogen. Coincident with this phenomenon, the flux of hydrogen through the epithelial wall changes direction; hydrogen is secreted at the epithelial wall. This can be seen in Fig. 4B, as the total flux of hydrogen at the epithelial wall is slightly positive (in contrast to the data in Fig. 2B). This source of hydrogen at the wall maintains an approximately neutral pH at that location. As hydrogen and bicarbonate diffuse away from the wall, the buffering reaction takes place, leading to a minimum in hydrogen concentration ~20 µm away from the epithelium. Further from the wall, hydrogen diffusing from the source at the edge of the mucus layer becomes more prevalent, eventually overcoming the bicarbonate secreted at the epithelium and lowering the local pH. In later sections we again see that the robustness of the model predictions depends on the existence of hydrogen/cation exchange and the ability of the hydrogen flux at the epithelial wall to change sign.
Insensitivity to luminal pH.
In the modeling framework used here, we have made the assumption that the ionic composition of the stomach is fixed and can be described by four constants (HL, IL, BL, and AL). Even under the assumption that the contents of the stomach are “well mixed,” the ionic composition of the stomach lumen in vivo is unlikely to remain constant in time. For this reason, we now describe a set of experiments that ascertain how robust the results of the model are with respect to perturbations in the luminal pH value imposed at x = 0.2. We performed a series of simulations where HL is changed to reflect a desired luminal pH. To satisfy the electroneutrality constraint, AL is also changed to satisfy the equation
Luminal concentrations of bicarbonate and cations are not altered. All simulations are performed with “base case” exchange rates (kHI = kBA = 2 × 10−4 cm/s). Figure 5 shows results obtained by allowing the model to reach steady state for various values of luminal pH.
Fig. 5.
A: pH at the stomach wall as a function of lumen pH. B: the flux due to various sources of ions as a function of luminal pH. The flux due to hydrogen source is calculated as ∫S(x)dx. The fluxes through the wall are a result of the ion exchange relationship. All data were generated using the “base case” for kHI and kBA.
Figure 5A shows the measured pH at the epithelial wall as a function of the pH at the stomach lumen. The most striking feature of the graph is that while we varied luminal pH from 1.5 to 3, we observed relatively small changes in wall pH (from ~6.15 to 6.5). The effect of luminal pH changes on the wall is drastically attenuated. The system effectively suppresses the ability of the stomach wall to “feel” changes in luminal acidity. Perhaps the second most striking feature of this graph is that wall pH is not necessarily positively correlated with luminal pH. This means that in certain regimes, lowering the pH of the stomach lumen actually results in a more neutralized wall. At first glance, this seems counterintuitive. However, the model results provide a mechanistic explanation for this behavior which we outline below.
Figure 5B shows the steady-state flux of both hydrogen and bicarbonate through the epithelial wall (due to the ion exchangers) as a function of the pH imposed at the lumen. For reference it also shows the total flux of hydrogen due to the source imposed at the edge of the mucus layer. The solid black curve depicting the steady-state secretion of bicarbonate shows a negative correlation with luminal pH and helps explain the potential for an inverse relationship between luminal and wall pH seen in the first panel. Luminal pH may impact measured pH at the wall in two different ways. The first, and more obvious mechanism is that increasing the luminal pH simply results in fewer hydrogen ions within the domain, thereby increasing the pH at the wall. However, increasing the luminal pH may affect wall pH indirectly through bicarbonate exchange. Any decrease in luminal hydrogen concentration is accompanied by an identical decrease in anion concentration (due to the electroneutrality constraint). Anion concentration does not vary much between the lumen and epithelial wall (see Fig. 2). This results in decreased bicarbonate/anion exchange, decreasing the flux of secreted bicarbonate at the wall. The potential result of this is an increase in hydrogen concentration (decrease in pH) at the wall, as the amount of buffering is suppressed. From the local maxima in the first panel of Fig. 5A, it appears that this indirect effect is secondary at lower luminal pH values. In this regime, the decrease in total hydrogen within the domain due to raising luminal pH has more effect on wall pH than does the impact through bicarbonate secretion via anion variations. However, the indirect impact through suppressed bicarbonate exchange becomes relevant at approximately a pH of 2.5. The relative importance of the two ways luminal pH may effect wall pH is, in part, determined by the parameter values chosen for the ion exchange model (both ks and δs). Regardless, in all our numerical experiments, the competition of these two processes leads to variations in wall pH that are much smaller than imposed variations in luminal pH.
Further examining Fig. 5B, it is noteworthy that for luminal pH values greater than ~2, the flux of bicarbonate through the wall is much greater in magnitude than hydrogen flux through the wall (an order of magnitude or more). This means that while the epithelium is secreting large amounts of bicarbonate for the buffering reaction, relatively small amounts of hydrogen cross the epithelial surface. This observation says nothing about the amount of hydrogen being sourced at the edge of the mucus layer, which we have assumed was bound to the mucus itself after being secreted within the gastric pits. The flux of bicarbonate is positive in all cases, which means that bicarbonate is being secreted into the domain. Conversely, the flux of hydrogen across the epithelial wall may change sign (as we previously noted in Insensitivity to ion exchange rate). This means that in the case of an extremely acidic lumen, the ion exchange model may be secreting or removing hydrogen at the epithelial wall at steady state. This result qualitatively agrees with experiments that show epithelial cells may absorb hydrogen from the lumen into their intracellular fluid under extremely acidic conditions (12). Furthermore, the adaptability of hydrogen exchange is important in explaining the ability of the system to attenuate the effect that luminal perturbations have at the wall. We discuss this more below. Finally, we point out that net hydrogen secretion (through the epithelial surface, in addition to sourced from mucus) may be greater than (at higher luminal pH) or less than (at low luminal pH) net bicarbonate secretion. Again, this agrees qualitatively with previous studies that show the mucosa may change from net acid to net alkaline secretion in response to luminal pH (8).
Perturbations to lumen salt and the role of dual exchange.
Here, we investigate the response of the system to perturbations in the other ionic concentrations in the stomach lumen. Again, we do this by altering the value of ionic species which appear in the boundary condition at x = 0.2 cm. Up to this point, luminal concentrations of cations have been given by IL = 40 mM. We now examine the steady-state wall pH for two new parameter sets, one where IL = 60 mM, and one where IL = 20 mM. In each case, we again adjust the luminal concentration of anions to preserve electroneutrality. Intuitively, this can be thought of as adding (or removing) 20 mM of salt (NaCl) to the stomach lumen. We refer to the parameter sets where IL = 20, 40, and 60 mM as the low-, medium-, and high-salt stomachs. All simulations are performed with kHI = 2 × 10−4 cm/s (as in the base case), however we simulate the low-, medium-, and high-salt stomachs over a range of values for kBA. Again, the model is run to steady state with the perturbed boundary conditions and we measure the pH at the stomach wall once the model has reached steady state.
Figure 6A shows the steady-state pH of the stomach wall as a function of kBA, for all three “salt values.” The gray windowed region is again meant to indicate pH values between 6 and 8. We see that the wall pH is insensitive to the rate of bicarbonate/anion exchange (there is little variation within each individual curve). All parameter values result in a wall which is adequately neutralized. Additionally, we see that the wall pH appears insensitive to luminal salt concentrations (the three curves are similar to each other). Large changes in ionic concentrations at the stomach lumen (cation concentrations change by 100% or more between the 3 salt values) do not appreciably affect the pH measured at the wall. From high- to low-salt stomachs, the measured wall pH varies by less than 0.5. Taken together with the results of Insensitivity to luminal pH, the model suggests an extremely robust mechanism for the maintenance of the gastric pH gradient.
Fig. 6.
pH at stomach wall as a function of bicarbonate exchanger rate for three different lumen salt concentrations. A: the case when hydrogen/cation exchange proceeds normally (kHI = 2 × 10−4 cm/s). B: the case when hydrogen/cation exchange is completely inhibited (kHI = 0).
Next, we explore the role that hydrogen/cation exchange plays in the maintenance of the pH gradient. Bicarbonate is secreted with the “purpose” of buffering hydrogen before it comes into contact with the epithelial surface. However, bicarbonate is not secreted in response to hydrogen; it is secreted in response to chloride (represented as generic anions in our model). It is not immediately clear what the purpose of the additional hydrogen/cation exchange is in this regulatory mechanism. We now repeat the previous experiments of the high-, medium-, and low-salt stomachs, but with hydrogen/cation exchange turned “off” (by setting kHI = 0). The results are shown in Fig. 6B.
Immediately apparent is the fact that the insensitivity observed in the first panel is destroyed. Now, neutralization of the stomach wall is highly dependent on the ionic concentration within the lumen (the three curves are quite different from one another), and the measured wall pH may vary drastically. Physiologically, this implies that the pH at the epithelial wall would not be maintained as the ionic composition of the stomach lumen varies due to meals, etc. Furthermore, we see that robustness with respect to the bicarbonate exchange rate is also lost when hydrogen exchange is shut off (each individual curve may vary drastically). Depending on the salt composition of the stomach, the model predicts wall pH values ranging as low as 1.8 and as high as 16, with slow bicarbonate exchange failing to neutralize the wall and fast bicarbonate exchange overbuffering the near-wall environment and leading to an alkaline environment. We note here that these predictions imply hydrogen concentrations on the order of 10−16 M. Again, at concentrations this low, it is likely that the ionization of interstitial water within the mucus becomes a relevant effect that our model does not take into account. For this reason, pH values this high should not be regarded as quantitatively predictive. Regardless, it is fair to say that the model predicts an overly neutralized and alkaline epithelial wall. This strongly suggests that hydrogen/cation exchange serves an important physiological purpose, even though these ions are secreted/exchanged at significantly lower rates than bicarbonate. It indicates that when hydrogen/cation exchange is absent, wall pH has an extremely sensitive dependence on bicarbonate exchange rate. Therefore, to adequately neutralize the wall, the bicarbonate exchange rate must be carefully maintained. Clearly, such a scenario necessitates a very precise mechanism to regulate the rate of bicarbonate exchange, and the failure of such a regulatory mechanism would have disastrous physiological consequences.
DISCUSSION
In all, the modeling investigation undertaken here strongly indicates that Schreiber’s hypothesis of proton transport, when combined with ion exchange at the epithelial wall, is capable of producing and maintaining pH gradients observed in vivo and in vitro. Release of hydrogen at the edge of the mucus layer is compatible with a physics-based model of ion transport and available data on ionic concentrations in the mucus layer. The mechanism appears robust to large perturbations in both physical and phenomenological parameters within the model. However, this robustness hinges critically on the existence of two forms of ion exchange at the epithelial wall. The secretion of bicarbonate in response to chloride is not (in itself) capable of robustly maintaining a neutral pH near the stomach wall. Indeed, without hydrogen/sodium exchange, parameters must be precisely chosen to correctly neutralize the epithelium. This hints at an important physiological function of hydrogen/sodium exchangers seen in epithelial cells. Even though our model suggests flux through such channels is small for conditions which mimic “homeostasis,” it nevertheless is vitally important to the robustness of results. Without hydrogen/sodium exchange, the system is incapable of maintaining epithelial pH in the face of changes to luminal ionic concentration, or bicarbonate/chloride exchange rate. It is known that luminal ionic composition is a dynamic quantity in vivo. However, as epithelial cells are often exfoliated from the mucosa and replaced by mucus neck cells, it stands to reason that the total number of ion exchangers in the epithelium (and thus the overall effective exchange rate) would be a dynamic quantity as well (6). Therefore, robustness to perturbations in these quantities seems to be a necessity for any physiologically relevant control mechanism.
Finally, we note that our model predicts that the epithelial wall can be neutralized with a flux of bicarbonate (due to secretion) which is approximately equal to the flux of secreted hydrogen [in our model, represented as S(x)]. This is in contrast to early results of modeling hydrogen buffering in gastric mucus, which suggested that a bicarbonate flux nearly 10 times larger than the hydrogen flux is required to neutralize the wall (11). Indeed, this result of our model is in line with a more recent modeling effort which suggested that the bicarbonate and hydrogen fluxes should be of approximately the same scale (19). However, numerous experiments have indicated that bicarbonate secretion is significantly smaller than hydrogen secretion in the stomach (21). The results presented here do not provide a resolution to this apparent paradox.
Indeed, experimental evidence of the relatively small amount of bicarbonate secreted appears to be incompatible with conservation of mass and a steady-state analysis. Any physical description of the dynamics of bicarbonate and hydrogen ions within the system can be written in the form of a continuity equation (derived from the conservation of mass):
| (16) |
Here, denotes concentration of the ion i measure in moles per unit total volume, is the flux of ion i, is the function describing any sources of ion i, and fbuffering is the rate of change of due to the buffering reaction. Note, that we can arrive at this relation by multiplying Eq. 1 (for i = H, B) by θs (to convert from concentrations per solvent volume to concentrations per total volume) and defining = θsCi, = θsϕi, = θsS(x), and fbuffering = θsκCHCB. However, this expression is much more general, in that it makes no assumptions about what physical processes contribute to the fluxes of ions (), nor is it specific to the two-phase modeling framework we have adopted in this work. Subtracting Eq. 16 for i = B from the same equation for i = H, integrating with respect to space from the wall to the lumen, and assuming steady state (all time derivatives are zero) yields the expression
Now, if we assume (as all modeling work we are familiar with does) that there are no sources of bicarbonate within the domain [(x) = 0], and that there is no flux of bicarbonate at the lumen (= 0) because bicarbonate concentrations are essentially nonexistent there, we arrive at the following conclusion
This relationship may be interpreted to say that the flux of bicarbonate secreted at the stomach wall must balance the net hydrogen secreted into the stomach. This result, although consistent with the conclusions of the modeling work done here, appears to directly contradict the notion that bicarbonate secretion is an order of magnitude smaller than hydrogen secretion. It is possible that this disagreement is due to difficulties in accurately measuring secretion at the epithelium (as opposed to secreted juice which makes its way across the mucus layer after some buffering has occurred). It is also possible that modeling efforts up to now have failed to account for some “sink” of hydrogen within the stomach, possibly due to drainage from the stomach lumen through the pylorus. This idea warrants further investigation and may prove useful in reconciling the apparent discrepancy between theoretical and experimental results.
GRANTS
The work here was partially supported by National Science Foundation Grants DMS-1148230 (to O. L. Lewis and J. P. Keener) and DMS-1160432 (to A. L. Fogelson and J. P. Keener).
DISCLOSURES
No conflicts of interest, financial or otherwise, are declared by the authors.
AUTHOR CONTRIBUTIONS
O.L.L., J.P.K., and A.L.F. conceived and designed research; O.L.L. performed experiments; O.L.L. and A.L.F. analyzed data; O.L.L., J.P.K., and A.L.F. interpreted results of experiments; O.L.L. prepared figures; O.L.L. drafted manuscript; O.L.L., J.P.K., and A.L.F. edited and revised manuscript; O.L.L., J.P.K., and A.L.F. approved final version of manuscript.
APPENDIX A
Parameter Estimation
Diffusion coefficients.
Precisely measuring the diffusion coefficient of ionic species in solution is a difficult problem. The “effective” diffusion coefficient for dissolved ions are known to depend on ambient temperature. Furthermore, it is difficult to distinguish between transport caused by concentration gradients, and transport due to electric effects. It is also known that the effective diffusion of hydrogen in mucus is approximately four times slower than in aqueous solution (29). However, because our model explicitly treats flux due to interactions with the electric potential as a separate term, and because we explicitly account for the effects that mucus gel has on ionic transport due to volume occlusion, we would like to use ionic diffusion coefficients which account only for Fickian diffusion. Standard estimates for the diffusivity of hydrogen ions can range between 9 × 10−5 cm2/s (14) and 4.5 × 10−5 cm2/s (9). Because the standard estimate is for aqueous solutions at 25°C (~12°C below body temperature), and because it likely does not distinguish between Fickian and electrodiffusive effects, we choose to use value on the upper end of this range (DH = 7 × 10−5 cm2/s). Data on the value of DB are less prevalent; however, molecular dynamics simulations that interpolate the limited experimental data have suggested that it should lie between 1.5 × 10−5 and 2 × 10−5 cm2/s at body temperature (31). For our purposes, we choose a value of DB = 1.75 × 10−5 cm2/s, as it lies in the middle of this range. The “correct” values of DA and DI are less clear. In our model, these parameters quantify the diffusivity of the aggregate anion and cation species, respectively. Although other ions clearly exist within the stomach lumen, the components of CA and CI which are most critical to our model are chloride and sodium (as they control ion exchange at the wall). Therefore we wish DA and DI to at least approximate the diffusivity of chloride and sodium. Standard tables list the diffusion coefficient of sodium and chloride as 1.3 and 2.0 × 10–5 cm2/s, respectively (14). However, these values are for solutions at 25°C, and are unlikely to distinguish between Fickian and electro-diffusion. Furthermore, we find it unlikely that the diffusion of small monatomic ions such as sodium and chloride would be no faster than that of bicarbonate. For this reason we choose DA = DI = 2.5 × 10−5 cm2/s. These values are also approximately consistent with what one would calculate using our listed value of DH, assuming that all ionic species are spheres of constant density (with mass proportional to radius cubed) diffusing according to a Stokes-Einstein relation (diffusion coefficient scaling as the inverse of radius).
Solvent velocity.
In the two-phase gel modeling framework, the quantity θgug + θsus, evaluated at the stomach wall represents a flux of total volume being secreted by the mucosa (here ug and us are the velocity of the gel and solvent phases, respectively). For the purposes of this work, we assume that both mucus gel and interstitial fluid are secreted at the same velocity u. In Ref. 25, the authors measure the growth rate of the mucus layer produced by freshly excised guinea pig mucosa. In the case of a mucosa stimulated with histamine, the outer edge of the mucus layer was observed to grow at a rate of 1.25 ± 0.33 × 10–5 cm/s. Conservation of total volume implies that this value must also be the flux of volume secreted at the mucosal wall, and our assumption that gel and solvent move with the same velocity implies that our solvent velocity should match the measurements given in Ref. 25. Because we wanted our investigation to account for any potential effects that advective flux may have on ionic gradients, we chose a value of uθs consistent with the very largest limit of the numbers reported in Ref. 25.
Luminal concentrations.
We arrived at the value of HL listed in Table A1 through numerical experimentation. This was the luminal hydrogen concentration which resulted in zero net flux through the luminal boundary of our computational domain. This concentration corresponds to a luminal pH of 2.3, which is well in the range of observed pH within the gastric lumen (6). Many classical studies on the ionic makeup of the stomach measure the composition of gastric juice secreted into an empty stomach (23). These studies report cation concentrations on the order of 100 mM or more. However, during the course of the day, the gastric lumen is likely to be often filled with food and various liquids which may dilute the ionic concentrations therein. Studies conducted on human patients have shown that 90 min after a meal, the concentration of cations within the stomach may be closer to 50 mM (13). For this reason, we choose IL = 40 mM as our standard ionic concentration and perturb the parameter about this value for the experiments of Perturbations to lumen salt and the role of dual exchange. All studies cited above indicate that bicarbonate concentrations in the lumen are negligible. For this reason we choose BL = 2.2 × 10−16 M. Finally, in all simulations and experiments, AL is chosen to satisfy the principle of electroneutrality.
Table A1.
Model parameters
| Parameter | Symbol | Value |
|---|---|---|
| Hydrogen diffusion coefficient, cm2/s | D H | 7 × 10−5 |
| Cation diffusion coefficient, cm2/s | D I | 2.5 × 10−5 |
| Bicarbonate diffusion coefficient, cm2/s | D B | 1.75 × 10−5 |
| Anion diffusion coefficient, cm2/s | D A | 2.5 × 10−5 |
| Fluid volume flux, cm/s | uθs | 1.67 × 10−5 |
| Hydrogen valence | z H | 1 |
| Cation valence | z I | 1 |
| Bicarbonate valence | z B | −1 |
| Anion valence | z A | −1 |
| Bicarbonate/hydrogen reaction rate, M−1 s−1 | κ | 2.56 × 107 |
| Luminal hydrogen concentration, M | HL | 7.94 × 10−3 |
| Luminal cation concentration, M | IL | 4 × 10−2 |
| Luminal bicarbonate concentration, M | BL | 2.2 × 10−16 |
| Luminal anion concentration, M | AL | 4.79 × 10−2 |
| Hydrogen/cation exchange bias | δHI | 1 × 105 |
| Bicarbonate/anion exchange bias | δBA | 10 |
| Hydrogen/cation exchange rate, cm/s | k HI | 1 × 10−6 to 0.1 |
| Bicarbonate/anion exchange rate, cm/s | k BA | 1 × 10−6 to 0.1 |
Ion exchanger offsets.
A linearized version of an antiport ion exchanger for bicarbonate and chloride can be written in terms of the concentrations of bicarbonate and chloride on either side of the epithelial cell membrane
| (A1) |
Here, the subscript “wall” refers to the concentration of the ionic species at the luminal side of the epithelial cell wall, and the subscript “cell” refers to intracellular concentrations. A detailed derivation of a more complicated model may be found in Ref. 17. In general, the parameter has a functional dependence on the given ionic concentrations. As a simplification, we choose to linearize the model by assuming is constant. Regardless, one of the major results of this work is that steady-state ionic concentrations do not depend strongly on this parameter. By factoring out [B]cell from the entire quantity within the parenthesis, we have
| (A2) |
Now, we do not explicitly track chloride concentration within our modeling framework. Rather, we track total anion concentration. However, if we define β to be the proportion of total anions at the luminal wall ([A]wall) that are, in fact, chloride (β = [Cl]wall/[A]wall), then we may rewrite this expression as
| (A3) |
Now, we note that [A]wall is our model variable CA evaluated at x = 0 and [B]wall is our model variable CB evaluated at x = 0. We now define our model parameters
| (A4) |
and
| (A5) |
to arrive at the given expression for the flux of bicarbonate through the epithelial surface
| (A6) |
Again, we are not able to confidently estimate (and therefore kBA), so we perform a set of experiments which show the model predictions are not particularly sensitive to this parameter. A rough estimate for intracellular bicarbonate concentration in mammalian cells is [B]cell = 10 mM (2). Chloride concentration in mammalian cells varies more than other ionic concentrations (generically), and may range from 5 to 80 mM (2). However, experiments on frog bladders indicate that epithelial cells may contain chloride concentrations on the high end of this range (20). For this reason, we choose [Cl]cell = 70 mM. Obtaining an estimate for β is difficult. Certainly, chloride makes up a large proportion of the anionic content of the stomach lumen (implying β close to 1); however, some estimates show that other anions may be present in concentrations which are approximately the same as chloride (implying β ≈ 0.5) (13). In particular, the relevant quantity in our secretion model is the ratio of chloride to total anion concentration at the epithelial wall, but no study that we know of examines how the ionic composition of stomach contents varies spatially across the mucus layer. For this reason, we choose a value of β = 0.7, which seems well within reasonable estimates. This results in δBA = 10.
The same analysis for hydrogen/sodium antiport exchange gives the expression
| (A7) |
where
| (A8) |
| (A9) |
and
| (A10) |
is the ratio of sodium to total cation concentration at the wall. To determine the value of δHI, we use intracellular sodium and hydrogen concentrations of [Na]cell = 10 mM and [H]cell = 0.2 µM, which are roughly in line with those reported for mammalian cells in Ref. 2. We choose α = 0.5, as potassium is present in the lumen in concentrations roughly equal to sodium (13). These numbers give δHI = 105.
Ion source magnitude.
The spatial integral of our source term S(x) physically corresponds to the flux of hydrogen (and corresponding anions) into the system which we impose to mimic Schreiber’s hypothesized proton transport process (25):
| (A11) |
Physically modeling the process of mucus degradation due to pepsin action is beyond the scope of this work. For this reason we simply choose a spatial profile for S(x). As previously described, the profile is a standard Gaussian function, which is truncated to be zero outside of a small region where the mucus profile (θg) transitions from θg = 0.02 to approximately zero (for numerical considerations, we ensure that θg is always greater than 1 × 10−16). Therefore we simply scale the magnitude of S(x) to achieve a total flux of hydrogen (F) that is physiologically reasonable. In the human stomach, the secretion of stomach acid may vary dramatically depending on various stimuli (a meal, for example). Secretion rates may range between 1 and 40 mmol/h (6). Assuming the human stomach has an interior area of 0.1 m2, this translates to a flux of secreted hydrogen between 2.78 × 10−7 and 1.11 × 10−5 M·cm/s. As we wish to simulate an “average” stomach, we chose to perform our experiments with a source S(x) which results in hydrogen flux of F = 6.11 × 10–6 M·cm/sec. This is roughly equivalent to a total hydrogen secretion of 22 mmol/h.
We note here that in the original experiments of Ref. 25, the authors report a hydrogen concentration sequestered by mucus of 130 mM. The same paper reports mucus secreted at a rate anywhere between 70 and 570 µm/h, depending on stimulation. The product of these two quantities is a flux of hydrogen [due to the mechanism proposed by Schreiber and Scheid (25)] anywhere between 3.61 × 10–7 and 2.06 × 10–6 M·cm/s. One criticism that has been leveled at the mechanism proposed by Schreiber and Scheid (see 22) is that these numbers appear to be too low to account for the larger fluxes of hydrogen that may be secreted by either the human (6) or guinea pig stomach (5). However, the fluxes implied by (25) are not completely incompatible with observed hydrogen fluxes. Furthermore, the series of experiments which determined the sequestration capacity of mucus did not attempt to measure mucus produced during stimulated gastric secretion, nor how it may differ from mucus produced by an unstimulated stomach. Therefore, it is possible that the numbers reported in Ref. 25 underestimate the ability of mucus to sequester and transport hydrogen protons.
APPENDIX B
Numerical Scheme
Here we outline the discretization that is utilized to simulate the system of Eqs. 1 and 2. In many ways, our technique is a standard second-order finite volume discretization in space, combined with a first-order implicit-explicit (IMEX) time integration scheme (3). However, we were forced to make several modifications to the standard numerical techniques to account for various nonlinear terms. We begin by discretizing space using a so-called “staggered grid.” Two collections of spacial points are defined, and various quantities more naturally “live” at each. The first collection of points we refer to as “cell edges,” and they are defined by
| (B1) |
where Δx = L∕N is the spatial resolution of the grid. The second collection of points are referred to as “cell centers” and are defined by
| (B2) |
There are in total N + 1 cell edges and N + 2 cell centers, but not all correspond to spatial locations within our domain. The cell edges x0 and xN, as well as the cell centers x1∕2 and xN+1∕2, lie either at, or outside the boundary of the computational domain. These are often called “ghost points” and quantities located at them are a numerical convenience used to help enforce boundary conditions, but may not necessarily correspond to a physical quantity. All other points lie within the domain and will be referred to as interior cell centers and interior cell edges. A schematic of the spatial discretization is shown in Fig. B1. Finally, we have a single temporal discretization
Fig. B1.

A schematic representation of our computational grid for N = 5. Dashed vertical black lines indicate the boundaries of the computational domain. Circles indicate cell centers, whereas diamonds indicate cell edges. Interior points are drawn with solid lines whereas ghost points are drawn with dash-dot lines.
| (B3) |
We approximate ionic concentrations at cell centers. Where necessary, we use a second subscript j to denote the spatial location where an approximation takes place, while a superscript n denotes the temporal location.
| (B4) |
Finally, we introduce the quantity Φ to approximate the electric potential gradient. This quantity “lives” at cell edges (j = 0, 1, . . . N).
| (B5) |
To approximate the Nernst-Planck-type equation at interior cell centers, we use standard finite-difference and finite volume discretizations for all linear terms. The advective flux is treated with a standard explicit upwinding scheme, whereas the diffusive flux is treated with a standard implicit second-order, variable-coefficient, finite difference scheme (18). However, the electric flux term and buffering reaction term both involve nonlinear products of two model variables. Therefore, we treat these terms semi-implicitly in time. To do so requires extrapolating “forward” in time. We use first-order extrapolation whenever possible, and zeroth order whenever we must (i.e., at the very first time step). Doing so allows us to define the quantities
| (B6) |
Finally, we utilize the same “second subscript” notation to denote the solvent volume fraction θs(x) at various spatial locations, although we note here no approximation is necessary as we can simply evaluate the given function.
We are now able to discretize Eq. 1 for each of the four ionic species, at each interior cell center (j = 1/2, 3/2, . . . N−1/2):
| (B7) |
| (B8) |
| (B9) |
| (B10) |
We also discretize the boundary conditions for each species implicitly in time except (again) for the nonlinear term which represents the electric flux. To approximate ionic species at a boundary, we utilize linear interpolation (in space) using ghost points and the first interior cell center. At the left boundary of our domain (where j = 0) we have the following equations:
| (B11) |
| (B12) |
| (B13) |
| (B14) |
The boundary conditions at the right are significantly simpler:
| (B15) |
| (B16) |
| (B17) |
| (B18) |
Finally, we have a set of discrete equations which enforce the electroneutrality constraint at the interior cell centers (j = 1/2, 3/2, . . . N−1/2) as well as the ghost point corresponding to j = –1/2.
| (B19) |
We enforce the electroneutrality constraint at the left-most ghost point even though the concentrations at this point do not represent physical quantities. This is done to ensure that (up to linear approximation), the electroneutrality constraint is satisfied up to and including the left boundary. We do not need a similar equation at the right ghost cell center because Eqs. B15–B18 together with choosing HL, BL, AL, and IL satisfying electroneutrality imply this condition is already met.
Now, at a given time tn, the concentrations are known for j = −1/2, 1/2, . . . N+1/2 and i = H,I,A,B. So is the approximate electric potential gradient for j = 0, 1, . . . N. We then extrapolate forward in time to find , which is necessary for our semi-implicit treatment of nonlinear terms. Once these quantities are known, Eqs. B7–B19 represent a system of linear equations which may be solved for concentrations and the potential gradient (simultaneously) at the next time step ( and ). The system is integrated forward in time in this manner. The explicit treatment of the advective flux requires that we satisfy a numerical CFL condition
However, our semi-implicit treatment of the nonlinear buffering reaction drastically relaxes the time-step restrictions which would normally be associated with the extremely stiff buffering reaction. Similarly, the fact that we treat the nonlinear electric flux semi-implicitly and solve for the electric potential gradient and concentrations simultaneously alleviates the stiffness that would normally be associated with time-splitting the system (updating concentrations and potential gradient sequentially).
We refined in space and time (decreased Δx and Δt by a factor of 2 each) until refining the simulation resulted in less than 2% change in steady-state concentrations. In our experience, this was true with Δx = 1 × 10−3 cm (which corresponds to N = 200 interior cell centers) and Δt = 5 × 10−4 s. However, for extra graphical clarity we ran nearly all simulations at twice this resolution, with Δx = 5 × 10−4 cm (which corresponds to N = 400 interior cell centers) and Δt = 2.5 × 10−4 s. The only exceptions to this were the simulations used to generate Fig. 3A. The sheer number of data points necessary to produce this graph rendered this simulation extremely time intensive. Therefore this graph was generated using simulations with Δx = 1 × 10−3 cm and Δt = 5 × 10−4 s. The source code used to perform these simulations is publicly available at https://github.com/OwenLewis/Mucus_pH_diffus.
REFERENCES
- 1.Allen A, Flemström G. Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin. Am J Physiol Cell Physiol 288: C1–C19, 2005. doi: 10.1152/ajpcell.00102.2004. [DOI] [PubMed] [Google Scholar]
- 2.Andersen OS. Cellular electrolyte metabolism. In: Encyclopedia of Metalloproteins. New York: Springer, 2013, p. 580–587. doi: 10.1007/978-1-4614-1533-6_223. [DOI] [Google Scholar]
- 3.Ascher UM, Ruuth SJ, Wetton BTR. Implicit-explicit methods for time-dependent partial differential equations. SIAM J Numer Anal 32: 797–823, 1995. doi: 10.1137/0732037. [DOI] [Google Scholar]
- 4.Bahari HM, Ross IN, Turnberg LA. Demonstration of a pH gradient across the mucus layer on the surface of human gastric mucosa in vitro. Gut 23: 513–516, 1982. doi: 10.1136/gut.23.6.513. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Batzri S, Harmon JW, Dubois A, Moskowitz D, Weichbrod R, Rich NM. A new in vivo method for repeatedly studying gastric acid secretion and other secretory parameters in awake guinea pig. J Surg Res 43: 398–406, 1987. doi: 10.1016/0022-4804(87)90097-7. [DOI] [PubMed] [Google Scholar]
- 6.Berne RM, Levy MN. Physiology (3rd ed.). St. Louis, MO: Mosby, 1993. [Google Scholar]
- 7.Chu S, Tanaka S, Kaunitz JD, Montrose MH. Dynamic regulation of gastric surface pH by luminal pH. J Clin Invest 103: 605–612, 1999. doi: 10.1172/JCI5217. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Coskun T, Chu S, Montrose MH. Intragastric pH regulates conversion from net acid to net alkaline secretion by the rat stomach. Am J Physiol Gastrointest Liver Physiol 281: G870–G877, 2001. [DOI] [PubMed] [Google Scholar]
- 9.Cussler EL. Diffusion: Mass Transfer in Fluid Systems (3rd ed.). Cambridge, UK: Cambridge University Press, 2009. doi: 10.1017/CBO9780511805134. [DOI] [Google Scholar]
- 10.Engel E, Guth PH, Nishizaki Y, Kaunitz JD. Barrier function of the gastric mucus gel. Am J Physiol Gastrointest Liver Physiol 269: G994–G999, 1995. [DOI] [PubMed] [Google Scholar]
- 11.Engel E, Peskoff A, Kauffman GL Jr, Grossman MI. Analysis of hydrogen ion concentration in the gastric gel mucus layer. Am J Physiol Gastrointest Liver Physiol 247: G321–G338, 1984. [DOI] [PubMed] [Google Scholar]
- 12.Flemström G, Isenberg JI. Gastroduodenal mucosal alkaline secretion and mucosal protection. News Physiol Sci 16: 23–28, 2001. [DOI] [PubMed] [Google Scholar]
- 13.Fordtran JS, Locklear TW. Ionic constituents and osmolality of gastric and small-intestinal fluids after eating. Am J Dig Dis 11: 503–521, 1966. doi: 10.1007/BF02233563. [DOI] [PubMed] [Google Scholar]
- 14.Haynes WM, Lide DR, Bruno TJ, editors. CRC Handbook of Chemistry and Physics (95th ed.). Boca Raton, FL: CRC Press, 2014. [Google Scholar]
- 15.Holm L, Flemström G. Microscopy of acid transport at the gastric surface in vivo. J Intern Med 228, Suppl 732: 91–95, 1990. doi: 10.1111/j.1365-2796.1990.tb01478.x. [DOI] [PubMed] [Google Scholar]
- 16.Johansson M, Synnerstad I, Holm L. Acid transport through channels in the mucous layer of rat stomach. Gastroenterology 119: 1297–1304, 2000. doi: 10.1053/gast.2000.19455. [DOI] [PubMed] [Google Scholar]
- 17.Keener J, Sneyd AJ.. Mathematical Physiology. I. Cellular Physiology (2nd ed.). New York: Springer, 2009. [Google Scholar]
- 18.Leveque RJ. Finite Difference Methods for Ordinary and Partial Differential Equations. Steady-State and Time-Dependent Problems. Philadelphia, PA: Society for Industrial and Applied Mathematics, 2007. doi: 10.1137/1.9780898717839. [DOI] [Google Scholar]
- 19.Li L, Lieleg O, Jang S, Ribbeck K, Han J. A microfluidic in vitro system for the quantitative study of the stomach mucus barrier function. Lab Chip 12: 4071–4079, 2012. doi: 10.1039/c2lc40161d. [DOI] [PubMed] [Google Scholar]
- 20.Macknight AD, Dibona DR, Leaf A, Civan MM. Measurement of the composition of epithelial cells from the toad urinary bladder. J Membr Biol 6: 108–126, 1971. doi: 10.1007/BF01873458. [DOI] [PubMed] [Google Scholar]
- 21.Odes HS, Hogan DL, Steinbach JH, Ballesteros MA, Koss MA, Isenberg JI. Measurement of gastric bicarbonate secretion in the human stomach: different methods produce discordant results. Scand J Gastroenterol 27: 829–836, 1992. doi: 10.3109/00365529209000149. [DOI] [PubMed] [Google Scholar]
- 22.Phillipson M. Acid transport through gastric mucus. Ups J Med Sci 109: 1–24, 2004. doi: 10.3109/2000-1967-106. [DOI] [PubMed] [Google Scholar]
- 23.Riddell MJ, Strong JA, Cameron D. The electrolyte concentration of human gastric secretion. Q J Exp Physiol Cogn Med Sci 45: 1–11, 1960. [Google Scholar]
- 24.Schreiber S, Nguyen TH, Stüben M, Scheid P. Demonstration of a pH gradient in the gastric gland of the acid-secreting guinea pig mucosa. Am J Physiol Gastrointest Liver Physiol 279: G597–G604, 2000. [DOI] [PubMed] [Google Scholar]
- 25.Schreiber S, Scheid P. Gastric mucus of the guinea pig: proton carrier and diffusion barrier. Am J Physiol Gastrointest Liver Physiol 272: G63–G70, 1997. [DOI] [PubMed] [Google Scholar]
- 26.Schubert ML. Gastric secretion. Curr Opin Gastroenterol 20: 519–525, 2004. doi: 10.1097/00001574-200411000-00003. [DOI] [PubMed] [Google Scholar]
- 27.Sircar S, Keener JP, Fogelson AL. The effect of divalent vs. monovalent ions on the swelling of mucin-like polyelectrolyte gels: governing equations and equilibrium analysis. J Chem Phys 138: 014901, 2013. doi: 10.1063/1.4772405. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Tinoco I, Sauer K, Wang JC, Puglisi JD. Physical Chemistry: Principles and Applications in Biological Sciences (4th ed.). Upper Saddle River, NJ: Prentice Hall, 2002. [Google Scholar]
- 29.Williams SE, Turnberg LA. Retardation of acid diffusion by pig gastric mucosa: a potential role in mucosal protection. Gastroenterology 79: 299–304, 1980. [PubMed] [Google Scholar]
- 30.Williams SE, Turnberg LA. Demonstration of a pH gradient across mucus adherent to rabbit gastric mucosa: evidence for a ‘mucus-bicarbonate’ barrier. Gut 22: 94–96, 1981. doi: 10.1136/gut.22.2.94. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Zeebe RE. On the molecular diffusion coefficients of dissolved CO,HCO3-, and CO32- and their dependence on isotopic mass. Geochim Cosmochim Acta 75: 2483–2498, 2011. doi: 10.1016/j.gca.2011.02.010. [DOI] [Google Scholar]





