pmgbergen / porepy

Python Simulation Tool for Fractured and Deformable Porous Media
GNU General Public License v3.0
246 stars 88 forks source link

Can you guide how we can modify the physics in the code? #65

Closed ghost closed 6 years ago

ghost commented 6 years ago

I was wondering if you can help guide how to change the fluid flow physics in the code. I am not an expert in numerical methods and discretizations, so I am wondering if there's an easy way to add/modify a partial differential equation describing some physical phenomenon? Thanks.

keileg commented 6 years ago

The code is built up so that it is easy to couple discretizations of different terms. For you, the most relevant model is probably the linear advection-diffusion equation, or perhaps a slightly compressible pressure equation. If you stay with these terms, you can modify parameters, such as compressibility, viscosity etc. Currently, we don't support, say temperature dependent viscosity and similar, but you can tweak this in a time loop. Improvements are planned here, but not within the first month or two.

If you want go to more advanced physics, for instance multiphase flow, this is not supported, and will not be for the foreseeable future. The main focus of the code is for now to handle complex fracture geometries, and study discretization schemes for mixed-dimensional problems.

ghost commented 6 years ago

Thanks. Can you point me to the code you suggested can be modified?

keileg commented 6 years ago

You probably want to confer the tutorial on slightly compressible flow. The corresponding module for advection diffusion is porepy.numerics.parabolic.

tor. 9. nov. 2017 kl. 15:55 skrev L4student notifications@github.com:

Thanks. Can you point me to the code you suggested can be modified?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/pmgbergen/porepy/issues/65#issuecomment-343178930, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwKHg-QC3JBjani89qcv4DyjTz9xH0kks5s0xJZgaJpZM4QYAiM .

ghost commented 6 years ago

Thanks.