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

Setup a case by commanding in Matlab

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2014, 13:07
Default Setup a case by commanding in Matlab
  #1
Senior Member
 
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 100
Rep Power: 15
Henry Arrigo is on a distinguished road
Hi all;
I have a .msh file and I want to setup a .cfx file from that through programming in MATLAB. How is it possible?
I thought recording a session could be the solution but I don t know how to play that session from MATLAB.
Thanks
Henry Arrigo is offline   Reply With Quote

Old   March 23, 2014, 04:24
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am no matlab expert, but I am sure matlab can call command line executables. So then you can do it like any other script file called from the command line - it is just the command line was called from matlab, not the command line (or a batch/shell file).
ghorrocks is offline   Reply With Quote

Old   March 23, 2014, 05:37
Default
  #3
Senior Member
 
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 100
Rep Power: 15
Henry Arrigo is on a distinguished road
Thanks Glenn
I could play it with -session. But only on the command line. I still have trouble doing it from MATLAB. Thank you anyway.
btw how shell does work?
Henry Arrigo is offline   Reply With Quote

Old   March 23, 2014, 05:42
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Batch files are MS windows, shell scripts are linux.

If it runs from the command line but not from matlab then it sounds like your problem is with matlab, not CFX.
ghorrocks is offline   Reply With Quote

Reply


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
dynamicMesh case setup simpleton questions tellico OpenFOAM Pre-Processing 2 January 17, 2014 12:41
Numerical error or case error? Flow in a 3D pipe fsalvucci OpenFOAM 40 January 30, 2013 07:10
How to repeat to read the same case without saving case and data file? lcg44 Fluent UDF and Scheme Programming 4 November 22, 2012 10:45
OpenFOAM case setup and work flow - what are you using? Arnoldinho OpenFOAM Pre-Processing 4 July 18, 2010 09:16
Turbulent Flat Plate Validation Case Jonas Larsson Main CFD Forum 0 April 2, 2004 10:25


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