SlideShare a Scribd company logo
1 of 1
Download to read offline
Fick’s Law
Martin Jones
Diffusion is a transport phenomenon that involves mass transport or mixing that does not require bulk
motion. Fick’s law for transient phenomena is written thus,
∂φ
∂t
= · (D(x) φ) (1)
Where φ and D are concentration and diffusivity, repectively, scalar functions that depend on space and
time. And we have φ(x, 0) = φ0(x) and φ · n = 0 on the surface for our boundary conditions.
Now multiply both sides by an arbitrary test function V (x) and integrate over a volume Ω. Also,
integrating by parts on the RHS, the equation evolves to the following form, (making use first of the following
theorem):
Ω
V · (D φ)dΩ =
S
V (D φ · n)dS −
Ω
D( V · φ)dΩ
Ω
∂φ
∂t
V (x)dΩ = −
Ω
D(x) V · φdΩ (2)
Now we will discretize and write with basis functions in N dimensional space (using Einstein notation) where
N is on the order of the number of elements in the mesh,
φ(x, tk) = φk
i ψi (3)
and
V (x) = Vjψj (4)
Using the finite difference formula for the time derivative and plugging in we get,
Ω
φk+1
i − φk
i
∆t
· ψi(Vj · ψj)dΩ = −
Ω
D(x) (Vjψj) · (φk+1
i ψi)dΩ (5)
Now we may write N equations with N unknowns due to the arbitrariness of V (1 on the ith
node and zero
every where else). One gets,
1
∆t
M + K φk+1
=
1
∆t
Mφk
(6)
Where M is given by,
Mi,j =
Ω
ψiψjdΩ (7)
and K is given by,
Ki,j =
Ω
D(x) ψi · ψjdΩ (8)

More Related Content

What's hot

Question 1c Math 1
Question 1c Math 1Question 1c Math 1
Question 1c Math 1M.T.H Group
 
Ejercicios relacion de infiltracion
Ejercicios relacion de infiltracionEjercicios relacion de infiltracion
Ejercicios relacion de infiltracionRoy Berrospi Lopez
 
6.2 volume of solid of revolution dfs
6.2  volume of solid of revolution dfs6.2  volume of solid of revolution dfs
6.2 volume of solid of revolution dfsFarhana Shaheen
 
Volume of solid of revolution
Volume of solid of revolutionVolume of solid of revolution
Volume of solid of revolutionKushal Gohel
 
Double integration in polar form with change in variable (harsh gupta)
Double integration in polar form with change in variable (harsh gupta)Double integration in polar form with change in variable (harsh gupta)
Double integration in polar form with change in variable (harsh gupta)Harsh Gupta
 
Structure Design-I (Moment of Inertia)
Structure Design-I (Moment of Inertia)Structure Design-I (Moment of Inertia)
Structure Design-I (Moment of Inertia)Simran Vats
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washersdicosmo178
 
divergence of vector and divergence theorem
divergence of vector and divergence theoremdivergence of vector and divergence theorem
divergence of vector and divergence theoremAbhishekLalkiya
 
Lesson 13 volume of solids of revolution
Lesson 13 volume of solids of revolutionLesson 13 volume of solids of revolution
Lesson 13 volume of solids of revolutionLawrence De Vera
 
Cg 3 d translation
 Cg   3 d translation Cg   3 d translation
Cg 3 d translationMeenakshiK19
 

What's hot (16)

Double Integrals
Double IntegralsDouble Integrals
Double Integrals
 
Question 1c Math 1
Question 1c Math 1Question 1c Math 1
Question 1c Math 1
 
Work Out 2
Work Out 2Work Out 2
Work Out 2
 
Calc 7.3a
Calc 7.3aCalc 7.3a
Calc 7.3a
 
Ejercicios relacion de infiltracion
Ejercicios relacion de infiltracionEjercicios relacion de infiltracion
Ejercicios relacion de infiltracion
 
Solution 3 i ph o 36
Solution 3 i ph o 36Solution 3 i ph o 36
Solution 3 i ph o 36
 
6.2 volume of solid of revolution dfs
6.2  volume of solid of revolution dfs6.2  volume of solid of revolution dfs
6.2 volume of solid of revolution dfs
 
P13 047
P13 047P13 047
P13 047
 
Volume of solid of revolution
Volume of solid of revolutionVolume of solid of revolution
Volume of solid of revolution
 
Calc 2.3b
Calc 2.3bCalc 2.3b
Calc 2.3b
 
Double integration in polar form with change in variable (harsh gupta)
Double integration in polar form with change in variable (harsh gupta)Double integration in polar form with change in variable (harsh gupta)
Double integration in polar form with change in variable (harsh gupta)
 
Structure Design-I (Moment of Inertia)
Structure Design-I (Moment of Inertia)Structure Design-I (Moment of Inertia)
Structure Design-I (Moment of Inertia)
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers
 
divergence of vector and divergence theorem
divergence of vector and divergence theoremdivergence of vector and divergence theorem
divergence of vector and divergence theorem
 
Lesson 13 volume of solids of revolution
Lesson 13 volume of solids of revolutionLesson 13 volume of solids of revolution
Lesson 13 volume of solids of revolution
 
Cg 3 d translation
 Cg   3 d translation Cg   3 d translation
Cg 3 d translation
 

Viewers also liked

Vlsi design notes l7 a&b batch , ece , sngce
Vlsi design notes l7 a&b batch , ece , sngceVlsi design notes l7 a&b batch , ece , sngce
Vlsi design notes l7 a&b batch , ece , sngceAnu Antony
 
Tufts Rpic Crystal
Tufts Rpic CrystalTufts Rpic Crystal
Tufts Rpic Crystalguestda8318
 
Lect5 Diffusion
Lect5 DiffusionLect5 Diffusion
Lect5 DiffusionLalit Garg
 
ION IMPLANTATION
ION IMPLANTATIONION IMPLANTATION
ION IMPLANTATIONAJAL A J
 
Ficks law
Ficks lawFicks law
Ficks lawtazien
 
Diffusion (Physical Pharmacy)
Diffusion (Physical Pharmacy)Diffusion (Physical Pharmacy)
Diffusion (Physical Pharmacy)Areej Abu Hanieh
 
Part 6 thin film depositoin
Part 6  thin film depositoinPart 6  thin film depositoin
Part 6 thin film depositoinMaheen Iqbal
 
3. crystal growth and wafer fabrication
3. crystal growth and wafer fabrication3. crystal growth and wafer fabrication
3. crystal growth and wafer fabricationBhargav Veepuri
 
CMOS Topic 2 -manufacturing_process
CMOS Topic 2 -manufacturing_processCMOS Topic 2 -manufacturing_process
CMOS Topic 2 -manufacturing_processIkhwan_Fakrudin
 
Diffusion finals, feb 29, 2012
Diffusion finals, feb 29, 2012Diffusion finals, feb 29, 2012
Diffusion finals, feb 29, 2012eckotanglao
 
Wafer manufacturing process
Wafer manufacturing processWafer manufacturing process
Wafer manufacturing processadi mandloi
 

Viewers also liked (12)

Vlsi design notes l7 a&b batch , ece , sngce
Vlsi design notes l7 a&b batch , ece , sngceVlsi design notes l7 a&b batch , ece , sngce
Vlsi design notes l7 a&b batch , ece , sngce
 
Tufts Rpic Crystal
Tufts Rpic CrystalTufts Rpic Crystal
Tufts Rpic Crystal
 
Lect5 Diffusion
Lect5 DiffusionLect5 Diffusion
Lect5 Diffusion
 
Crystal Growth
Crystal GrowthCrystal Growth
Crystal Growth
 
ION IMPLANTATION
ION IMPLANTATIONION IMPLANTATION
ION IMPLANTATION
 
Ficks law
Ficks lawFicks law
Ficks law
 
Diffusion (Physical Pharmacy)
Diffusion (Physical Pharmacy)Diffusion (Physical Pharmacy)
Diffusion (Physical Pharmacy)
 
Part 6 thin film depositoin
Part 6  thin film depositoinPart 6  thin film depositoin
Part 6 thin film depositoin
 
3. crystal growth and wafer fabrication
3. crystal growth and wafer fabrication3. crystal growth and wafer fabrication
3. crystal growth and wafer fabrication
 
CMOS Topic 2 -manufacturing_process
CMOS Topic 2 -manufacturing_processCMOS Topic 2 -manufacturing_process
CMOS Topic 2 -manufacturing_process
 
Diffusion finals, feb 29, 2012
Diffusion finals, feb 29, 2012Diffusion finals, feb 29, 2012
Diffusion finals, feb 29, 2012
 
Wafer manufacturing process
Wafer manufacturing processWafer manufacturing process
Wafer manufacturing process
 

Similar to FicksLawDiscretization

FiniteElementNotes
FiniteElementNotesFiniteElementNotes
FiniteElementNotesMartin Jones
 
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...SEENET-MTP
 
On elements of deterministic chaos and cross links in non- linear dynamical s...
On elements of deterministic chaos and cross links in non- linear dynamical s...On elements of deterministic chaos and cross links in non- linear dynamical s...
On elements of deterministic chaos and cross links in non- linear dynamical s...iosrjce
 
Intro probability 4
Intro probability 4Intro probability 4
Intro probability 4Phong Vo
 
Topology and Electrostatics
Topology and Electrostatics Topology and Electrostatics
Topology and Electrostatics Vorname Nachname
 
What are free particles in quantum mechanics
What are free particles in quantum mechanicsWhat are free particles in quantum mechanics
What are free particles in quantum mechanicsbhaskar chatterjee
 
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming ProblemHigher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Probleminventionjournals
 
Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced MicroeconomicsJim Webb
 
this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...BhojRajAdhikari5
 
Solution set 3
Solution set 3Solution set 3
Solution set 3慧环 赵
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxcroysierkathey
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxjeremylockett77
 
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...iosrjce
 
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdf
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdfFind the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdf
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdfsales89
 
Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...IJERA Editor
 

Similar to FicksLawDiscretization (20)

FiniteElementNotes
FiniteElementNotesFiniteElementNotes
FiniteElementNotes
 
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...
Vitaly Vanchurin "General relativity from non-equilibrium thermodynamics of q...
 
On elements of deterministic chaos and cross links in non- linear dynamical s...
On elements of deterministic chaos and cross links in non- linear dynamical s...On elements of deterministic chaos and cross links in non- linear dynamical s...
On elements of deterministic chaos and cross links in non- linear dynamical s...
 
Intro probability 4
Intro probability 4Intro probability 4
Intro probability 4
 
Topology and Electrostatics
Topology and Electrostatics Topology and Electrostatics
Topology and Electrostatics
 
What are free particles in quantum mechanics
What are free particles in quantum mechanicsWhat are free particles in quantum mechanics
What are free particles in quantum mechanics
 
CLIM Fall 2017 Course: Statistics for Climate Research, Statistics of Climate...
CLIM Fall 2017 Course: Statistics for Climate Research, Statistics of Climate...CLIM Fall 2017 Course: Statistics for Climate Research, Statistics of Climate...
CLIM Fall 2017 Course: Statistics for Climate Research, Statistics of Climate...
 
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming ProblemHigher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
 
Quantum mechanics
Quantum mechanicsQuantum mechanics
Quantum mechanics
 
Frobenious theorem
Frobenious theoremFrobenious theorem
Frobenious theorem
 
Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced Microeconomics
 
this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...
 
Engwavefunction
EngwavefunctionEngwavefunction
Engwavefunction
 
Solution set 3
Solution set 3Solution set 3
Solution set 3
 
Statistical Physics Assignment Help
Statistical Physics Assignment HelpStatistical Physics Assignment Help
Statistical Physics Assignment Help
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
 
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdf
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdfFind the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdf
Find the explicit solution of the linear DE dyxdx=-6x^3-6x^2 y+1 u.pdf
 
Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...Fixed points of contractive and Geraghty contraction mappings under the influ...
Fixed points of contractive and Geraghty contraction mappings under the influ...
 

FicksLawDiscretization

  • 1. Fick’s Law Martin Jones Diffusion is a transport phenomenon that involves mass transport or mixing that does not require bulk motion. Fick’s law for transient phenomena is written thus, ∂φ ∂t = · (D(x) φ) (1) Where φ and D are concentration and diffusivity, repectively, scalar functions that depend on space and time. And we have φ(x, 0) = φ0(x) and φ · n = 0 on the surface for our boundary conditions. Now multiply both sides by an arbitrary test function V (x) and integrate over a volume Ω. Also, integrating by parts on the RHS, the equation evolves to the following form, (making use first of the following theorem): Ω V · (D φ)dΩ = S V (D φ · n)dS − Ω D( V · φ)dΩ Ω ∂φ ∂t V (x)dΩ = − Ω D(x) V · φdΩ (2) Now we will discretize and write with basis functions in N dimensional space (using Einstein notation) where N is on the order of the number of elements in the mesh, φ(x, tk) = φk i ψi (3) and V (x) = Vjψj (4) Using the finite difference formula for the time derivative and plugging in we get, Ω φk+1 i − φk i ∆t · ψi(Vj · ψj)dΩ = − Ω D(x) (Vjψj) · (φk+1 i ψi)dΩ (5) Now we may write N equations with N unknowns due to the arbitrariness of V (1 on the ith node and zero every where else). One gets, 1 ∆t M + K φk+1 = 1 ∆t Mφk (6) Where M is given by, Mi,j = Ω ψiψjdΩ (7) and K is given by, Ki,j = Ω D(x) ψi · ψjdΩ (8)