Swiftpack.co -  Package - TurbulentDynamics/tdLBQVecTool
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
TurbulentDynamics/tdLBQVecTool
Tool for manipulating Lattice Boltzmann QVec files
.package(url: "https://github.com/TurbulentDynamics/tdLBQVecTool.git", from: "0.1.1")

TURBULENT Dynamics QVec Tool

Part of tdLB

Turbulent Dynamics specialises in running high-resolution fluid dynamics simulations on supercomputers. The application decomposes the complete simulation space into smaller grids and each grid is run on one node. During the simulation each node creates output files independently. This applicaiton is used to stitch these files together and do some other post processing calculations.

Documentation

Documentation

Getting Started

git clone https://github.com/TurbulentDynamics/tdLBQVecTool.git
cd tdLBQVecTool && swift build
./tdLBQVecTool --vorticity --all SmallSampleDataFromLBCpp 
./tdLBQVecTool --vorticity SmallSampleDataFromLBCpp/plot_slice.XZplane.V_4.Q_4.step_00000050.cut_29 
./tdLBQVecTool *

There is limit to number of arguments on Linux systems so the following can also be used

./tdLBQVecTool --blob "rootdir/*.XZplane*"
./tdLBQVecTool --xzplane rootdir

Larger Sample data available in a git-lfs repo git clone https://github.com/TurbulentDynamics/tdQVecRushtonTurbineSampleOutput.git

46M    plot_output_np64_gridx160
131M    plot_output_np8_gridx268
3.4M    plot_output_np8_gridx44
181M    total

#The jupyter notebook in the "python" directory can be used to visualise the file created.



![Impeller Vorticity](https://raw.github.com/TurbulentDynamics/tdLBQVecTool/master/docs/Impeller_Vorticity.jpg)

GitHub

link
Stars: 0
Last commit: 1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco