how to couple ANN model in to fluent directly?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear Expert, My question is, is there any way to call or couple the code file (Matlab or Python) in the fluent simulation? if yes please let me know the what is procedure and steps. I created an ann model based on the weight and bias function and I want to know how can i couple or add directly this file to the fluent just like the UDF function of one property or function.
0 commentaires
Réponses (1)
Akshat
le 28 Août 2024
Hey,
UDFs in Fluent are typically written in C, and I see that you want to integrate an ANN model written in MATLAB within these UDFs.
For this, there is MATLAB engine API for C, which allows calling of MATLAB Functions and Scripts from C files. You can make a MATLAB function does the whole processing of the ANN and then call it from the UDF which you have written.
For more information on how to use this engine, refer this documentation link:
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Computational Fluid Dynamics (CFD) dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!