TAGGED: ansys-fluent, aqwa, automation, cfd-post, fluent, fluent-cfd-post, journal-file, matlab, python
-
-
June 24, 2025 at 4:26 am
vspenergyofficial
SubscriberHello there, I'm recreating the work from a video tutorial which I've found in YouTube to link Ansys Workbench to MATLAB using journal files. I've followed the video until 3:44, but right there, I couldn't see the variable 'Surface Nusselt Number' in the Variable Selector to use inside areaAve(Surface Nusselt Number)@walls in CFD-Post for the 'Results' component system (I'm using Ansys 2024 R2). I've searched the web & prompted ChatGPT for a solution. After I've initaialized the solution in Ansys Fluent, I've even selected all of the options in 'Sampling Options...', and in 'Sampling Options (Zone Selection)...' I was able to select select 'Surface Nusselt Number' in 'Wall Fluxes...' and I've selected it for the Zone 'walls' like I've interpreted from the video (as shown in the 1st pic).
how to link ANSYS Workbench TO MATLAB Using Journal Files ??? - YouTube
Â
but when I proceed to the later stages of the video in CFD-Post (corresponding to the same WorkBench Project), as I said I couldn't find the 'Surface Nusselt Number' in the Variable Selector. Even, if I try to manually type it the formula for the expression, I'm meeting errors like this:
.png)
So, then from ChatGPT's suggestion, I've exported the solution data from Fluent as shown below in a .CDAT file to manually process it in a new CFD-Post Window:
Now I can open this .CDAT file in CFD-Post and compute the value of the variable 'nusselt number' (which matches exactly with the YT video), but I can't link this expression to be a Workbench output parameter (like I have to, to follow the next steps in the video)
.png)
Context: I need to link up DesignModeler parameters for optimisation from their hydrodynamic response from AQWA, the optimization part is to be done in python/MATLAB, where I'm supposed to develop a new algo. for design optimisation as my research. I'm new to Ansys Products, I've never used Fluent or CFD-Post before, I need to link up AQWA to either python/MATLAB to backpropagate the outputs to iterate over designmodeler parameters to find the configuration which optimes my objective function (which is not a direct output from AQWA, but I have to calculate it using AQWA's outputs and some computing using python/MATLAB and my guide suggested me this video for reference.
P.S. I'm ok, with not being able to complete this Fluent example (due to technical incompatibilities/redundancies in the software), please help me resolve my issue for linking the Workbench, AQWA & either python/MATLAB for my research quest. I've tried for weeks to months, I've contracted experienced people like professors, researchers & other forums, but I couldn't figure things out (that too as a beginner, who's gonna have a very short duration of access to these softwares as an intern, where I'm expected to publish my research, which ends within a week).
Once again, Thank you so much from the bottom of my heart. Your help in having me figure out these software linkages would be invaluable to my research.Kodidasu Viveka Siva Surya Teja
-
June 24, 2025 at 9:12 am
Rob
Forum ModeratorPlease repost the AQWA question in a thread that's clearly marked as AQWA - the AQWA team (mostly) don't use Fluent and the Fluent team (mostly) don't use AQWA. We know what the "other" code does, but not what buttons to press.Â
The surface Nusselt Number in Fluent has a definition in the Fluent User's Guide and as it's also then calculated from other data won't be exported by default from Fluent in the data file. It's a surface value hence something appearing in .cdat  If you create a Report Definition in Fluent that can be promoted to a parameter.Â
-
June 24, 2025 at 9:42 am
vspenergyofficial
SubscriberOk Thank you I will post the repost the AQWA question separately, but could you please tell me how to Report Definition in Fluent, I couldn’t figure it out myself. Solving the AQWA problem is my bigger intention. For now, if at least the Fluent part is solved, I’ll see if I can reuse the solution for the case of AQWA.
Â
Â
Â
-
-
June 24, 2025 at 9:54 am
Rob
Forum ModeratorReport Definitions are covered in the tutorials as they're a monitor option to help judge convergence.   https://ansyshelp.ansys.com/public/account/secured?returnurl=/Views/Secured/prod_page.html?pn=Fluent&pid=Fluent&lang=en  Try Tutorial 1, and go from there.Â
-
- You must be logged in to reply to this topic.
-
6390
-
1906
-
1457
-
1308
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.
.png)
.png)