CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Creating a CFX Simulation using a MATLAB Interface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2019, 10:19
Default Creating a CFX Simulation using a MATLAB Interface
  #1
Member
 
HS
Join Date: Sep 2015
Posts: 30
Rep Power: 11
amsys is on a distinguished road
Hello,

Currently I am trying to create a user-friendly system where I can control CFX using MATLAB. The aim is to create a MATLAB script to read the input files (iges,stl) for CFX and then to mesh and setup boundary conditions with minimal user interaction before the script initiates the simulation and gives the result files. I have researched this a lot online and found no real direction on how to do this except with Fluent or Mechanical.

Would be great if someone could give some direction or even better is willing to share some code.

My simulations are internal flows so flows through pipes.

Thanks!
amsys is offline   Reply With Quote

Old   February 11, 2019, 10:57
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Have you ever used the "Record Session/Stop Recording/Play Session" features?

You can record your steps through CFX-Pre from loading the mesh, setting up physics, write the definition file, and submit the run (from within CFX-Pre).

Once you have recorded the session, you can play it from within CFX-Pre, or from the command line (in batch mode).

You can edit the session (plain text file), and learn how the session file works and customize it as you see to fit your needs.
Opaque is offline   Reply With Quote

Reply

Tags
ansys, cfx, matlab codes for cfd


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
Transient Simulation in CFX ashtonJ CFX 1 September 28, 2018 02:18
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
How to use the CFX periodic interface zhihuawan CFX 61 January 15, 2018 17:20
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


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