|
[Sponsors] |
August 23, 2011, 10:12 |
|
#41 | |
Senior Member
|
Quote:
Generally, you can add number of extra scalar transport to current solver; e.g.: They are added to another equations which are provided; something like energy equation, so it's not need to use multiphase models, it's applicable to single phase as well. Just note dimension of diffusion coefficient which you have to set in kg/(m.s); i.e, it's not D. Other setting is like setting of energy equation, you would need B.C and .... The result is particle concentration (C) as it's expected. Unfortunately, I don't have small case which I can upload now; nevertheless, if these tips couldn't help you, inform me and I'll prepare one. Bests,
__________________
Amir |
||
January 26, 2012, 16:41 |
|
#42 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 16 |
Quote:
I'm interested in scalar transport for solving such problem,can you help me about this or send a case about this for me??? |
|
January 28, 2012, 15:34 |
|
#44 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 16 |
||
January 28, 2012, 16:50 |
|
#45 | |
Senior Member
|
Quote:
sure; using Eulerian method seems reasonable for your purpose if it matches with your goal; nevertheless, selecting Lagrangian procedure has few issues specially in nano particles; so the only thing you have to do is to activate a scalar equation, set proper diffusivity and UDS BC; isn't it clear or face a trouble? Bests,
__________________
Amir |
||
January 28, 2012, 17:49 |
|
#46 | |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 16 |
Quote:
but isn`t clear, i don`t know proper diffusivity and BC for this problem, can you explain this??? |
||
January 29, 2012, 04:06 |
|
#47 | |
Senior Member
|
Quote:
and you have to set for FLUENT which has a dimension of (kg/m.s), but note that the is the base fluid density and D is diffusivity of desired substance in that fluid. About the BCs, you have 3 options to set value or gradient or write a UDF for that; you have to set appropriate BC according to your model; e.g., if you set zero gradient it means that there isn't any penetration of the UDS and if you set zero value it means that there is a sink of that UDS. Bests,
__________________
Amir |
||
January 29, 2012, 11:31 |
|
#48 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 16 |
Quote:
Thanks a lot for your answering... i have some question about your answer, should i solve this equation with continuity,momentum and energy equations and coupled with them???if yes, how can i do this work??? and can i use this equation in common model or i should use DPM or other model??? |
|
January 29, 2012, 16:10 |
|
#49 | ||
Senior Member
|
Hi,
Quote:
Quote:
Bests,
__________________
Amir |
|||
June 15, 2012, 21:51 |
loop over particles
|
#50 |
Member
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 17 |
Hi guys,
I need to find electromagnetic force induced by other particles over the tracked particle. Can I loop over particles while I am using DEFINE_DPM_BODY_FORCE ??! I tried "loop(p,I->p)", but it did not work. I also used "begin_particle_cell_loop" macro, it did not work either. Please let me know if you can help me. Thanks Shahryar. |
|
June 17, 2012, 05:50 |
|
#51 | |
Senior Member
|
Quote:
You cannot make a loop over particles in this macro because the particles are tracked sequentially. Bests,
__________________
Amir |
||
June 17, 2012, 06:51 |
|
#52 |
Member
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 17 |
Thanks for the reply Amir,
What about the macro "begin_particle_cell_loop"? I tried that one. I was able to compile it but it gives me access_violation error as I run the DPM. Do you have any idea how to use this macro in define DPM body force? Thanks. |
|
June 17, 2012, 08:38 |
|
#53 | |
Senior Member
|
Quote:
Bests,
__________________
Amir |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for defining a body force in Singel ROtating Reference Frame | teymourj | Fluent UDF and Scheme Programming | 9 | August 18, 2016 16:33 |
UDF force on a face | enry | Fluent UDF and Scheme Programming | 10 | March 23, 2011 11:48 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 18:45 |
DPM drag force UDF | hedonists | FLUENT | 0 | March 12, 2003 22:10 |