CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Non-equilibrium model in porous media

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2022, 13:42
Post Non-equilibrium model in porous media
  #1
New Member
 
Masoud Ahmadi
Join Date: Jul 2017
Posts: 2
Rep Power: 0
ahmadimasoud is on a distinguished road
Hello all,

I am trying to simulate a water vapor adsorption process by a solid desiccant in Fluent 2021 R1.

The geometry is a simple 2-D channel. It has one entrance region (non-porous) and one exit region (non-porous) and the porous domain of solid desiccant between them.

As you know, Fluent creates a new solid zone when the non-equilibrium model is activated.

Now, my question is:

For setting a source term in the species transport equation of the fluid region of the porous domain, I need to have access to the solid zone temperature. But since the UDF for the source term is hooked to the fluid region, it just loops in the threads which are for the fluid region and I do not know how to access the temperature of the solid threads (T=C_T(c,t) is the fluid temperature and not the solid temperature).

I appreciate it if you could help me find the solution.
ahmadimasoud is offline   Reply With Quote

Old   April 5, 2022, 22:21
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
as you told new solid zone is created, so It must have thread ID, you may try to access solid zone by its ID
ahmadimasoud and jadidi.cfd like this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   April 6, 2022, 10:45
Default
  #3
New Member
 
Masoud Ahmadi
Join Date: Jul 2017
Posts: 2
Rep Power: 0
ahmadimasoud is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
as you told new solid zone is created, so It must have thread ID, you may try to access solid zone by its ID
Thank you for your reply.

The problem is: when the source term is hooked to the fluid region of the domain it just have the "fluid region" thread ID and when I try to access other threads, it shows and error and close Fluent.
ahmadimasoud is offline   Reply With Quote

Old   June 16, 2022, 02:50
Default
  #4
New Member
 
Hasan Najafi Khaboshan
Join Date: Jan 2018
Posts: 11
Rep Power: 8
Hasan_Najafi is on a distinguished road
Quote:
Originally Posted by ahmadimasoud View Post
Thank you for your reply.

The problem is: when the source term is hooked to the fluid region of the domain it just have the "fluid region" thread ID and when I try to access other threads, it shows and error and close Fluent.
Since you have source term UDF, I guess you can access to the solid threads as AlexanderZ said.

I have a question here, when you generated the solid zone, what did you do with the boundary of your solid zone. In my case, I have rectangular fluid and solid (porous) zone in the center and all four edge of them covered by solid zones. There is interface boundary betwen fluid zone in the center and solid zone around it. But, when the solid zone of porous is created by fluent, it has own boundaries. So, what boundary type should I chose for them?

Thanks
Hasan_Najafi is offline   Reply With Quote

Old   April 14, 2023, 18:07
Default Same issue
  #5
New Member
 
Mohammad
Join Date: Sep 2022
Posts: 12
Rep Power: 3
Selawe97 is on a distinguished road
Quote:
Originally Posted by Hasan_Najafi View Post
Since you have source term UDF, I guess you can access to the solid threads as AlexanderZ said.

I have a question here, when you generated the solid zone, what did you do with the boundary of your solid zone. In my case, I have rectangular fluid and solid (porous) zone in the center and all four edge of them covered by solid zones. There is interface boundary betwen fluid zone in the center and solid zone around it. But, when the solid zone of porous is created by fluent, it has own boundaries. So, what boundary type should I chose for them?

Thanks
I am also facing the same issue, I don't know which wall I should apply the boundary condition, for example, heat flux, should I apply it to the fluid wall or to the new solid wall, did you solve it?

thanks
Selawe97 is offline   Reply With Quote

Old   April 16, 2023, 21:59
Default
  #6
New Member
 
Hasan Najafi Khaboshan
Join Date: Jan 2018
Posts: 11
Rep Power: 8
Hasan_Najafi is on a distinguished road
Quote:
Originally Posted by Selawe97 View Post
I am also facing the same issue, I don't know which wall I should apply the boundary condition, for example, heat flux, should I apply it to the fluid wall or to the new solid wall, did you solve it?

thanks
Hi, after validating my problem with experimental work, I realized that I should keep it as it was. I mean we do not have to select a specific boundary for that, because Ansys Fluent use this solid zone as a place to save the data for the solid zone (metal foam zone), and these two zones are connected with heat transfer which is located in two-equation local non-equilibrium thermal model. This is how I think it works.
Hasan_Najafi is offline   Reply With Quote

Reply


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
Porous Media Zone Thickness TheKitchenCleaner FLUENT 0 October 5, 2020 00:42
Porous Media Model reaction mechanism umairjamil FLUENT 1 July 2, 2016 08:23
local thermal non equilibrium model in porous media adi.ptb Fluent UDF and Scheme Programming 0 November 1, 2014 15:00
How do model two phase granular flow in Porous media? bahman FLUENT 1 December 6, 2012 04:39
How to Model Porous media in CFX senCFX Main CFD Forum 0 January 10, 2011 10:02


All times are GMT -4. The time now is 15:31.