CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

how to output particles information

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2024, 11:08
Default how to output particles information
  #1
New Member
 
wzr
Join Date: Oct 2021
Posts: 5
Rep Power: 5
wzrzainh is on a distinguished road
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
wzrzainh 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
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


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