Skip to main content

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

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.701-cp310-abi3-win_amd64.whl (799.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

flumy-8.701-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.701-cp310-abi3-macosx_15_0_x86_64.whl (883.4 kB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

flumy-8.701-cp310-abi3-macosx_14_0_arm64.whl (809.5 kB view details)

Uploaded CPython 3.10+macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for flumy-8.701-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 078506bd9691a4c81c364667d8add4d738bfa894af12e426c4883461d471c1f4
MD5 1da995513c2a0622ebe40fd9523b3938
BLAKE2b-256 109c8020fdd0a3015a8f220e4e11cce5848c19b8c15c1cae6993aecfb33d96a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flumy-8.701-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b29147b7f9fe0591223c03a878a8dc1ec82ae4f836dcc3d00ae3904ab762481b
MD5 a73926267f12c94f5c449d05e327f4d8
BLAKE2b-256 86bb72e9780baa0bef92c7da8589cdf7c34295c226abd28c1225eaf837b37a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flumy-8.701-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 18b6a9443840de7465f43108d47d59347a7d5b9ae2d3444495a1dcebbc0391f3
MD5 a78dcbe4185600016277ab55d6d5f1df
BLAKE2b-256 96bab0cb98a5213b73d9b145bc25a404c3253797f395802fd2fda586fd5a4349

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flumy-8.701-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 743f44fa6da7f89170ca5a35f9ce9bf2592dc32b17238daa24bcf52723d68fa4
MD5 f005265ca52bf7f99bce42d793c038ea
BLAKE2b-256 706a194e9690dba995ee6dba72c3c9e8728d43bc6e2fbc8e153b983c892f63d4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

8.701 This release

4 files

8.700

4 files

8.600

17 files

8.500

18 files

8.400

33 files

8.300

28 files

8.200

28 files

8.100

33 files

8.0

28 files

7.402

23 files

7.401

5 files

7.400

5 files

7.300

12 files

7.201

12 files

7.200

12 files

7.121

12 files

7.120

12 files

7.113

4 files

7.112

12 files

7.111

12 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page