CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Linear driving force model for fixed bed adsorption

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2023, 08:02
Default Linear driving force model for fixed bed adsorption
  #1
New Member
 
James Ranawadia
Join Date: Apr 2023
Posts: 15
Rep Power: 3
Jmaes is on a distinguished road
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?
Attached Files
File Type: c LDF1.c (2.5 KB, 20 views)
Jmaes is offline   Reply With Quote

Old   July 4, 2024, 12:21
Default
  #2
New Member
 
Tarcisio Leal
Join Date: Jan 2024
Posts: 1
Rep Power: 0
tarciwl is on a distinguished road
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
tarciwl is offline   Reply With Quote

Old   July 4, 2024, 13:01
Default
  #3
New Member
 
James Ranawadia
Join Date: Apr 2023
Posts: 15
Rep Power: 3
Jmaes is on a distinguished road
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
Jmaes is offline   Reply With Quote

Reply

Tags
adsorption, fixed-bed, ldf, linear driving force


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
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


All times are GMT -4. The time now is 20:28.