|May 17, 2013, 19:24||
problems running fluent through matlab
Join Date: Apr 2010
Posts: 23Rep Power: 8
I have some problems running fluent through matlab, in my laptop (serial processing) i used this instruction and i could run Fluent v14 without problems
!fluent 3ddp -g -i C:\Users\omar\Documents\MATLAB\alggambit\algorflue nt.jou
but now when i'm trying to do the same in a parallel process in the computer of a lab (with fluent 6.3.26, ansys 12.1, ansys 13 and ansys 14 installed)fluent open, but in 6.3.26 version. I deleted this version but still appearing(some weird).
in enviromental variables i put this path
C:\program files\ansys inc\v140\fluent\ntbin\win 64
like in my laptop, but in this computer i think that i need to change a parameter o maybe a path to mark that when I execute my matlab code i be abble to open fluent v14 , the problem is that i dont know where is this place or what i can do to solve it?
thanks a lot friends i hope you could help me
thanks in advance
|October 10, 2013, 09:20||
Join Date: Apr 2013
Posts: 18Rep Power: 6
It might be the PATH environment variable inside Matlab or at system level that it is set-up to the FLUENT 6.3.26.
Do you have the same problem when starting Fluent in the command line?
I would suggest launching Fluent in server mode instead of launching it from Matlab and then from Matla connect to Fluent and script Fluent from Matlab.
instead of executing from Matlab:
"fluent 3ddp -g -i C:/Users/omar/Documents/MATLAB/alggambit/algorfluent.jou"
1.execute Fluent from command line
fluent 3ddp -g -aas
2. Fluent will generate a file named aaS_FluentId.txt
3. start Matlab and connect to Fluent usinf Fluent generated file
fluent = actxserver(‘ANSYS.CoFluentUnit.1′);
4. execute your Matlab equivalent of algorfluent.jou from Matlab
To generate the Matlab equivalent of a line in algorfluent.jou use the following pattern:
if stringfluentCommand is the line in algorfluent.jou, the equivalent line in Matlab will be:
for example the following journal script in Fluent
solve it 10
will have the following equivalent in Matlab:
rcd fluentcasedata('solve it 10')
|Thread||Thread Starter||Forum||Replies||Last Post|
|force to wait MATLAB for running parallel fluent in batch mode||a.latifi||Main CFD Forum||1||May 9, 2013 16:44|
|Creating UDF file in MATLAB for Fluent||ppa381||FLUENT||0||July 13, 2009 14:33|
|Statically Compiling OpenFOAM Issues||herzfeldd||OpenFOAM Installation||21||January 6, 2009 10:38|
|Problems in lauching FLUENT||Lourival||FLUENT||3||January 16, 2008 17:48|
|FLUENT 5.2.3 running on PIII 733||Burley Wang||FLUENT||7||April 19, 2000 06:03|