|
[Sponsors] |
December 25, 2012, 15:49 |
Call CFX from MATLAB
|
#1 |
New Member
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14 |
Hi everyone
I want to call CFX from matlab to solve the shape that was meshed. what's the comment and setting on cfx and matlab??? and in other case assume I meshed an airfoil, I want to move the point of it to create an other airfoil, can I set a setting at cfx to moved the mesh for new airfoil that don't need to take time for remeshing??? thank everyone for attention |
|
December 26, 2012, 06:02 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
First of all - please do not duplicate post. You have started a new thread with your question so there is no need to post it again on other threads. I have deleted the duplicate post.
If your first question is asking how to call CFX from matlab to solve a shape you have meshed - that is easy, just use the command line cfx5solve from matlab and it will run. You will probably have to send it through CFX-Pre to import the mesh, but that be scripted with a session file so this can be automated from the command line too. If you want to make minor modifications to a geometry and run it again the best way is to generate a new mesh and to interpolate the old results onto the new one as an initial condition. |
|
December 27, 2012, 05:28 |
|
#3 |
New Member
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14 |
I'm sorry.I think that could send my question to more people because of my hurry less of time.I wouldn't threat this again
Assume I saved projects until mesh step in different names (from 1 to 150) and I want to call this 150 meshes to matlab. Please help me and write the command loop for this problem. Is it possible to set one solving setting to solve all meshes or must set for any projects??? Thank for your attention |
|
December 27, 2012, 06:58 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Have you generated 150 meshes in Matlab and want to run CFX simulations on all of them?
|
|
December 27, 2012, 10:14 |
|
#5 |
New Member
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14 |
No
for first step and tentative I meshed 10 airfoil in cfx. I meshed my airfoils in cfx and are saved on my desktop for call step of my algorithm in matlab. What's the comment in matlab for call this 10 meshes (for tentative) and solve it and at the end call post process??? Thank you Last edited by alikhube; January 2, 2013 at 14:35. |
|
December 28, 2012, 05:29 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I have not idea what the matlab calls are, ask matlab support for that.
But for CFX it sounds like you should call the cfx5solve command which allows running CFX from the command line. This will start the run, and if it completes generate the output files. |
|
December 29, 2012, 07:29 |
|
#7 |
New Member
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14 |
I want to run this 150 meshes in CFX , and I am beginner in it
please help me and explain step-by-step instructions for set solves setting and then run this 150 mesh by one run in cfx or fortran or matlab , in better word serially run and get post-process. I have cfx 13 Thank you Glenn Horrocks |
|
December 30, 2012, 07:35 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I am not going to write step by step instructions for you, I am a busy man. If you need that much help maybe you should contact CFX support - that's why you pay them for technical support.
But in short: * "cfx5solve" is the command line to run a CFX simulation. * Matlab will have a command to run stuff fro mthe command line somewhere. I am not a Matlab expert so I have no idea what it is. * Then write a matlab program which calls the cfx5solve command to do the simulations. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cfx - matlab | camilo_costa | CFX | 15 | October 14, 2013 18:18 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
CFX 10's solutions differ from CFX 5.7's | Atit Koonsrisuk | CFX | 4 | July 26, 2006 12:59 |
2D CFD code using SIMPLE algorithm | bfan | Main CFD Forum | 3 | June 22, 2002 23:01 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 05:07 |