fluid flow simulation across a geometry made in 2D

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

Is mass flow rate the only input?
what other ways are you suggesting. input condition is not important for now as we can provide pressure driven flow. I am curious if this can be modeled.
I am not suggesting anything yet.
To suggest anything, I would require more information. And that is why I asked, "Is mass flow rate the only input"?
Could you specify what exactly are you trying to do? What is the objective?
let's say this is flow through pipe with different diameter. Every element here is a pipe of different diameter. Now when there is flow moving in, the flow will be different across parallel lines. Also there will be different velocity in different element due to different diameter.
i would like to understand the flow distribution across the system. hope this helps.
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.
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

Products

Asked:

on 20 Oct 2023

Commented:

on 31 Oct 2023

Community Treasure Hunt

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

Start Hunting!