CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

DPM; particle seeded / deleted by UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2006, 05:06
Default DPM; particle seeded / deleted by UDF
  #1
Laika
Guest
 
Posts: n/a
Dear Fluent Users,

To model what I need to model, I need to develop a UDF that generates particles in a simulation using Discrete Phase Model. It should be able to delete them as well.

Under certain conditions in my transient simulation, there will be particles in my flow, that actually behave like particles. Like a kind of condensation cores jumping into existance when the conditions are right, and then acting as a species source (either positive or negative) for the gaseous phase. When the conditions are right, these particles can dissapear as well.

So part of the UDF should be able to bring particles into existance. But I don't see a possibility to do this. How can I create a particle for the DPM in the middle of the flow field at a priory unknown locations.

One idea I have, but I don't know whether this will work: can I create a file-injection, and have an execute_at_end UDF modify the injection-file on the fly? Will Fluent actually reread the file every time step? It's just an idea. Anyone who tried this kind of things?

other suggestions?

thanks in advance,

Laika, still orbiting

  Reply With Quote

Old   January 20, 2006, 06:54
Default Re: DPM; particle seeded / deleted by UDF
  #2
HS
Guest
 
Posts: n/a
I think the easiest way to remove particles is to set their flowrate to zero (from a UDF). FLUENT will remove such particles at the end of each time step automatically.

Considering the injection, I suggest you setup a single or group type injection and then write a UDF to associate with the injection. The UDF can set the flowrate for the injection to zero at all times unless it is time to create a parcel. It can then change the position from the UDF so that what is set in the Injections-dialouge doesn't matter.

I have not done this exactly, but something a bit similar, and I think you could get that approach to work. Maybe there is some smarter way to do it. I would be very interested if that was the case!

/Henrik
  Reply With Quote

Old   January 20, 2006, 08:01
Default Re: DPM; particle seeded / deleted by UDF
  #3
Laika
Guest
 
Posts: n/a
OK for the removal! Thanks

For the injection: that's a clever idea. So you suggest I make somewere an injection of fresh zero-flow rate particles. As soon as I need particles to be generated anywere in my model, I take a 'fresh' particle, change it's position through the UDF and give it a real flow rate in order to keep it 'alive'.

Have I clearly understood your suggestion?

thanks! Laika, still orbiting
  Reply With Quote

Old   January 20, 2006, 09:05
Default Re: DPM; particle seeded / deleted by UDF
  #4
HS
Guest
 
Posts: n/a
Yes, that was almost exactly what I meant! Only make sure you have a positive flow-rate specified in the Injection-setup, otherwise FLUENT will not care about the injection at all in the first place. The UDF shall then change the flowrate to zero all the time except when you need the particle(s), and then also change the position, velocities etc.

Good luck!

/Henrik
  Reply With Quote

Old   January 20, 2006, 09:20
Default Re: DPM; particle seeded / deleted by UDF
  #5
Laika
Guest
 
Posts: n/a
Thanks a lot! Great idea!

I'll let you know if it works...

cheers, Laika, still orbiting
  Reply With Quote

Old   January 20, 2006, 10:32
Default Re: DPM; particle seeded / deleted by UDF
  #6
HS
Guest
 
Posts: n/a
Yes please let me know if it does! I would be very interested. Once again good luck!
  Reply With Quote

Old   January 23, 2006, 00:40
Default Re: DPM; particle seeded / deleted by UDF
  #7
MANOJKUMAR
Guest
 
Posts: n/a
Hello Laika Can u suggeted to make UDF for injection setting. I also doing the same type of problem.I doing on the combustion model and light diesel oil used as fuel and for combustion i try do do with injection. I try with doing injection but not getting result so please give me the direction for making UDF for DPM. Thanks, Manojkumar
  Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari Fluent UDF and Scheme Programming 0 August 19, 2010 04:09
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari FLUENT 0 August 19, 2010 04:01
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari Main CFD Forum 0 August 19, 2010 04:01
Velocity of Fluid @ different positions of Particle in DPM using UDF pmghadge FLUENT 1 June 16, 2009 20:11
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


All times are GMT -4. The time now is 03:26.