|
[Sponsors] |
Linear driving force model for fixed bed adsorption |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
James Ranawadia
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Hello everyone!
I am trying to use the linear driving force model to model fixed bed adsorption. I wrote a UDF for ansys fluent but upon monitoring the values, they are bonkers! The values are in the order of 10^32! A little background on Linear driving force model: The equation is dq/dt = k(q* - q) where q is the amount of contaminant adsorbed, k is a constant and q* is the equilibrium amount of contaminant adsorbed. q* is given by Langmuir equation q* = KL*qm*C/(1 + KL*C) where KL and qm are constants and C is the concentration of contaminant in the water. LDF model can then be applied as a source term as - (1 - eta)*rho*dq/dt to calculate adsorption, and that's what I have done. Can someone please take a look at my code and see if there's a logical issue? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Tarcisio Leal
Join Date: Jan 2024
Posts: 1
Rep Power: 0 ![]() |
I'm working on the same problem. I found an article that solved this problem, if it helps, but I still not making it work properly. I think that's because the fluent species transport equation is for mass fraction, not Molar concentration. So we probably need to convert the source term units.
Here's the article link: https://www.sciencedirect.com/scienc...75389212001617 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
James Ranawadia
Join Date: Apr 2023
Posts: 15
Rep Power: 3 ![]() |
Hello mate,
It was for my thesis and I finished it in the october last year. Anyway, I am sending you the link to my code. However, it is not verified since the experimental data was flawed due to the lack of proper measurement tools. The C code is for ansys fluent. And it includes tons of comments and stuff so that you can understand the code if you are absolutely new (I did it to make myself understand while I was writing it and not for you lol). Make it worth mate. https://mega.nz/file/to1FnLLD#VsstcN...gXYhVCDY_rP-94 |
|
![]() |
![]() |
![]() |
Tags |
adsorption, fixed-bed, ldf, linear driving force |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 06:20 |
how to modify fvScheme to converge? | immortality | OpenFOAM Running, Solving & CFD | 15 | January 16, 2013 13:06 |
solution diverges when linear upwind interpolation scheme is used | subash | OpenFOAM | 0 | May 29, 2010 01:23 |
how to model heat transfer inside a slow moving bed? | bigfans | FLUENT | 1 | October 9, 2009 00:12 |