Using Computational Fluid Dynamics CFD in Matlab

Hi There, I have a situation that requires Computational Fluid Dynamics to simulate a pump in a swimming pool. I have attached three scenario's of the type of problem I need to consider. I would like to know if Matlab is able to solve this problem, and if so, which tools to use? I have extensive experience in electromagnetic simulation, but am beginning to find my way in CFD. Thanks, John

1 commentaire

If you are still interested in running CFD simulations from Matlab scripts and maybe importing the results and data, you can maybe use the FEATool Multiphysics toolbox Add-On from the File Exchange which supports running OpenFOAM from MATLAB GUI and scripts.

Connectez-vous pour commenter.

Réponses (1)

Torsten
Torsten le 1 Mai 2024
Modifié(e) : Torsten le 1 Mai 2024

1 vote

Are you sure that these problems are really meant to be solved with "full CFD" ?
MATLAB does not have a CFD tool - you will have to use Openfoam, ANSYS or related software tools.

3 commentaires

John
John le 1 Mai 2024
Modifié(e) : John le 1 Mai 2024
Thanks. Yes I see that Matlab works with Openfoam, and also Quickersim. So part of the question is whether anyone has used these tools within Matlab, and whether they think the problem I have described can be solved. I have used Ansys Fluent to solve the first two scenario's described in the images I uploaded, but it cannot move the fluid pumps (what I call 'Scenario 3'). I wondered whether that would be possible in Matlab because you have more control over the script.
I wondered whether that would be possible in Matlab because you have more control over the script.
My advice : stick to ANSYS Fluent. If you really want to solve these problems with "full CFD", you have a free-surface problem - one of the most difficult problems in CFD. So you will only have a chance to get valid results if you use the best tools.
John
John le 1 Mai 2024
OK thanks I appreciate the advice.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Computational Fluid Dynamics (CFD) dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by