Fluid distribution in inclined rectangle
I’m working on a MATLAB code that simulates fluid distribution in an inclined rectangle. I’m encountering an issue with the fluid volume. It seems like the simulation is treating the rectangle as if it were still horizontal, limited by its original dimensions.
Here’s the specific problem:
At low fill levels, the fluid doesn’t lower past a certain point.
Similarly, at high fill levels, the fluid doesn’t fill the entire inclined rectangle, stopping again at the dashed blue line.
The maximum volume is 4.3L given the dimensions. I’ve attached the resulting plots of very low fill volume (0.01L) and high (4.2L).
How can I fix this?
Clarifications: the "dashed blue line" represents the non-inclined rectangle, the "brigth blue color" represents the fluid, the "black line" represents the tilted rectangle.I’m working on a MATLAB code that simulates fluid distribution in an inclined rectangle. I’m encountering an issue with the fluid volume. It seems like the simulation is treating the rectangle as if it were still horizontal, limited by its original dimensions.
Here’s the specific problem:
At low fill levels, the fluid doesn’t lower past a certain point.
Similarly, at high fill levels, the fluid doesn’t fill the entire inclined rectangle, stopping again at the dashed blue line.
The maximum volume is 4.3L given the dimensions. I’ve attached the resulting plots of very low fill volume (0.01L) and high (4.2L).
How can I fix this?
Clarifications: the "dashed blue line" represents the non-inclined rectangle, the "brigth blue color" represents the fluid, the "black line" represents the tilted rectangle. I’m working on a MATLAB code that simulates fluid distribution in an inclined rectangle. I’m encountering an issue with the fluid volume. It seems like the simulation is treating the rectangle as if it were still horizontal, limited by its original dimensions.
Here’s the specific problem:
At low fill levels, the fluid doesn’t lower past a certain point.
Similarly, at high fill levels, the fluid doesn’t fill the entire inclined rectangle, stopping again at the dashed blue line.
The maximum volume is 4.3L given the dimensions. I’ve attached the resulting plots of very low fill volume (0.01L) and high (4.2L).
How can I fix this?
Clarifications: the "dashed blue line" represents the non-inclined rectangle, the "brigth blue color" represents the fluid, the "black line" represents the tilted rectangle. matlab, error, matlab code MATLAB Answers — New Questions