Vous êtes sur la page 1sur 2

About the advection-diffusion equation Implicit methods overestimate the fluxes by a value of the same order and also

ds overestimate the fluxes by a value of the same order and also introduce a The correlations to compute sensible heat transfer and latent heat transfer are identical. In
The advection-diffusion equation states that the rate of change of a property depends on the phase error. the former the temperature difference is the driving force, while in the latter the driving
divergence of the advective and diffusive fluxes. force is the gradient of water vapor partial pressure at the water temperature and at the
The advective flux can be high and its contribution for the rate of change of a property can Are implicit methods more precise than explicit methods? No, they have the same atmospheric temperature and the transfer coefficient has the same shape. Why is this
be negligible. Idem for the diffusive flux. Why can it be neglectable? The divergence is the magnitude of errors. However implicit methods generate more stable algorithms. Its so?Because both processes are dominated by a convective heat transfer mechanism, and thus
extent to which there is more of some quantity exiting an infinitesimal region than entering it. interesting to say that the more accurate method is the semi-implicit (the average of them the transfer coefficient must have a similar format even if the driving forces are not the same.
If it is different from zero it means that it is a source or sink at some point. What contributes to both). t*= t+ t (semi-implicit method) gives the maximum accuracy. Values at t*= t+ t They are even related by the Bowens ratio, which states: es-saturation vapor pressure; es,a-
the change of a property is its divergence, so even if there is a big flux incoming, it can be can be obtained averaging the values of the properties calculated at time t and time t+ t. The saturation vapor pressure at atmospheric temp. r-relative humidity fraction B=sensible/latent

balanced by an out coming flux. price to pay for this accuracy improvement is the increasing of the number of calculations to = =
,
Why does not radiation appear in the advection-diffusion equation?The advection-diffusion perform.
In case of gases surface fluxes also depend on the partial pressures, but the exchange
equation also called convection-diffusion equation describes a physical phenomenon where Why do central differences for advection violate the transportive property of
coefficient is a function of water turbulence and is independent of the wind speed. Why is
particles, energy or other properties are transferred inside a system due to diffusion advection?Because one of the coefficients is always negative if there is no diffusion.
this so? Water has a thermal capacity much higher than the air and as a consequence the heat
(associated with the molecules Brownian movement and dependent on the property gradient) enough to change the air temperature has a small impact on the water temperature. As a
or advection(heat and mass being transported by the flow of a fluid).Convection can be seen consequence, the mixing happening inside the water column has a minimal effect on the
as a mixture of these two. However, radiation does not fall into any of these categories so it surface water temperature. On the contrary, that heat has a big influence on the surface air
has an independent equation to describe it, depending on emissivity and Stephan-boltzman temperature and consequently we have to remove that air from the free surface. For that we
Although central differences violate the transportive properties they can generate stable
constant. need turbulence in the atmosphere. If we think about water moisture from evaporation, the
algorithms if the grid Reynolds number does not exceed 2. Why can diffusion stabilize
Why do we call Heat equation to the Temperature evolution equation? Why not write process is even more important because we have to remove vapour from the free surface in
central differences? The use of a downstream (a frente) value (Ci+1) to calculate the spatial
an equation for enthalpy instead of an equation for temperature?We call heat equation order to low the relative humidity. On the contrary the dissolution capacity of water is low and
derivative shows that the information has been used backwards. Physically diffusion
because it describes the evolution of heat or variation of temperature in a given region consequently the water close to the free surface very quickly equilibrates the partial pressure
propagates the information in any direction (according to the local gradients). When the
over time (its a differential equation whose solution provides the temperature distribution in a in the atmosphere and consequently to maintain the flux we need to replace the water close to
advective flux is calculated using downstream information, one can remove matter from a
stationary medium). The way the temperature develops in the control volume is parallel to the the free surface, i.e. we need turbulence in the water column.
control volume that is not there to be removed. This is the mechanism that generates negative
way the heat in that body evolves. We dont write an equation for enthalpy because enthalpy Anthropogenic discharges can be of point or diffuse type. Point sources are usually easy to
concentrations. The method is unstable because those errors are amplified in time. The
is a function of state that depends on temperature, pressure and volume. Therefore, it characterize, both in terms of flow rate and concentrations. Write the equation that gives
consideration of (enough) diffusion makes the method stable, but does not avoid the
wouldnt make sense to build an equation more complex to due to the fact that temperature the modification of concentration in the discharge cell due to a point discharge.
generation of negative concentrations. The upstream discretization was proposed first to avoid
would also be included.
this problem.
Why are diffusivity units m2/s for any property?.Diffusivity depends on:velocity of molecules
Why can central differences generate negative concentrations? Because this method doesnt
(m/s), the larger this is, the faster they transfer their properties and on the distance (m)
respect the transportivity property of advection. According to this method the volume i will Mt=vol*Ct, Ct- concetrao, Cd-discharge concentration, Vol-cells volume, Qd-discharge
traveled by each molecule up to collide with another molecule (the larger is the distance, the
get downstream information about the concentration through the average process. This Diffuse pollution is presently the major source of pollution in Europe (point sources are very
higher is diffusivity).
generates instabilities and creates conditions to obtain negative concentration values. much controlled). The excess of irrigation in agriculture enhances its impact on river water
The product of these two properties is the diffusivity
Is the upwind method always better than central differences? No, for example if diffusion is quality. How does this happen? With the excess of irrigation of agricultural fields, what
Velocity[LT-1]*Length [L] = Diffusivity [L2T-1]
dominant, then central differences method is better because it will have second order precision happens is that a part of the water is absorbed by the plants and the other part which is not
Why are Metallic materials good heat conductors? Metallic materials structure is called sea
generating more precise results, whereas the other has a 1st order precision. absorbed can flow to the nearby rivers (or to underground reservoirs) carrying organic matter
of free electrons, which means that the electrons are able to move freely along the material
and translates in properties such as high conductivity. This favors the collisions due to thermal About the boundary and initial conditions and pesticides residues. The pesticide residues problem is evident. Pesticides are venom and as
vibrations of the electrons passing the energy more quickly from one point to the other. The boundary conditions are part of the solution (they are the solution along the boundary). that they can harm the water bodies ecosystems and the water quality. Organic matter is a
Thus that means that the solution is bad when we have uncertainty on boundaries? The much more complex issue. Photosynthetic organisms release oxygen into the water. When the
About the numerical methods
boundary conditions will not only affect the values at the boundaries, but they are part of the oxygen saturation is reached the water starts loosing it to the atmosphere by the form of small
Numerical methods solve equations in an algebraic form. The physical principle is the same
solution for every cell. If these values are far away from the real ones, the solution will not be bubbles in a quite fast process. The same amount of O2 liberated in photosynthesis will be
as that described by the corresponding partial differential equations. Why do algebraic
accurate. We can mitigate this by having more cells, considering boundary values that are required to oxidize the organic matter present in the water body. As additional organic matter
equations have a certain ambiguity compared to differential equations?Because in algebraic
close to the real ones, and the most accurate solution will be in the middle of the cells where was discharged by the excess irrigation the previous equilibrium will be destroyed and thus the
equations one only solves the first two terms of the Taylors series, neglecting the other factors
the effect of the boundary conditions is minimal. The initial conditions can be mitigated if we concentration of DO will decrease significantly due to the fact that O2 release is faster than its
and losing accuracy in comparison with the differential equations.
allow the problem to reach the steady state (equilibrium). Initial conditions are often not absorption and to the fact that demand of oxygen by the system has also increased. This has
Errors in numerical models appear as Numerical diffusion or in terms of numerical
important because natural systems are dissipative and open, i.e. they exchange through the high impact in the quality of the water.
instabilities. What is numerical diffusion and what is an instability? Difficulty with the
open boundaries and tend to forget the initial information. For the same reason boundary About the Results
computer simulation, where the simulation medium exhibits a higher diffusivity than the real
conditions are very important. The 1D advection diffusion model can only simulate linear systems. It is not adequate to
medium. The algorithm assumes uniform concentration inside the control volume and this may
What kind of boundary conditions can we impose in numerical models? How do they simulate ordinary lakes, but it could be used to simulate a long and narrow lake (e.g. a
not be true. Numerical Instability: The coefficients (k) multiplying by the variables (initial
compare with the boundary conditions imposed in the resolution of partial differential channel without flow). In this case the velocity would be null and there was no advection.
concentration) cannot be negative. If they are negative, it means that the larger the property
equations (Neumann-gradient/Dirichlet-imposed value). We can impose two different types How would an instantaneous emission in a cell evolve? What would be the final solution if
is in a point, the smaller its new value in the calculating point. If the concentration becomes
of boundary conditions. First we can impose values of a property in the beginning and in the there was no decay? And with decay? Without decay the concentration would tend to a
negative, it means that there is more destruction than the amount available. This is physically
end. These are called Dirichl conditions. This way we dont need to find an equation to constant value in the lake due to diffusion. With decay this concentration would tend to
impossible! Advection and diffusion transport material from one point to another. If a property
compute these values. Second we can impose a gradient between the two extremes of the disappear, the velocity and the reach of the emission of the lake would depend on the amount
increases in one point, it can only decrease in the other. Explicit Method Ct=(1-kdt)*Ct+dt
control volume. This procedure corresponds to the Neumann conditions. When no information of diffusion and the decay rate.
Implicit Method Ct+dt=Ct/(1+kdt)
is provided about the gradient (flux), it is a simple and correct approach to consider it null. In How would the solution evolve in that lake if there was a continuous emission without
The courant number is an important parameter to understand numerical stability. What
numerical methods the same happened: we had to impose a concentration of water entering decay? Is it possible to get a stationary solution with decay? With a continuous emission and
does it represent? The courant number is the ratio between the displacement of the fluid
the channel and the diffusion (gradient) for the first and last sections of the cv. no decay the pollutant concentration would be constantly increasing and spreading out by
during a time step and the spatial size of the grid. When it is higher than 1 the whole content
For the initial conditions their relevance disappears after the spin up time. diffusion from the discharge cell to all the cells, and there wouldnt be a stationary solution.
of the cell will be removed during a time step and consequently the assumption of explicit
In a river it is common to assume that the heat flux across the bottom is null. This has some If there was velocity and no diffusion what should be the evolution? In reality there is
models that the fluxes can be computed as a function of the concentration ct during the whole
error. How does it influence the value of the computed water temperature? How could we numerical diffusion and the concentration will decay. Will the decaying rate due to
time step is not true.Cr=udt/dx
improve this boundary condition? The computed water temperature will be slightly warmer numerical diffusion be the same along the whole channel?Theres only advection
because there is a heat flux that is not being considered. This value wont be much larger In case of a channel with advection and two point discharges, what would be the shape of
because with the rise in temperature the radiative flux will be bigger as will be the latent heat the solution if there was no decay? And with decay?
flux (more water moisture due to higher temperatures) and the sensible heat. For this reason, No decay (with 2 discharges): Decay (with 2 discharges):
disregarding this value is most of the times acceptable. It would be easily calculated, though.
In explicit methods the courant number cannot exceed 1. How is this related to stability? A We would only have to include in the temperature calculation a new heat flux dependent on
model is unstable if errors are amplified. the influence of a point on its neighbors through the temperature and conduction of the river bed.
advection or diffusion cant be negative meaning that increasing the concentration in one Evaporation is an important mechanism to reduce the temperature of a water body (or of
point can never cause a reduction in its neighboring points. Since the coefficient of Ci+1 is any wet surface). What are the factors controlling it? Why is the wind velocity more
always negative, the bigger this concentration, the smaller will be Ci. Since all the terms are important than the water velocity for the rate of evaporation?The factors controlling it are
being multiplied by Cr, the higher it is, the bigger will be the error growth rate. the relative humidity fraction in the atmosphere, the wind speed, and the temperature. The
Why are implicit methods more stable than explicit methods? In explicit methods the flux wind speed is more important than the water speed because it defines the rate of change of Legislation imposes maximum (or minimum) values for variables impacted by man,
during a time step is proportional to the area of the rectangle with sides lengths t an Ct, humid air above the water. Changing the humid air with fresh air above the river will have a including for temperature and for biochemical pollutants. A treatment prior to discharge is
while in implicit methods is proportional to t an Ct+t. So in explicit methods if the slope of bigger impact because the humidity gradient will be greater. necessary when the untreated discharge is too high. Show with an equation that the
the curve is positive it underestimates the value, whereas if it is negative they overestimate it.
maximum values depend on size of the river (cross section) and on the river discharge.
property there. Seeing the way around, the Atmosphere transports property to the interface,
increasing its value and consequently the gradient in the water increasing the flux.
The temperature model shows a daily cycle. How does solar radiation contribute for the _____________________________________________________________________________
amplitude of that cycle? And sensible and latent heat fluxes?One cycle is more or less one Why are central differences unstable without diffusion? They violate the transportive
day long. Between the lower point and the upper point it retains heat. During the night the property. A downstream point learns about the concentration upstream when the average is
heat will go down. If Tair>Twater we can increase this temperature. The solar radiation is a net used to compute the value of the property on the surface of the control volume. As a
input of heat increases the amplitude of the daily cycle the water receives solar radiation consequence, if the downstream value is large compared with the upstream value one can
and loses heat through humidity and evaporation (which is higher in hotter days). obtain a value at the interface large enough to empty (or make negative) the new upstream
Evap=h(Pwater-Pair). value. This always happens when the upstream value is null and the downstream value is not.
About identical problems Why can diffusion stabilize the method? Because diffusion transports properties against the
What would be the modifications of the model necessary to simulate:A solar oven?There is gradient. If the concentration downstream is higher than upstream it generates an upstream
no advection. Wed only need one cell and wed need to compute the heat surface boundary flux. If this flux is larger than the advective flux, it means that advection is transporting
condition in the bottom. Would work if the container had a black bottom the light is not something that came from downstream and this physically meaningful. Diffusion cant
reflected back to the atmosphere; it has to be contained. advection = 0. however be so strong that would empty the downstream cell. So there is a limitation to the
The evolution of the temperature in the ground, without rainThere is water evaporation that value of the diffusion number.
can be evaporated inside the soil. We should have the spils and gas. We should consider the Can Central differences be used when advection is the dominant process? No. The grid
evaporation inside each cell and then diffusion in the soil. Reynolds number is limited by 2.
The evolution of the temperature of the ground with rainThe water will move downwards If diffusion is dominant is better to use central differences or upwind? In this case central differences
and will carry heat from the top to the deeper layers. are better because they have second order precision and thus generate more accurate results.
What if the algorithm was implicit? Would it be stable? Yes, but it could still generate negative
The evolution of the temperature in a rectangular finAdvection=0. Theres conduction from
concentrations that could be problematic in ecological models since they would transform sources
one end of the channel to the other end.
into sinks and vice-versa. In the implicit calculation the values used to compute fluxes are the values
The evolution of the temperature in a triangular finReduce the cross section of the at t+dt. As a consequence if the value inside a cell becomes negative, the amount removed from the
rectangular. The difference to the rectangular is just the cross section. We have to consider the cell becomes positive. However the value that enters would become negative because it is the
area of each cell, not an uniform cross section. average with the left cell. Anyhow, globally the implicit algorithm is more stable than the explicit.
The temperature across a wallLike in the case of a fin, theres only conducton. And if the method was upwind implicit? In this case the method would be unconditionally stable and
The temperature along a pipeExactly the same. The pipe is getting heat from from the concentrations would never get negative. The method uses the new values to compute fluxes and
surface. Convection coefficient x gradient of temperature. thus, if a value would become negative the flux would be reversed (would enter instead of leaving)
and thus the concentration can never get negative.
Why are implicit methods unconditionally stable? UPWIND The explicit method the amount that
leaves a cell is physically limited by what is inside the cell at time t, i.e. the Courant number is limited
by 1. In the implicit method what leave the cell is what will be there at time t+dt and thus there is
no limitation. If there would be nothing in the cell, nothing would leave. In the explicit method if one
removes from one cell more than what is inside, the concentration can become negative.In the implicit
method what is leaving the cell is a function of what would be there at the end of the time step and
consequently the new value can never be negative.
What about the central-differences? In this case, even implicit methods can generate negative
concentrations, but the values are bounded by the positive concentrations in the neighboring cells.
Why are central implicit diferences more stable than explicit ones? Because in the explicit method
what leaves the cell is what is there at time t while in the implicit method is what it will be there at
time t+dt.In the explicit case one can get very low negative values when the courant number is large,
while in the implicit method the average value computed at the interface will always be positive and
consequently the negative values are bounded by this condition.
OD-BOD K0=3.9*sqrt(u/h) u-average velocity in the water column/h-water depth
Csat=Kh*pg Kh-henrys constant [mol/L.atm] - depends on the temperature and type of gas. Pg is the
partial pressure of the gas [atm]. If the water is oversaturated, the oxygen is lost to the atmosphere.
The Csat decreases with temperature. Chama- eutrofizao um fenmeno causado pelo excesso
de nutrientes numa massa de gua, provocando um aumento excessivo de algas. Estas, por sua vez,
fomentam o desenvolvimento dos consumidores primrios.Este aumento da biomassa pode levar a
uma diminuio do oxignio dissolvido, provocando a morte e consequente decomposio de muitos
organismos
If lateral discharges are the main source of BOD one can assume that there are no sources.

The units of k are day-1.

Exchanges between air and water: The flux depends on the vertical gradient and on
diffusivity, i.e. on the capacity to remove the exchanged material from the interface zone. In
this case, the vertical flux is downwards. Inside the water the property located at the interface
is removed downwards, decreasing the concentration. The atmosphere replies locating more

Vous aimerez peut-être aussi