fluid flow simulation across a geometry made in 2D

36 views (last 30 days)
Hello everyone,
I have started working with Matlab since couple of weeks. I am looking for a possible solution if we can perform in Matlab. I have a flowing geometry in 2D and I would like to find pressure at all the nodes providing the mass flow rate as an input. Also would like to find the distribution across the region.
Would like to understand if such mathematical model is possible in matlab and if so, where do i start.
Thanks in advance.
  6 Comments
Zak
Zak on 28 Oct 2023
If each element is a pipe and you know the flow rate, you can get the pressure drop from the Hagen-Poiseuille equation. At each fork, the mass would have to be conserved. If you can assume that the fluid is incompressible it would be as simple as Q_in = Q_out at each node, although some will have more than one inlet or outlet.
I'm guessing that you'd end up with a big system of equations to solve. At first glance it looks like it would be a linear system, but I didn't work it out.
Jigar
Jigar on 31 Oct 2023
Hi Zak, thank you for sharing your thoughts. Yes, I know the mfr but only at the inlet at one element let's say. At other element it needs to evaluated. And yes, it is an incompressible fluid to simplify the problem. My aim is to monitor the flow/velocity at different nodes in the system. The orange element in the figure is inlet and outlet elements. Hope you understood what I am trying to simulate over here.

Sign in to comment.

Answers (0)

Categories

Find more on Fluid Dynamics in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!