CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

stopping mass flow of droplets in the midst of a simulation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 22, 2010, 05:27
Default stopping mass flow of droplets in the midst of a simulation
  #1
Senior Member
 
Join Date: Jun 2009
Posts: 100
Rep Power: 8
alastormoody11 is on a distinguished road
Hi,

I am modeling a spray injection and the injection lasts only for 20ms and the injected particles take 0.14s to traverse the flow domain, to make the simulation realistic as well as to reduce the computational cost(I will be tracking 5million particles instead of 1 lakh particles) I guess I would have to write a user subroutine for this since there is no readymade function for this sort of thing, if anyone has faced a similar sort of problem can they share their code or suggest any other method of achieving this sort of mass flow.
alastormoody11 is offline   Reply With Quote

Old   June 22, 2010, 19:58
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,646
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
? What are you talking about? This is exactly the sort of thing the particle tracking model is in CFX for. And if you have more particles than the particle tracking can handle then CFX also has eularian approaches.

Also note that particle tracking models do not model every particle. The modelled particles represent a population of particles, so you just need enough particles to describe the population. It is unlikely you will need 5 million particles to get adequate resolution of the population.

Either way there should be no need for you to write your own stuff.
ghorrocks is offline   Reply With Quote

Old   June 23, 2010, 09:39
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 100
Rep Power: 8
alastormoody11 is on a distinguished road
Respected Sir,

The problem is that at t=0s the particle injection starts and it ends at t=20milliseconds, however the particles that are injected during this interval at least 0.14s to traverse the control volume, now if I stop the particle injection at t=20ms I track only 100000 particles however if the particles are continually injected I have to track 5000000 particles which I think will overwhelm the system I am working on. Also I realised that 100 particles per time step was too high a number so have diminished the number of particles emitted per time step to 10. However it would be more realistic, and compuationally helpful if I could stop the particles from flowing in at t=20ms I hope that I have made the problem clear and await your reply.

Regards,

Ashish
alastormoody11 is offline   Reply With Quote

Old   June 23, 2010, 09:44
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 100
Rep Power: 8
alastormoody11 is on a distinguished road
Also checked out CEL functions for the above purpose they have a step function but I dont think it can be used as it is since it gives some odd values at zero.
alastormoody11 is offline   Reply With Quote

Old   June 23, 2010, 18:36
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,646
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You don't seem to understand how particle tracking works. It works by injecting a representative sample of particles and tracking them. Each modelled particle represents a large number of particles, not one single particle. This means to model 5M particles you probably only need 2k modelled particles (that's just a guess, you need to do a sensitivity study to work out the true required number) - and each modelled particle represents 500 true particles and therefore has momentum coupling of the full 500 particles.

You can give particles a maximum life so they disappear at a given time or particle lifetime.

As for injection times, yes that is easily done by step functions, if statements or interpolation functions. I have no idea what you mean by "odd values at zero", it works just fine.
ghorrocks 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
mass flow rate not conserved in turbomachine, interface defined wrong? wildli FLUENT 1 March 24, 2010 20:23
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 12 February 11, 2010 21:28
Target Mass Flow Rate Nitin FLUENT 6 March 12, 2004 06:39
Mass flow rate graph Lior FLUENT 0 March 7, 2004 11:02
Determine mass flow rate along flow path Atit Koonsrisuk CFX 2 October 5, 2003 04:47


All times are GMT -4. The time now is 13:05.