|
[Sponsors] |
![]() |
![]() |
#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 ![]() 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 |
||
![]() |
![]() |
![]() |
![]() |
#42 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 15 ![]() |
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??? |
|
![]() |
![]() |
![]() |
![]() |
#44 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 15 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#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 |
||
![]() |
![]() |
![]() |
![]() |
#46 | |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 15 ![]() |
Quote:
but isn`t clear, i don`t know proper diffusivity and BC for this problem, can you explain this??? |
||
![]() |
![]() |
![]() |
![]() |
#47 | |
Senior Member
|
Quote:
![]() and you have to set ![]() ![]() 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 |
||
![]() |
![]() |
![]() |
![]() |
#48 |
New Member
mamad
Join Date: Aug 2010
Posts: 15
Rep Power: 15 ![]() |
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??? |
|
![]() |
![]() |
![]() |
![]() |
#49 | ||
Senior Member
|
Hi,
Quote:
Quote:
Bests,
__________________
Amir |
|||
![]() |
![]() |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#51 | |
Senior Member
|
Quote:
You cannot make a loop over particles in this macro because the particles are tracked sequentially. Bests,
__________________
Amir |
||
![]() |
![]() |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#53 | |
Senior Member
|
Quote:
Bests,
__________________
Amir |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 15:33 |
UDF force on a face | enry | Fluent UDF and Scheme Programming | 10 | March 23, 2011 10:48 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 01:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 17:45 |
DPM drag force UDF | hedonists | FLUENT | 0 | March 12, 2003 21:10 |