|
[Sponsors] |
June 25, 2024, 11:08 |
how to output particles information
|
#1 |
New Member
wzr
Join Date: Oct 2021
Posts: 5
Rep Power: 5 |
In text output, I don't find particles velocity or position. Did I not turn on particles tracking? In addition, I used this subroutine to Counting Particle Concentration, it dosent work.
!------ Count particles in grid cells for mesh block nbl ! where sclr(ijk,1) = number of particles in cell ijk !---- initialize scalar array #1 to zero if(nsc.gt.0) then do ijk=ijklim(nbl,1),ijklim(nbl,2) sclr(ijk,1)=zero enddo !---- loop over particles in mesh block nbl to make the count do k1=1,itnps if(ipmbl(k1).ne.nbl) cycle ! skip particles that do not belong ! ijk_str=ijkprt(k1) ! ! ! to current mesh block ! extract structured index of the cell where particle k1 is located ijk=ijk_str2unstr(ijk_str) ! convert structured cell index to fluid sub-domain index sclr(ijk,1)=sclr(ijk,1)+one ! increment the particle count in cell ijk enddo endif |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to output the particle information stripped from the edge of the Euler wall | gwqsz | FLUENT | 0 | May 10, 2024 05:29 |
Problems with Time Dependent Simulation (Unsteady) | JadeX | SU2 | 3 | February 29, 2024 03:19 |
Output of the momentum flux due to Lagrangian particles impinging on a wall | Teilhart | OpenFOAM Post-Processing | 0 | November 23, 2023 04:41 |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
particles model | ati_ros61 | FLOW-3D | 3 | December 6, 2009 17:03 |