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

Viscous resistance UDF with DPM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2019, 14:51
Post Viscous resistance UDF with DPM
  #1
New Member
 
Ayrton Cavallini Zotelle
Join Date: Dec 2019
Posts: 1
Rep Power: 0
AyrtonZotelle is on a distinguished road
Hello, I need to write a UDF for the FLUENT software that varies the viscous resistance depending on the DPM concentration. This UDF needs to trap the particles into the cell, calculate the mass concentration and thus calculate the new viscous resistance coefficient from this. Could someone help me?
The mathematical formulation is: alpha = 1/k + constant*pc; Where alpha is the viscous resistance, k is the initial permeability and pc is the DPM particle concentration.

Last edited by AyrtonZotelle; December 17, 2019 at 16:21.
AyrtonZotelle is offline   Reply With Quote

Old   December 17, 2019, 22:19
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 405
Rep Power: 13
Светлана is on a distinguished road
Related threads:

DPM: UDF - loop over all particles

dpm volume fraction in udf
Светлана is offline   Reply With Quote

Old   December 17, 2019, 23:48
Default
  #3
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,255
Rep Power: 32
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
I think you need DEFINE_DPM_PROPERTY macro to do this.
Good examples you can find in Ansys Fluent Customization manual
Светлана likes this.
__________________
best regards


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

Reply

Tags
dpm, porous media, viscous resistence

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Inertial resistance and viscous resistance in porous media wschao90 FLUENT 1 March 29, 2019 14:44
DPM Segmentation Fault in UDF jhlee9622 FLUENT 0 July 1, 2016 04:21
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 09:51
UDF for pressure outlet (resistance) Lilly Fluent UDF and Scheme Programming 0 October 15, 2014 07:22
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


All times are GMT -4. The time now is 07:19.