CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Solving Reaction-Diffusion Systems with OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2016, 13:22
Exclamation Solving Reaction-Diffusion Systems with OpenFOAM
  #1
New Member
 
Join Date: Aug 2010
Posts: 5
Rep Power: 15
Lesh2Flash is on a distinguished road
Send a message via MSN to Lesh2Flash Send a message via Skype™ to Lesh2Flash
Hi Everyone,

I want to solve a (nonlinear) Reaction-Diffusion problem using OpenFOAM. The equations are of the following Form:

- There are some bulk species which can diffuse through the whole domain and undergo simple reactions (e.g. degradation of one species as described by the term -k*u_i with degradation rate k). The governing equation for the i-th bulk species would then have the form d/dt*u_i=D_i*nabla^2 *u_i + R(u_i). This is basically just a simple transport equation (diffusion + source term) and could be solved with the ScalarTransportFoam solver.

- I also would like to define membrane species which "live" on a predefined boundary of the domain. In other words, these membrane species can only diffuse and react on a particular boundary of the simulation domain, i.e. the transport equation has basically the same form as mentioned above but is constrained to a specific boundary. And here comes now the tricky part: Bulk and Membrane species can react with each other, i.e. I want to couple the transport equations by a flux boundary condition (also known as robin boundary condition) which states that everything that flows out of the bulk reacts on the membrane into some other component, mathematically this flux condition is of the form J_i =-D_i*nabla(u_i)= -f(u_i), where the function f(u_i) depends on the species concentration and is in general nonlinear.

My question is whether OpenFOAM already provides the tools to set up such a simulation? I couldn't find a similiar problem in the documentation or here on the forum, so I really would appreciate any help as Im not a OpenFOAM specialist. I think the ScalarTransportFoam is a very good starting point, but Im struggling with the diffusion constraint + the robin boundary condition.


Thank you very much for the help in advance!

Best,

Lesh
Lesh2Flash is offline   Reply With Quote

Reply

Tags
membrane diffusion, reaction-diffusion, robin boundary


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
should Courant number always be kept below 1? wc34071209 OpenFOAM Running, Solving & CFD 16 March 9, 2014 19:31
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 04:13


All times are GMT -4. The time now is 02:12.