How can I stop natural diffusion ? Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » How can I stop natural diffusion ? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Pascal Mosnier (p_mosnier)
New member
Username: p_mosnier

Post Number: 2
Registered: 06-2005
Posted on Friday, October 27, 2006 - 09:24 am:   

Hi,
I have natural diffusion between two regions. the problem is that the concentration of the variable is much greater in the center region, however I need to stop the variable diffusion in the outer region when it reaches a fixed value. Can I specify some kind of "if loop" in the boundaries conditions statements to do that ?

Thanks in advance
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 696
Registered: 06-2003
Posted on Friday, October 27, 2006 - 12:40 pm:   

As with all such effects, the place to start is to define carefully the real physical cause of the effect, and to be sure that this effect is correctly represented in the equations.

One possibility that comes to mind is to use a CONTACT boundary between the two materials, and define a contact resistance that is very low until the outer region approaches the limit value, at which time the resistance increases to prohibit flow into the outer region. Use a smooth transition in the resistance, not an "IF", because an instantaneous jump can cause oscillations and slow running.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration