Advection/Diffusion+Reversible Surface Binding

Numerical methods and mathematical models of Elmer
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Advection/Diffusion+Reversible Surface Binding

Post by raback »

john quinn wrote: I am still trying to use an analytical expression for the the accumulation at the wall as I gave you before but I cannot figure out the structure of the BC you provided. Does coordinate 1 contain the analyte concentration as you gave below?
Given that tx(0) is Time and tx(1) is coordinate 1. Is coordinate 1 the x-axis of my flow cell?
In your BC Bmax-AB has component (tx(0),tx(1)). Where can I find the definition of this structure. What is it doing?

Mass Transfer Coefficient = Variable Time, Coordinate 1
Real MATC "-kon * (Bmax-AB(tx(0),tx(1)))"
It's a function call where Time and Coordinate 1 (i.e. x) are at the the time of the calling set as the components of tx vector. The MATC expression is then of functional form where these input paramaters should recide. Only tx in the above expression is known so you should give numerical values to everyone else. And AB is you function of choise. So

Code: Select all

Mass Transfer Coefficient = Variable Time, Coordinate 1
  Real MATC "-1.23 * (4.56+7*sin(tx(0))*tx(1))"
would go through, for example. Or you can define

Code: Select all

$ kon = 1.23
And the use it in the expression. Search the forum for "MATC" to get more example.

-Peter
john quinn
Posts: 12
Joined: 28 Dec 2010, 23:45

Re: Advection/Diffusion+Reversible Surface Binding

Post by john quinn »

Raback,

Got it. Thanks very much.

John.
Post Reply