- Open your Simulink/Simscape model and run a simulation.
- In the Simulink Editor, go to "Simulation" -> "Model Configuration Parameters" -> "Data Import/Export".
- Under "Data Export", select "Save simulation output as" and specify the name and location of the output file.
- In the same dialog box, choose the desired format for the output file. ANSYS Fluent supports various file formats, including CSV and ASCII.
- Run the simulation again to generate the output file.
- Open ANSYS Fluent and create a new case or open an existing one.
- Go to "File" -> "Read..." and select the output file.
how can I communicate matlab with ansys each other? as a input and output files?
19 次查看(过去 30 天)
显示 更早的评论
I have alrady Simscape model and ansys model. I want to make communicate with each other as an output data from matlab to send to ansys fluent as an inout file.
0 个评论
回答(1 个)
Vidip Jain
2023-2-23
If you have a Simulink/Simscape model in MATLAB, you can use MATLAB's "Simulation Data Inspector" (SDI) to log the simulation data and save it to a file. You can then read this file in ANSYS Fluent as an input file.
Here are the steps to export Simulink/Simscape model data to ANSYS Fluent:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computational Fluid Dynamics (CFD) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!