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

Specify number of parcels in surface particle injection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2020, 04:54
Default Specify number of parcels in surface particle injection
  #1
Member
 
MMatt
Join Date: May 2013
Posts: 59
Rep Power: 13
MMatt is on a distinguished road
I know that by using the "surface" type of injection, the number of parcels will automatically be equal to the number of cells in that surface, but due to my mesh being very refined on that surface, the number of parcels injected at every time step is huge (50'000).

Is there a workaround that issue? How can I reduce somehow the number of parcels injected?

Many thanks!
MMatt is offline   Reply With Quote

Old   April 6, 2020, 08:12
Default Options
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
There are at least two options - use group injection or use FILE injection. For FILE injection, setup the injection you already have and then sample the particles at the injection boundary. Now, open this file and edit it. During editing, you have to modify following

1. Number of parcels. Each line represents a parcel
2. Each parcel has mass of particle, mass of parcel, and number of particles represented by the parcel, given as frequency. You need to modify the mass of the parcel, shown as mass-flow-rate and the frequency since you are reducing the number of parcels.
3. Keep only as many lines as many parcels you want. So, if you want 5000, then remove 45000 lines. A good text editor would be very handy here.

Then, switch from surface injection to file injection and read this file.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 22:29
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Unfinished particle tracks in simpleReactingParcelFoam Cornelia OpenFOAM Running, Solving & CFD 3 June 5, 2015 03:58
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14


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