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

DPM: UDF - loop over all particles

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

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2012, 01:56
Default
  #21
ADI
New Member
 
Adithya nagesh
Join Date: Oct 2009
Posts: 8
Rep Power: 6
ADI is on a distinguished road
Send a message via MSN to ADI
FORTRAN code UDF for FLUENT, I am 99% sure it is not possible. You will have to recode it in c/C++. Besides, If you are writing a UDF for FLUENT, usually you do not code every thing from continuity all the way to the slightest details in combustion. Use the FLUENT UDF manual. It really will guide you well.

As for openfoam, I dont have much experience. I have only tried a very small and simple pipe flow model at home. No where enough experience to provide help or advice.
__________________
Adi.
ADI is offline   Reply With Quote

Old   April 25, 2012, 02:01
Default
  #22
Member
 
Join Date: Apr 2012
Location: Mumbai
Posts: 48
Rep Power: 4
juzer_700 is on a distinguished road
Ok.

Yes I have started reading the UDF manual. Thanks for your advice.
juzer_700 is offline   Reply With Quote

Old   April 25, 2012, 05:42
Default
  #23
Member
 
Join Date: Apr 2012
Location: Mumbai
Posts: 48
Rep Power: 4
juzer_700 is on a distinguished road
@ADI : one more thing. It is possible to generate a virtual grid in C language and run the UFD code developed on that grid and to simultaneously run the FLUENT code (Continuity, mom, energy eqs) on the grid developed in GAMBIT/FLUENT?
juzer_700 is offline   Reply With Quote

Old   July 13, 2012, 17:23
Default
  #24
Member
 
Shawn Fotovati
Join Date: Jul 2009
Location: Cincinnati, OH
Posts: 39
Rep Power: 7
sfotovati is on a distinguished road
High everybody,

I would like to loop over all particles and find their intraction with each other. However, this has to be done inside a UDF for DPM (e.g. Defiend_DPM_SCALAR_UPDATE). The compiler will go wrong as soon as I have one of the macros related for looping over the particles (e.g. begin_particle_cell_loop!).

Does anyone have any idea to resolve this situation?

Thank you.

Sean
sfotovati is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM UDF Injection leads to 2 different particles sega Fluent UDF and Scheme Programming 3 March 10, 2010 19:38
DPM - do the particles affect the liquid? Nikhil Dani FLUENT 0 January 1, 2009 11:58
NACA0012 geometry/design software needed Franny Main CFD Forum 13 July 7, 2007 15:57
DPM: using UDF for creating and deleting Particles Markus Alzon FLUENT 0 July 4, 2007 01:18
DPM; particle seeded / deleted by UDF Laika FLUENT 6 January 22, 2006 23:40


All times are GMT -4. The time now is 16:27.