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

Can I put porosity/permeability into each cells by UDF?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Bruno Machado
  • 1 Post By Bruno Machado

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2016, 05:41
Default Can I put porosity/permeability into each cells by UDF?
  #1
New Member
 
S.J Chung
Join Date: Mar 2015
Posts: 6
Rep Power: 11
ssavi22 is on a distinguished road
Hi guys

Can I put porosity/permeability into each cells by UDF??

I found inlet velocity problem, but cannot find input to each cells...

Thank you for your help
ssavi22 is offline   Reply With Quote

Old   June 28, 2016, 06:26
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12
Bruno Machado is on a distinguished road
Quote:
Originally Posted by ssavi22 View Post
Hi guys

Can I put porosity/permeability into each cells by UDF??

I found inlet velocity problem, but cannot find input to each cells...

Thank you for your help
yes. use the DEFINE_PROFILE macro.
ssavi22 likes this.
Bruno Machado is offline   Reply With Quote

Old   June 28, 2016, 07:48
Default
  #3
New Member
 
S.J Chung
Join Date: Mar 2015
Posts: 6
Rep Power: 11
ssavi22 is on a distinguished road
Can I get some examples?
ssavi22 is offline   Reply With Quote

Old   June 28, 2016, 07:53
Default
  #4
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12
Bruno Machado is on a distinguished road
Quote:
Originally Posted by ssavi22 View Post
Can I get some examples?
DEFINE_PROFILE(porosity,t,i)
{
cell_t c;

begin_c_loop(c,t)
{
C_PROFILE(c,t,i) = 0.5;
}
end_c_loop(c,t)
}
ssavi22 likes this.
Bruno Machado is offline   Reply With Quote

Reply

Tags
each cells, permeability, porosity


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
Problem with divergence TDK FLUENT 13 December 14, 2018 06:00
How to access only one phase in multiphase model by UDF wersoe Fluent UDF and Scheme Programming 1 January 4, 2017 07:11
[ICEM] Problem with prism cells sidharath ANSYS Meshing & Geometry 0 September 1, 2015 07:09
[snappyHexMesh] snappyHexMesh Segmentation Fault avd28 OpenFOAM Meshing & Mesh Conversion 11 May 11, 2015 20:32
snappyHexMesh in parallel - FOAM Fatal IO Error mturcios777 OpenFOAM Running, Solving & CFD 4 August 10, 2012 19:18


All times are GMT -4. The time now is 18:08.