MassTransferValue
MassTransferValue[pred,vars,pars]
represents a mass transfer boundary condition for PDEs with predicate pred indicating where it applies, with model variables vars and global parameters pars.
MassTransferValue[pred,vars,pars,lkey]
represents a mass transfer boundary condition with local parameters specified in pars[lkey].
Details


- MassTransferValue specifies a boundary condition for MassTransportPDEComponent and is used as part of the modeling equation:
- MassTransferValue is typically used to model the effect of a reactive flow outside the simulation domain.
- MassFluxValue models mass species transferred across some part of the boundary with dependent variable
in [
], independent variables
in [
] and time variable
in [
].
- Stationary variables vars are vars={c[x1,…,xn],{x1,…,xn}}.
- Time-dependent variables vars are vars={c[t,x1,…,xn],t,{x1,…,xn}}.
- The non-conservative time-dependent mass transport model MassTransportPDEComponent is based on a convection-diffusion model with mass diffusivity
, mass convection velocity vector
, mass reaction rate
and mass source term
:
- The conservative time-dependent mass transport model MassTransportPDEComponent is based on a conservative convection-diffusion model given by:
- The mass transfer value MassTransferValue with mass transfer coefficient
[
], external mass concentration
[
] and boundary unit normal
models:
- Model parameters pars as specified for MassTransportPDEComponent.
- The following additional model parameters pars can be given:
-
parameter default symbol "AmbientConcentration" - 0
, external mass concentration [
]
"MassTransferCoefficient" 1 , mass transfer coefficient [
]
- All model parameters may depend on any of
,
and
, as well as other dependent variables.
- To localize model parameters, a key lkey can be specified, and values from association pars[lkey] are used for model parameters.
- MassTransferValue is a special case of a MassFluxValue.
- MassTransferValue evaluates to a generalized NeumannValue.
- The boundary predicate pred can be specified as in NeumannValue.
- If the MassTransferValue depends on parameters
that are specified in the association pars as …,keypi…,pivi,…], the parameters
are replaced with
.




Examples
open allclose allBasic Examples (2)
Scope (3)
Define model variables vars for a transient acoustic pressure field with model parameters pars and a specific boundary condition parameter:
Define model variables vars for a transient acoustic pressure field with model parameters pars and multiple specific parameter boundary conditions:
Model mass transport of a pollutant in a 2D rectangular region in an isotropic homogeneous medium. Initially, the pollutant concentration is zero throughout the region of interest. A concentration of 3000 is maintained at a strip with dimension 0.2
located at the center of the left boundary, while the right boundary is subject to a parallel species flow with constant concentration of 1500
, allowing for mass transfer. A pollutant outflow of 100
is applied at both the top and bottom boundaries. A diffusion coefficient of 0.833
is distributed uniformly with a uniform horizontal velocity of 0.01
:
Set up the mass transport model variables :
Set up a rectangular domain with a width of and a height of
:
Specify model parameters species diffusivity and fluid flow velocity
:
Set up a species concentration source of 0.2 in length at the center of the left surface:
Set up a mass transfer boundary on the right surface:
Text
Wolfram Research (2020), MassTransferValue, Wolfram Language function, https://reference.wolfram.com/language/ref/MassTransferValue.html.
CMS
Wolfram Language. 2020. "MassTransferValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MassTransferValue.html.
APA
Wolfram Language. (2020). MassTransferValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MassTransferValue.html