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

Like Tree1Likes
  • 1 Post By Jmaes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2023, 09: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, 25 views)
Jmaes is offline   Reply With Quote

Old   July 4, 2024, 13: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, 14: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
Pham Khai likes this.
Jmaes is offline   Reply With Quote

Old   October 16, 2024, 05:45
Default
  #4
New Member
 
PHAM QUANG KHAI
Join Date: Dec 2020
Location: Gwangju, Korea
Posts: 3
Rep Power: 6
Pham Khai is on a distinguished road
Dear Jmaes


Could you please provide you thesis for the reference via my email: khaiphamac@gmail.com. I also need it for my model by Ansys Fluent


Thank you so much
Pham Khai is offline   Reply With Quote

Old   November 4, 2024, 03:58
Default UDf - Physical Adsorption Simulation
  #5
New Member
 
Abdelwahab Mohamed
Join Date: May 2024
Posts: 3
Rep Power: 2
Abdelwahab is on a distinguished road
Quote:
Originally Posted by tarciwl View Post
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
Dear Tarciwl, I tried to simulate this article before but I cannot, I think there are some missing data. It is a good paper to learn and guide you not to take it as a major reference.
Abdelwahab 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 19:05
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
how to modify fvScheme to converge? immortality OpenFOAM Running, Solving & CFD 15 January 16, 2013 14:06
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 02:23
how to model heat transfer inside a slow moving bed? bigfans FLUENT 1 October 9, 2009 01:12


All times are GMT -4. The time now is 03:46.