how to couple ANN model in to fluent directly?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Akshat
il 28 Ago 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 Commenti
Vedere anche
Categorie
Scopri di più su Computational Fluid Dynamics (CFD) in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!