Aula Teórica 9&10 Equação de Evolução. Exemplos. Caso 1D.

Slides:



Advertisements
Similar presentations
Aula 5 Mecânica dos Fluidos 2-Estática do fluido.
Advertisements

Aula Prática 5 Balanços de massa e problemas com tensões de corte.
2ª aula Evolution Equation. The Finite Volume Method.
Aula Teórica 11 Integral Budgets: Momentum. General Principle & Mass The rate of accumulation inside a Control Volume balances the fluxes plus production.
Aula Teórica 17 Equação de Evolução da Energia Mecânica.
Aula Teórica 17 Equações em coordenadas cilíndricas. Força centrífuga, força de coriolis e escoamento laminar num tubo cilíndico.
Control Volume & Fluxes. Eulerian and Lagrangian Formulations
Aula Teórica 8 Equação de Bernoulli. Bernoulli’s Equation Let us consider a Stream - pipe such as indicated in the figure and an ideal fluid (without.
Introduction to Plasma-Surface Interactions Lecture 6 Divertors.
Chapter 2 Introduction to Heat Transfer
Sources of the Magnetic Field
Lecture 2 Properties of Fluids Units and Dimensions.
Basic Governing Differential Equations
KINEMATICS OF PARTICLES
ON WIDTH VARIATIONS IN RIVER MEANDERS Luca Solari 1 & Giovanni Seminara 2 1 Department of Civil Engineering, University of Firenze 2 Department of Environmental.
Gauss’ Law Besides adding up the electric fields due to all the individual electric charges, we can use something called Gauss’ Law. Its idea is similar.
Chapter 23 Gauss’ Law.
Ground-Water Flow and Solute Transport for the PHAST Simulator Ken Kipp and David Parkhurst.
About Estuarine Dynamics
CHAPTER 7 TRANSVERSE SHEAR.
Monroe L. Weber-Shirk S chool of Civil and Environmental Engineering Basic Governing Differential Equations CEE 331 June 12, 2015.
Basic Governing Differential Equations
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
CE An Intro Problem—will lead to first homework Fluid is contained in along square duct, see cross section below, three faces of the duct are kept.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
Momentum flux across the sea surface
Derivation of the Gaussian plume model Distribution of pollutant concentration c in the flow field (velocity vector u ≡ u x, u y, u z ) in PBL can be generally.
Monroe L. Weber-Shirk S chool of Civil and Environmental Engineering Basic Governing Differential Equations CEE 331 July 14, 2015 CEE 331 July 14, 2015.
Boyce/DiPrima 10th ed, Ch 10.5: Separation of Variables; Heat Conduction in a Rod Elementary Differential Equations and Boundary Value Problems, 10th.
SELFE: Semi-implicit Eularian- Lagrangian finite element model for cross scale ocean circulation Paper by Yinglong Zhang and Antonio Baptista Presentation.
Flood Routing 2 Review of Energy Conservation Energy Grade Line Gradually Varied Flows, Head Loss Runge-Kutta Routing.
R 2R2R a a Today… More on Electric Field: –Continuous Charge Distributions Electric Flux: –Definition –How to think about flux.
A particle-gridless hybrid methods for incompressible flows
Mass Transfer Coefficient
Reynolds Transport Theorem We need to relate time derivative of a property of a system to rate of change of that property within a certain region (C.V.)
Pressure distribution in a fluid Pressure and pressure gradient Lecture 4 Mecânica de Fluidos Ambiental 2015/2016.
An example of vertical profiles of temperature, salinity and density.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Convection: Internal Flow ( )
Wednesday, Sep. 14, PHYS Dr. Andrew Brandt PHYS 1444 – Section 04 Lecture #5 Chapter 21: E-field examples Chapter 22: Gauss’ Law Examples.
Aula Teórica 9&10 Equação de Evolução. Exemplos. Caso 1D.
Firohman Current is a flux quantity and is defined as: Current density, J, measured in Amps/m 2, yields current in Amps when it is integrated.
Tuesday April 19, PHYS , Dr. Andrew Brandt PHYS 1444 – Section 02 Lecture #18 Tuesday April 19, 2011 Dr. Andrew Brandt Chapter 29 Lenz Law.
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Aula Teórica 5 Forças hidrostáticas sobre superfícies curvas. Flutuabilidade e estabilidade.
Lecture 8 Control Volume & Fluxes. Eulerian and Lagrangian Formulations.
Mecânica de Fluídos Ambiental 2015/2016
Integral budgets: mass and momentum Lecture 7 Mecânica de Fluidos Ambiental 2015/2016.
Pratical Lecture 4 Mecânica de Fluidos Ambiental 2015/2016.
Basic concepts of heat transfer
Evolution Equation Examples and 1D case Lecture 15 Mecânica de Fluidos Ambiental 2015/2016.
Capacitance Chapter 25. Capacitance A capacitor consists of two isolated conductors (the plates) with charges +q and -q. Its capacitance C is defined.
Gauss’ Law Chapter 23. Electric field vectors and field lines pierce an imaginary, spherical Gaussian surface that encloses a particle with charge +Q.
TEM – Lecture 7 Examples. Steps for resolution: 1- Power per apple? 2 - Apple Surface temperature? 3 - Apple (spherical) central temperature. How could.
Modelling of Marine Systems. Shallow waters Equations.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Lecture 15 Advection – Diffusion Equation and its numerical resolution.
Chapter 8: Internal Forced Convection
Boyce/DiPrima 9th ed, Ch 10.8 Appendix A: Derivation of the Heat Conduction Equation Elementary Differential Equations and Boundary Value Problems, 9th.
Shear in Straight Members Shear Formula Shear Stresses in Beams
Distributed Flow Routing
21th Lecture - Advection - Diffusion
Advection – Diffusion Equation
Advection – Diffusion Equation
ENGINEERING MECHANICS
topic4: Implicit method, Stability, ADI method
Convective Heat Transfer
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
Basic concepts of heat transfer: Heat Conduction
Presentation transcript:

Aula Teórica 9&10 Equação de Evolução. Exemplos. Caso 1D

Evolution Equation The rate of change inside the system is the (Production-Destruction) + (diffusion exchange). Designating Production – Destruction by (Sources – Sinks) and knowing that:

Equação de evolução Ou:

Diffusion plus advection Where is diffusive flux maximum?

Analysis of the evolution equation For the control volume: What is the sign of ? What does that mean physically (how does the advective flux vary with x1)? What is the relative value of diffusive flux in the lower and upper faces of the control volume? How does diffusive flux along x2 contribute to the concentration inside the control volume? If the flow is stationary and the material is conservative what is the relation between advection and diffusion? what is the divergence of the total flux (advection + diffusion)? x1 x2

Answers The advective term is negative. The velocity is positive and In other words, the advective flux decreases with x1, i.e., the quantity entering is bigger than the quantity leaving (per unit of area). The diffusive flux in the lower face is about zero. If located exactly over the symmetry line, the flux will be exactly zero, because the gradient is null On the upper face the diffusive flux is positive, i.e., the material is transported along the axis x2 because the concentration is higher inside the control volume than above the control volume. The divergence of the vertical diffusive flux contributes to decrease the concentration inside the volume. The divergence of the horizontal diffusive flux is negative because the gradient on the left side of the volume is higher than on the right side. Horizontal advection is however the main mechanism to increase the concentration inside the control volume. If the flow is stationary the horizontal advection plus the horizontal diffusion balance the vertical diffusion. The divergence of both fluxes would be zero If the velocity was increased, the concentration inside the control volume would tend to increase because the quantity entering would increase and thus the quantity leaving would have to increase too.

Case of concentration Consider two parallel plates and a property with a parabolic type distribution (blue) with maximum concentration at the center. Assume a stationary flow and a conservative property. a)Draw a control volume and indicate the fluxes (sense and relative magnitude). b)Where would the diffusive flux be maximum? Could this property be a concentration? What kind of property could it be? c)What is the sign of the material time derivative? d)If the material is conservative (no sink or source), can the profile be completely developed? e)If it was a concentration without adsortion, what would be the final profile? a)Diffusive flux increase with “r”. Advective flux depends on the longitudinal gradient, not yet known. b)Property gradient is maximum at the boundary. This means that there the diffusive flux is maximum and consequently the property can pass through the boundary. The property can be a concentration only if there is adsortion at the boundary. It could be a temperature or momentum as well. c)Property is being lost across the boundary and consequently there is a longitudinal negative gradient. The total derivative is negative (and so is the advective derivative) d)yes the system could be stationary, but the fluid would loose property along the flow. e)If it is stationary and conservative what would be the sign of the longitudinal gradient component? f)If it was a concentration this profile could not maintain. The gradient should become null at the solid boundary (no diffusive flux). The final profile would be uniform. Transversal diffusion would homogenize it. y

Nitrogen Transport in the Baltic Sea The figure shows the distribution of nitrate discharged by the river Oder after 4, 8, 12 and 16 years of emission. In the region next to the river mouth the concentration becomes constant after 8 years. What does that mean? Is advection important in this system?

1D case Vamos supor o caso de um reservatório com a forma de um canal rectangular de 10 m de largura e 200 de comprimento, com velocidade nula. A concentração é elevada na zona central e nula na generalidade do canal. O material é conservativo. Escreva a equação que rege a evolução da concentração. E se existisse decaimento?.

With first order decay How will the concentration evolve in each case? t0t0 t1t1 t2t2 t∞t∞ In case of decay, concentration are lower and tend to zero.

If there is a lateral discharge? Concentration will grow because of the discharge, will get homogenized because of diffusion and will decay because of decay. When discharge balances total decay, the system will reach equilibrium.

Solution of the problem The first case (pure diffusion) has analytical solution, but not the others. How to solve the problem numerically? The Reynolds Theorem: The lagrangian formulation:

The Eulerian formulation This evolution equation states that “the rate of change inside a control volume balances the fluxes, plus sources minus sinks”. In differential form the equation becomes:

Let’s split the channel into elementary volumes Cell i-1 Cell i Cell i+1 And apply the equation to each of them: If the property can be considered uniform inside each cell and along each surface: Where A is the area of the cross section between the elementary volumes, assumed constant in the academic example.

Numerical solution Dividing all the equation by the volume: In this equation we have two variables,, and an extra variable, c, which time we have not defined. Are the actual concentrations and are the concentrations that we want to calculate. The concentration c is the concentration used to calculate the fluxes and decay. What is it?

Flux calculation The flux equation gives quantity per unit of time. When we equation as: We are computing the amount that crossed the surface during a time period ( ) and dividing it by the length of the time. The most convenient time to allocate to c is the middle of the time interval:

The equation becomes This equation has 3 unknowns. The all channel requires the resolution of a system of equations in each time step.

Explicit calculation That can be solved explicitly, but has stability problems. If we had assumed: We would have got:

Implicit calculation That has less computation than the “average” approach, but still requires the resolution of a system of equations. If we had assumed: We would have got:

Results (D<0.5) D=0.25 DT=100 dx20 difusividate1 Timek=0 i-3i-2i-1ii+1i+2i The results evolve as expected.

Results (D=0.75) D=0.75 DT=300 dx20 difusividate1 Timek=0 i-3i-2i-1ii+1i+2i The results are strange. Concentration bigger than initial are obtained. Negative concentrations are also obtained…. The method is unstable

Stability The method became unstable because the parenthesis becomes negative when D>0.5; When the parenthesis changes sign, the effect of c i at time t changes. If it is positive the larger is the initial concentration the larger is the subsequent concentration. If it is negative the larger is the initial concentration the smaller is the subsequent, which is physically impossible. This is the limitation of the explicit methods. They are conditionally stable. In pure diffusion problems the D (the diffusion number) must be smaller than 0.5. If other processes exist (e.g. k ≠0) D must be smaller.

Implicit methods stability Implicit (as well as semi-implicit) methods are more difficult to program, but do not have stability limitations allowing larger values for D, meaning that we can combine small grid sizes with large time steps, while in explicit methods the time step is associated to the square of the spatial step.

How large should diffusivity be? We have to reassess the concept of diffusivity: “Diffusivity is the product of a non- resolved velocity part by the length of the displacement of the fluid due to that velocity”.

Definição de velocidade A figura representa moléculas de dois fluidos em repouso. A velocidade mede o volume de moléculas que passa por unidade de área. Se a velocidade for nula, o volume que passa num sentido é igual ao que passa no sentido contrário. CxCx C x+∆x

Difusão Mas as moléculas têm movimento browniano e por isso - num fluido - estão sempre a mudar de posição relativa. Se as moléculas que estão de um lado da superfície forem iguais às que estão do outro lado, o saldo é estatisticamente nulo. Se a concentração for diferente, então existirá um saldo com um fluxo resultante orientado da concentração maior para a menor.

Fluxo difusivo por unidade de área Na direcção “x”:

Value of diffusivity in our problem When we assume the velocity to be uniform in the cross section area, we are neglecting spatial variability. If the profile was parabolic the average velocity would be half of the maximum velocity. We would be neglecting a eddies with velocity similar to the average velocity and radius of half channel width. Diffusivity should be of the order of: UL/2.

Stability The system gets unstable if D>0.5 This equation shows that the length of the displacement due to diffusion must be smaller than half of the cell length.

Initial Conditions Initial values to be provided in each cell

Boundary conditions Boundary conditions specify how the fluid interacts with the surrounding environment. – Solid boundaries – Open boundaries, In geophysics boundaries can be vertical of horizontal (Top and bottom). Gravity make them important. One can impose property’s values or fluxes (advection and/or diffusion).

Input data Geometry, Flow properties, Process parameters, Execution parameters.