Clear Filters
Clear Filters

About Fluid dynamics in a porous medium...

16 views (last 30 days)
I am struggling with my research.
I want to simulate mass diffusion in a porous medium. Via Matlab, I have got binarized 3D structure (only 0 and 1, 200x200x200 double) and corresponding stl files. By traditional CFD methods, the meshing is not working because the structure is very complicated. But the simulation that I want to do is quite simple.
Just putting concentration c1 for the lowest x coordinate and c2 for the highest x coordinate. And figure out the flux for the concentration difference (flow rate). Is there any recommendation for this by Matlab?

Accepted Answer

John D'Errico
John D'Errico on 10 May 2024
As @Torsten said, this is far too vague a question.
I would suggest starting with a far simpler problem, especiially good is if your problem is one where you can predict the solution from first principles. Learn to use and understand the tools well. Then add some complexity in, moving towards the problem you want to solve. Don't dive into the deep end of the pool before you can swim.
As far as helping you to decide the best way to do this in MATLAB, I have not a clue. (And I spend some serious time doing ME graduate work, but very little time with fluids.) But that suggests you should spend time discussing this with your thesis advisor, someone who should be uniquely able to help point you in the right direction.

More Answers (0)


Find more on Fluid Dynamics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!