|
[Sponsors] |
Exporting particle location data not working. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 15, 2018, 04:49 |
Exporting particle location data not working.
|
#1 |
New Member
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Hi,
I have run a simulation where I am attempting to export the locations of all particles (which the locations will be used for a particle injection file). I have simulated 225 particles falling into a closed hopper, thus requiring these locations for further simulation of the particles exiting the hopper. I have tried file -> export -> solution data (to a CGNS file) but it doesnt give me the correct number of particle locations (should be 225). I am using matlab to import the file and read the locations of the particles. Alternatively, I have tried simulating 1 particle in the attempt to export the location of this particle, still doesn't give me the location of one particle. Am I exporting wrong? Any suggestions would be appreciated. UPDATE: Alternatively, is it possible to run the simulation with the desired number of particles, then create a second simulation linked to the first. The linked simulation will use the particle locations from the first simulation. If this is possible, how do you link projects in Workbench? |
|
February 15, 2018, 09:58 |
|
#2 |
Senior Member
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18 |
You can use particle tracking panel to export particle data to a file, see attached picture. Then you will have to do minor editing to get the injection file format.
|
|
February 16, 2018, 00:38 |
|
#3 |
New Member
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Thanks Micael!
The method you suggested is working correctly. On a side note, if I have 225 particles within my system and would like to inject all using a file injection, within my injection file, will I need 225 of the following lines of code for each individual particle? ((x y z u v w diameter temperature mass-flow) injection0:ID ) Thanks again. |
|
February 16, 2018, 11:00 |
|
#4 |
Senior Member
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18 |
Yes.
With the method I shown in my previous post you will get the particle position and velocity. You can copy that in Excel for editing to get the format in your last post. If you don't solve for energy equation, just put an arbitrary temperature (like 300K). Also, if you want the particles to be injected with zero velocity, you can simply put that value instead of the ones from the exported file. Adjust mass-flow to get exactly one particle mass for the injection duration (it's commun to use 1e-8 sec for injection duration in FLUENT). |
|
February 18, 2018, 03:49 |
|
#5 |
New Member
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Thanks Micael, much appreciated.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 21:06 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
How to scale and translate the grid of particle data and STL geometry | Saidul | Tecplot | 1 | January 11, 2015 22:15 |
Exporting data of transient simulation DURING a simulation, at user locations ? | Milan2013 | CFX | 0 | April 18, 2014 04:47 |
forced to sticking of soot particle | kmgraju | CFX | 0 | November 27, 2012 10:08 |