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

Setup a case by commanding in Matlab

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 22, 2014, 14:07
Default Setup a case by commanding in Matlab
  #1
Member
 
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 91
Rep Power: 6
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, 05:24
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,381
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 06:37
Default
  #3
Member
 
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 91
Rep Power: 6
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, 06:42
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,381
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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

Thread Tools
Display Modes

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 On
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 09:25


All times are GMT -4. The time now is 08:12.