Swiftpack.co -  TurbulentDynamics/tdLBQVecTool as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
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.



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)


Stars: 0
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

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