Escolar Documentos
Profissional Documentos
Cultura Documentos
Suppose you want to model a flow where the boundary conditions are changing with time. Take the
case of diffusion of drug from a patch into the skin. The drug concentration in the patch falls down with
time and hence we need a time varying flux condition on the skin boundary where the drug is diffusing
into the skin. This is an example of time varying boundary condition applied to the species transfer
equation. The same may be true in case of the energy or the momentum equation. For example, take
the case of air intake through the nose. If a full cycle of inhalation and exhalation is considered, it can
be seen that the velocity of air flowing in varies with time. We can implement these models in
COMSOL. The following example uses heat flux as the variable for the time varying input.
Temperature, species concentration, flux (heat and species), velocity and material property values can
be defined as time varying quantities similarly. These variables will be denoted as “dependant
variables” in the subsequent discussion.
COMSOL provides us with 2 options to specify time varying boundary conditions.
¾ The dependant variable can be defined as a function of time by specifying a set of data points
(dependant variable vs. time) (see Method 1 below) similar to how we specified properties
varying with temperature for the CRYOSURGERY Tutorial.
¾ The second option in COMSOL is to specify the dependant variable as any function of time.
(see Method 2 below)
Example 1: Specifying Data Points
1) Open the Boundary Settings window:
Physics >> Boundary Settings >> Select
Heat Flux under Boundary Condition from
the drop-down menu for the Boundary you
want to specify the time varying heat flux
for.
9) Click OK
6) Click Ok.