Boundary condition problem for diffusion equation

AI Thread Summary
The discussion centers on the boundary condition problem for a diffusion equation related to chemical concentration in a channel. The initial conditions assume a concentration of c(0,t)=1 and c(a,t)=0, but the validity of c(a,t)=0 is questioned when considering a non-infinite domain where chemical dispersion occurs. Various boundary conditions are proposed, including specified concentration, zero flux, specified flux, and convective mass transfer. The conversation highlights that if no flux crosses a boundary, the gradient of the concentration must be zero, leading to the condition ∂c/∂x = 0 for a one-dimensional scenario. The thread emphasizes the importance of selecting appropriate boundary conditions based on the physical context of the problem.
brambram
Messages
7
Reaction score
0
BOUNDARY CONDITION PROBLEM
I have came up with matrix for numerical solution for a problem where chemical is introduced to channel domain, concentration equation:

δc/δt=D*((δ^2c)/(δx^2))-kc

assuming boundary conditions for c(x,t) as : c(0,t)=1, c(a,t)=0. Where a is channel's length.

What if domain is not-infinite (as it is above) and we cannot assume that the chemical is not dispersed at the end of the channel- so the boundary condition c(a,t)=0 is no longer valid?

What boundary condition can we use when we cannot assume that the chemical is not dispersed at the outlet of the channel? Can you state it or not? How about computational fluid dynamics boundary conditions options?
 
Physics news on Phys.org
##\lim_{a\to\infty} c(a,t)=0##?
 
At the two ends of the sample, you can have a wide variety of different combinations of boundary conditions:

Specified concentration c = C(t)
Zero flux: δc/δx = 0
Specified flux: -D ∂c/∂x = \phi(t)
Convective mass transfer: -D ∂c/∂x = k (c - c)

There are an infinite number of others also, but these are the ones you run into most often in practice.
 
If there is no flux crossing a boundary, then the gradient of the flux normal to the boundary is 0.

For a 1-D problem like yours, that means ##\partial c/\partial x = 0##
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top