I want to initialize position and numbers of particle in channel that orbit around an axis. Particles should be located in specific space and during the solution will move in channel. How can I do this?
Fluent provides the function that users can write a file including the initial positions and relative information for DPM modeling. And then using this file you can define the injections in DPM modeling module. You can easily find more detailed information in the manual of Fluent. Good luck.
Fluent provides the function that users can write a file including the initial positions and relative information for DPM modeling. And then using this file you can define the injections in DPM modeling module. You can easily find more detailed information in the manual of Fluent. Good luck.
Dear Bin, could you please give the name of the function or direct reference to the manual chapter. Some time ago I had the same question, but could not find the answer in the manual.
it looks like it is necesary to choose 'file' in the injection type option (Models->Discrete phase->Injections->set..->). The file should look like this:
((X Y Z U V W Diameter Temperature mass-flow) name)
In my case, I wanted to inject particles evenly on a surface, but my mesh was so fine that a surface injection would result in nearly 90k particles and a dpm iteration time of about 15 minutes. This essentially choked my simulation.
But I have a solution that might be related to this question! My solution was to start a transcript-recording (file/start-transcript) and then
/define/injections list-particles "injection-0"
...where "injection-0" is my particular surface injection. This outputs a long file with the initial conditions of the surface injection. I then used sed to delete every other line in the file and turned it into an injection file.
Ironically --and a little frustratingly-- the output file is in the format (index, type, x, y, z, u, v, w, temperature, diameter, mass-flow) and the input file format required is ((x, y, z, u, v, w, diameter, temperature, mass-flow) name) as Georgy Shoev states above. So, you will need to do that reordering. You could actually do the whole thing (deleting lines and switching fields) in a spreadsheet or table and then convert back to a delimited text file to read into fluent. I used sed because it was quicker for me for whole line operations. I don't know how to do the field reordering though!
So, this is years after the question, but I hope future visitors may be helped...