CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

data transfer between fluent and matlab

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By AlexanderZ
  • 1 Post By ss_stardust

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2021, 14:02
Default data transfer between fluent and matlab
  #1
New Member
 
anonymous
Join Date: Nov 2021
Posts: 4
Rep Power: 5
ss_stardust is on a distinguished road
Hi all,
I am using MATLAB AAS toolbox for connection between fluent and MATLAB.
Now, I need to use FLUENT for simulation and MATLAB for optimization. I want to send initial population calculated in MATLAB to FLUENT, run simulation in FLUENT for that initial population and return some numerical data to MATLAB such that process can repeat itself till convergence in optimization is achieved. How can a UDF/Scheme code be written so that this transfer can be executed automatically?
Thanks.
ss_stardust is offline   Reply With Quote

Old   December 5, 2021, 21:59
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
you may control fluent from matlab using
Code:
iFluentTuiInterpreter.doMenuCommand(*TUI COMMAND HERE*)
ss_stardust likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 6, 2021, 09:10
Default data transfer between fluent and matlab
  #3
New Member
 
anonymous
Join Date: Nov 2021
Posts: 4
Rep Power: 5
ss_stardust is on a distinguished road
Thanks @AlexzanderZ for the quick reply.
To be specific, I want to use MATLAB inbuilt GA toolbox for optimization. So, I want to send the initial population of variables as input to my simulation in FLUENT and get output from fluent to calculate my objective function. Can someone please provide or guide for the Algorithm or workflow to achieve the coupling in above mentioned way along with possible macros/commands required for this workflow as I am a bit new in this area?

Thanks
skarnjs123 likes this.
ss_stardust is offline   Reply With Quote

Reply

Tags
fluent as a server, matlab-fluent coupling


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting plume head/nose data from Fluent to either MATLAB or EXCEL Studentt FLUENT 0 July 30, 2018 11:41
Can I export contour data from Fluent to Matlab? kbaker FLUENT 0 October 28, 2017 12:21
Fluent crash on writing data file after thousand iterations Chuck87 FLUENT 0 September 2, 2015 17:17
How to link Fluent and MATLAB and exchange data? z701531118 FLUENT 3 October 9, 2013 15:26
Plotting Fluent data with MATLAB jgrisham FLUENT 0 March 25, 2012 21:28


All times are GMT -4. The time now is 22:32.