![]() |
FlowSieve
3.4.0
FlowSieve Coarse-Graining Documentation
|
This tutorial shows the basic functionality of the coarse-graining codebase.
It includes:
generate_data.pyprocess_results.pygenerate_data.py script creates a file (velocity_sample.nc) that contains x- and y- velocity componentsCase_Files/coarse_grain.x (see notes below) and copy into this directory.python generate_data.py)./coarse_grain.x --input_file velocity_sample.nc --filter_scales "1e3 15e3 50e3 100e3").python process_results.py)When specifying filtering scales, only pick a few. Other tutorials will cover how to handle outputs with many filter scales. A suggestion is: 1e3, 15e3, 50e3, 100e3. While the codebase is heavily parallelized, it unnecessary for this example and will be covered in later tutorials, and so we simply run in serial here.
When compiling, use the constants.hpp file provided in this directory.