Integrating Simulink with OpenFOAM.
Show older comments
Is there any way of integrating Simulink with OpenFOAM (e.g. having an engine model in the first and a propeller model in the second)?
Answers (1)
Precise Simulation
on 31 Mar 2021
0 votes
Although I currently don't have a direct example for this, it would technically be possible to do this using the FEATool Multiphyics MATLAB toolbox which includes OpenFOAM as a physics solver backend. In this way you could write a custom coupling between Simulink (or other MATLAB toolboxes) and OpenFOAM via/using the FEATool toolbox functions and API.
3 Comments
Arman Burkitbayev
on 7 Sep 2022
Hi,
I am reading what you wrote here and did not understand properly. Please let me understnad your point.
So, we can run simulation in openfoam and in matlab. after that, we con connect together. Am I right?
I am looking for this scenario. how can I connect both of them here.....
Marten Mehring
on 15 Jul 2023
Yes if you have only one subdomain.. multibody simulations are not possible at this time in FeaTool.. I tried it but it’s not going
Precise Simulation
on 30 Sep 2024
The toolbox has now been updated to support OpenFOAM simulations with multiple regions using the chtMultiRegionFoam solver.
Categories
Find more on General Applications 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!