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

Exporting particle location data not working.

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Micael
  • 1 Post By Micael

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2018, 04:49
Default Exporting particle location data not working.
  #1
New Member
 
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8
Billy_ is on a distinguished road
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?
Billy_ is offline   Reply With Quote

Old   February 15, 2018, 09:58
Default
  #2
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
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.
Attached Images
File Type: png Capture3.PNG (48.6 KB, 83 views)
Billy_ likes this.
Micael is offline   Reply With Quote

Old   February 16, 2018, 00:38
Default
  #3
New Member
 
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8
Billy_ is on a distinguished road
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.
Billy_ is offline   Reply With Quote

Old   February 16, 2018, 11:00
Default
  #4
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
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).
Billy_ likes this.
Micael is offline   Reply With Quote

Old   February 18, 2018, 03:49
Default
  #5
New Member
 
Billy
Join Date: Jan 2018
Posts: 8
Rep Power: 8
Billy_ is on a distinguished road
Thanks Micael, much appreciated.
Billy_ 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
[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


All times are GMT -4. The time now is 16:15.