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.600-cp314-cp314-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

flumy-8.600-cp314-cp314-macosx_15_0_universal2.whl (786.9 kB view details)

Uploaded CPython 3.14macOS 15.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp314-cp314-macosx_14_0_universal2.whl (799.1 kB view details)

Uploaded CPython 3.14macOS 14.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp313-cp313-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

flumy-8.600-cp313-cp313-macosx_15_0_universal2.whl (786.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp313-cp313-macosx_14_0_universal2.whl (799.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp312-cp312-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

flumy-8.600-cp312-cp312-macosx_15_0_universal2.whl (786.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp312-cp312-macosx_14_0_universal2.whl (799.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp311-cp311-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

flumy-8.600-cp311-cp311-macosx_15_0_universal2.whl (786.4 kB view details)

Uploaded CPython 3.11macOS 15.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp311-cp311-macosx_14_0_universal2.whl (798.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp310-cp310-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

flumy-8.600-cp310-cp310-macosx_15_0_x86_64.whl (855.6 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

flumy-8.600-cp310-cp310-macosx_15_0_universal2.whl (786.5 kB view details)

Uploaded CPython 3.10macOS 15.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp310-cp310-macosx_14_0_universal2.whl (798.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ universal2 (ARM64, x86-64)

flumy-8.600-cp39-cp39-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

File details

Details for the file flumy-8.600-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d28f6979d902e42101a6c15bdba2022e0774d5c31c848aab9db55c7dc6096aa9
MD5 52b2c00ae08cea6ad55c89784600fb1f
BLAKE2b-256 550eeaa32fa4a1dddbabb989c12c6ef5e72415857838233569c9e7351867e552

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp314-cp314-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 1f7ee7e6d5c019b60cd5f1e447a8d4fd5abb099d8c7cf79094261339a78cdab1
MD5 f342a46e50acf4eb1a6527237ea90b03
BLAKE2b-256 0e76c223836841a2760273a735d5a01ee02d70431e9b207eb2449728056bee16

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp314-cp314-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp314-cp314-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 d83bed6e7115fe74c32fbb316247eeaaf49b7a4abf4371121c7535d18207d7b4
MD5 72d91935ff7a4f28a8f08fd40c192138
BLAKE2b-256 6ee53554d3b155bc93f110be39508a20033ff6574f63ea6425caaee263b82b87

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0a8bcf8ac54c3663c9e2ce55d35140a0fe8c29b0dc3610f2fe8aa748c602a57
MD5 3ee85a7ed323c363caca778ebadb1f16
BLAKE2b-256 e1d9817a2b55b8f1b7d50f411feccaa6a020ebb0cfafbff6018f5599125b1577

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp313-cp313-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 7b15b09e33571026f33857c8f4f47422e88c71d1166ffceb49d3c02db40cab78
MD5 fc4c6515cebfd14d6903ba9bab844a17
BLAKE2b-256 b6ca1df9fd6c0eadc275c9e97cd9caa208cbdf81f2eea50b58a4da1ac46e6b21

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp313-cp313-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp313-cp313-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 854c773c6b098025643bdf76a726f5d8d5ac3479b52a7a9123ab345111a6261a
MD5 859e57e3a17d627db996e95e70db2db8
BLAKE2b-256 fcf848c5f799efc0b1a7aac592457e866f79ca8a1018b6eaa025a7592489804f

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b694ddb6efd600f9ac4a64a3c11943cc4edf0dde9690038c00cc58ea0922441
MD5 30045051a879483d797da3bab615f4e8
BLAKE2b-256 2c8f0532dc005d2b354c814749041e4a9b194385fb8479ec35c492666add5a4f

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp312-cp312-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 38fe48978eabf7b11ce5d3cba82fb34cc95319a613c8ca19875696afddf1fbc7
MD5 ffaa902afca27b698a0c80ace25aaf9c
BLAKE2b-256 e4f50c144837ab67433f64b4ea81ee8dc84004defba26cacb7ebbcfbdf024243

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp312-cp312-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp312-cp312-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 ef71d4005ab7df68dda782839139e56dcdf1713e13f1c37bfca698085431b01e
MD5 713cb522629d1134b4ef873ea098239c
BLAKE2b-256 86221e2debf23809c8540c01c443626d0643985c4ee0c21b8949020b975c50ee

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c55e8dfa7cd94e726ec648871065bb308e2957e8689edf2d6eb6a552581e7fbd
MD5 59862128b9fc2f2c1b73f2ea0afcb7cc
BLAKE2b-256 7c31a3bab5dec808ede783a42b55620af1c169adb20fa381eafe03eeafc6035a

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp311-cp311-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 da9dc598ee03561af4a8cedad0c0ae9582894d161dbb8ba24b7837254030608e
MD5 3259a98fb79cf92e2fe1ba690e0c37df
BLAKE2b-256 c437d1b37b258a3e914adfe20970534cc90671c965b16cb51cbf0e14930f2565

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp311-cp311-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp311-cp311-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 26e5d7e452183a8fe50e748f972fe6c73d07e992cb7d3ee2fc0b7c4d3016cfbf
MD5 bfd05165606cb6f9d4a5909a34ddce49
BLAKE2b-256 30a8f85ca1336bd05121a144bf87081981077c8926353766d12dbfb20bbe666f

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1c02509bcd12a85fdbce87bf7923841e8e7b41614141f4672ca351c03efd062
MD5 7cb1e01d0945835576edfc37915e27d8
BLAKE2b-256 0cb00617a267e76da866b368bd77f3c4b56e1e6d5e1819ba69b97fdf596796a9

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 e0263e8e9e982f4b72ef34cc728cf306587f98b60af2f7128949b77167b35cd3
MD5 d6fb1188948738d74429c84561e2fa55
BLAKE2b-256 7b913a5f169cd8bfe55bea7cce21f455eab29fe2a2badcc192aec3d0766e7210

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp310-cp310-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 6f2f9f5784583c0480ec374cc56670f52c7c46f284121e61b11b36e2388c396e
MD5 52e213bf6970eecb854e83337c8b3061
BLAKE2b-256 b6aa17b3421204e8f609e3a7179e84e96ee33a14c0dd454fea108bc239257e56

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp310-cp310-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp310-cp310-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 ecb80fcc5a38d3c008ce46ab6bdeccce21334df88b672d2bf867390107553d33
MD5 3292a57bb0b95f76475a477356b0a935
BLAKE2b-256 380f6e56cf5057e1cc975246dc99d7a05a89b2808b7ff291242c594bc91f19f3

See more details on using hashes here.

File details

Details for the file flumy-8.600-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for flumy-8.600-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b07c34880ffc673a47512530bc41f50bcb7fd044bfbb0f7c2fcbdbd392e8c1f
MD5 e1c2fb4a73a63e4e280267d5180eeb0f
BLAKE2b-256 444458c580a45067bde04028147f50872b6d6a785f130592853dc54ae1b79662

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