|
[Sponsors] |
March 22, 2014, 14:07 |
Setup a case by commanding in Matlab
|
#1 |
Senior Member
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 100
Rep Power: 16 |
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 |
|
March 23, 2014, 05:24 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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).
|
|
March 23, 2014, 06:37 |
|
#3 |
Senior Member
Henry Arrigo
Join Date: Jun 2010
Location: Italy
Posts: 100
Rep Power: 16 |
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? |
|
March 23, 2014, 06:42 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynamicMesh case setup simpleton questions | tellico | OpenFOAM Pre-Processing | 2 | January 17, 2014 13:41 |
Numerical error or case error? Flow in a 3D pipe | fsalvucci | OpenFOAM | 40 | January 30, 2013 08: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 11:45 |
OpenFOAM case setup and work flow - what are you using? | Arnoldinho | OpenFOAM Pre-Processing | 4 | July 18, 2010 10:16 |
Turbulent Flat Plate Validation Case | Jonas Larsson | Main CFD Forum | 0 | April 2, 2004 11:25 |