|
[Sponsors] |
March 23, 2016, 04:28 |
UDM in DEFINE_DPM_BC
|
#1 | |
Senior Member
Sangwoo Kim
Join Date: Jul 2014
Location: Seoul, South Korea
Posts: 115
Rep Power: 12 |
Hi all!
I am writing UDF for particle-laden flow across a pipe. This is my criterion: When the particle impacts on the pipe surface, if sum of some forces acting on the particle is larger than some criterion force, then particle will be trapped on the surface. If not, then reflected Here, I want to calculate mass flux of trapped particles and save it into UDM, in order to show where the particles are trapped more by showing the contour of the UDM So this is basically similar with the example of DEFIEN_DPM_EROSION in UDF manual. This is my code. Quote:
This is weird because particle input is constant and DPM concentration at outlet also converged to a constant value. I tried to use transient solver, and modify C_UDMI(c,t,0)=P_MASS(p)/CURRENT_TIME_STEP/AREA, but the result was similar, that is, C_UDMI kept increasing. Why does this happen? Do I need to reset UDM in this case? Thank you.
__________________
Best regards |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation violation | louiza | FLUENT | 16 | June 27, 2017 16:41 |
Saving array or matrix in UDM | vucrusader | Fluent UDF and Scheme Programming | 1 | January 31, 2016 23:06 |
Cleaning UDM | CeesH | Fluent UDF and Scheme Programming | 8 | August 7, 2014 08:17 |
Help! Delete the UDM codes in the UDF | Messi | Fluent UDF and Scheme Programming | 2 | January 28, 2014 10:01 |
Udm | nasser | FLUENT | 0 | April 7, 2013 10:19 |