Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.28 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.28 KB

IBParticle2VTK


introduction

We have developed a comprehensive particle resolution calculation program [IB_Particle], in which particle information is outputted to the case folder, with each particle having its own infomation file. With the tool provided here, these particle information files can be converted into VTK files for visualization using ParaView.

how to use

1. generate track

# python_executable *.py Particle_csv_file
python ParticlePath.py IB_particle_1.csv
#generate IB_particle_1.vtk, all the location with points

2.generate particle

# python_executable *.py Particle_csv_file_part time_step 
python ParticlesTimeStep.py IB_particle 100
#generate Particle[time].vtk, all the particle infomation at same time

3.Read Log info

# python_executable *.py logFile
python parseLogInfo.py log
#generate TimeStepLevel's cell, max uvw, coarse time