Skip to main content

Meandering Channelized Reservoir Creator

Project description

Flumy Python Package (flumy)

flumy is a Python Package for Flumy kernel C++ library.
More details for Flumy are available here: https://flumy.minesparis.psl.eu

This Python Package can be used by anyone who wants to generate realistic non-conditional reservoir models for meandering channelized fluvial environement (Training images for MPS or training datasets for GANs).

How to cite

Please, use this to cite us in any publication or results for which Flumy has been used:

--------------------------------------------------
FLUMY™
Process-based channelized reservoir models
Copyright © MINES PARIS - PSL / ARMINES
Free download from https://flumy.minesparis.psl.eu
--------------------------------------------------

Installation

pip install flumy

Usage

Here is a script example which execute a Fluvial simulation:

# Import package
from flumy import *

nx      = 250   # Number of grid nodes along Ox
ny      = 200   # Number of grid nodes along Oy
mesh    = 10    # Horizontal grid mesh size: 10m
hmax    = 3     # Maximum channel depth: 3m
ng      = 50    # Required Net-to-Gross: 50%
isbx    = 80    # Required sand bodies extension (medium extension = few meander cutoffs)
verbose = True  # Verbose mode

res = 30            # Vertical resolution (increase 'res' to get higher resolution)
dz  = hmax / res    # Vertical discretization step (0.1m)
zul = 3 * hmax      # Fill a reservoir of 3 x hmax height (9m)
nz  = int(zul / dz) # Number of vertical nodes of the resulted block of sediments

# Launch the simulation
seed = 123456 # Simulation seed
# Create the simulator
flsim = Flumy(nx, ny, mesh, verbose)
# Launch up to zul
success = flsim.launch(seed, hmax, isbx, ng, zul)
if (not success):
    print("Error while running Flumy")

# Display the age of the simulation, the mean topography reached and the total number of meander cutoffs
print("Final age:",flsim.getAge(), "yr")
print("Mean topography:",round(flsim.getDomain().getMeanTopoGeo(),2), "m")
print("Number of cutoffs:",flsim.getNbCutoff())

# Retrieve the simulated block informed with facies, grain size and age (in three numpy arrays)
fac,grain,age = flsim.getBlock(dz, zb=0 ,nz=nz)
print("type(fac):", type(fac))
print("fac.shape:", fac.shape)
# Display facies proportions
print("Facies proportions (%):", getFaciesProps(fac))
# Sand proportion (PB) corresponds more or less to the required Net-to-Gross

# Display Facies cross-flow section
showSection(fac = fac[50,:,:], size = 8, legend=2)

# Display Grain Size along-flow section
showSection(grain = grain[:,20,:], size = 8, legend=1)

# Display Age horizontal slice section
showSection(age = age[:,:,2], size = 8, legend = 1, title = "Age horizontal slice")

Detailed documentation

Please refer to the doxygen documentation of the C++ Lite API here :

https://soft.mines-paristech.fr/flumy/doxygen

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

flumy-8.700-cp310-abi3-win_amd64.whl (799.0 kB view details)

Uploaded CPython 3.10+Windows x86-64

flumy-8.700-cp310-abi3-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

flumy-8.700-cp310-abi3-macosx_15_0_x86_64.whl (882.7 kB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

flumy-8.700-cp310-abi3-macosx_14_0_arm64.whl (809.1 kB view details)

Uploaded CPython 3.10+macOS 14.0+ ARM64

File details

Details for the file flumy-8.700-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: flumy-8.700-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 799.0 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for flumy-8.700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e61a4e99a947b62431ef10271e32d95cfcbbb2e6d3e6f68dda7c7398561bac19
MD5 e386790543e3c6783204bc6d0fd1242a
BLAKE2b-256 a91e83b76a6f732198d9e18d56bc6562d99b477eeb8e1e460ae288f421eae077

See more details on using hashes here.

File details

Details for the file flumy-8.700-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.700-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 96433c833c085958ecf3339fe77d121c3ff5a7921f143e6073bed93994a1f406
MD5 ab58aa7cc6be6e645fe97a7f44d08a75
BLAKE2b-256 fccc23202a5d600ce1b1130fbdcfd5cd10407e7a3837b987be6b0f139b0d2845

See more details on using hashes here.

File details

Details for the file flumy-8.700-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.700-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9cc06f5df3bbf3401849d20b6ecec072d38e9e87032ca6baee95ae5763bd6be2
MD5 e70b5f5fecf0a727e3c44284e43262ab
BLAKE2b-256 b57e6d4ae41c235415a1220c5ed3c2a94136dfb45aa90abe37bad646568183c5

See more details on using hashes here.

File details

Details for the file flumy-8.700-cp310-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for flumy-8.700-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6fd647357274ef718b1749d095009cef3dad5e9d9b5f57ba4c4e819915df80ef
MD5 71972850c3bd8081effdbf05998f603f
BLAKE2b-256 c50bcacbdb631cc8c8f523dbd0acbcf168c345c1299045043c0975c4c3ac52b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page