|
[Sponsors] |
Steady DPM particle concentration in one-way coulping |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 15, 2020, 07:55 |
Steady DPM particle concentration in one-way coulping
|
#1 |
New Member
JSH
Join Date: Dec 2019
Posts: 6
Rep Power: 6 |
As we know, Fluent can not directly give DPM concentration in one-way coulping
Lagrangian method (disable the" interaction with the continuous phase") .I noticed there are some UDF Micro can be used to calculate the DPM concentration, such as residence time Micro, Mass flow rate Micro......, these Micros can be used in a DEFINE_ON_DEMAND or DEFINE_ADJUST. However, they only work in two-way coulpling (enable the" interaction with the continuous phase"). I guess that this two Macros should be used in a iteration process, in the one-way coupling, the flow field is constant, only the particle equation is solved, so the UDF can not work. But in the two-way coupling, Fluent can give directly the concentration, in which I needn't the UDF. So how to fix this problem in one-way coupling? |
|
April 15, 2020, 08:18 |
Macros
|
#2 |
Senior Member
|
DEFINE_ON_DEMAND, DEFINE_ADJUST, etc. are general purpose macros and have nothing to do with Particle Tracking. These functions, and there are a few more similar ones, can be used to do any thing that is possible and allowed within Fluent. To determine concentration, you need to determine number of particles in a cell and then take ratio of mass of all those particles to the volume of the cell. You can certainly use UDF for this. However, if this is to be done only once or twice, you can use a less sophisticated approach of sampling the particles. Sampling will write a text file that has coordinates as well as mass of the particles given. You need to compare the locations of the particles with the locations of the cells and their volume in the mesh. Once matched, you can take ratio of mass and volume to get concentration. Similar approach would be used in UDF. If you are well versed with UDF and/or C programming, then it won't take more than a few minutes to write it.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 18, 2020, 07:25 |
|
#3 | |
New Member
JSH
Join Date: Dec 2019
Posts: 6
Rep Power: 6 |
Quote:
|
||
April 20, 2020, 04:46 |
Concentration
|
#4 |
Senior Member
|
Isn't that obvious? If Fluent does not solve for concentration of Lagrangian phase, it is obvious that it won't have anything defined in C_DPMS_CONCENTRATION. You have to use a DEFINE_ macro that gives you access to a Tracked_Particle. Then you have to determine that cell in which the particle lies. Using the information about the cell volume and particle frequency, you can determine particle concentration.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
Tags |
dpm concentration, udf macro usage |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM particle tracking considering particle size | oball | Fluent UDF and Scheme Programming | 4 | October 6, 2019 15:42 |
Steady/ Transient Calculations | Saidul | ANSYS | 0 | May 4, 2015 20:15 |
DPM particle tracking in stirred tank | parisa- | FLUENT | 1 | August 7, 2012 13:03 |
DPM particle tracking | parisa- | Main CFD Forum | 2 | June 15, 2011 06:12 |
steady or unsteady DPM ??? | Marina | FLUENT | 5 | July 5, 2006 05:52 |