|
[Sponsors] |
January 16, 2004, 03:13 |
How to run Fluent on the background?
|
#1 |
Guest
Posts: n/a
|
Hi,
I want to couple Fluent with other programs, and I need to run all the Fluent actions on the backfround, such as reading mesh, setting UDF B.C. & parameters, starting iteration and outputting results and so on. Could all these operations be taken automatically?and how? thanks. |
|
January 16, 2004, 04:56 |
Re: How to run Fluent on the background?
|
#2 |
Guest
Posts: n/a
|
I am facing the same problem with you, I want to do coupling simulation with FLUENT and MATLAB/SIMULATION (unsteady), but I have no idear precently about how to transfer data with each other automaticaly and real-timely. Hope we can learn together.
Regards, Emma |
|
January 16, 2004, 05:30 |
Re: How to run Fluent on the background?
|
#3 |
Guest
Posts: n/a
|
You can use journal files. just go to the file/write/start journal and do what you want for one time.then see the result journal file(it's like macro files in microsoft programs)and do what ever changes you want to do. at the next time you can read the journal file.
|
|
January 16, 2004, 07:22 |
Re: How to run Fluent on the background?
|
#4 |
Guest
Posts: n/a
|
In the unix, if you run fluent with the -g command line option, it should run without any graphics or gui. In this case it will read commands from the "standard input".
So all you need to do is write a program that prints fluent commands (of the text interface variety) and pipe them into fluent. So as a really silly example: echo " 3d /file/read-case-data \"test.cas\" exit " | fluent -g How you actually go about doing this depends on how much control you have over the "other" programs - I assume from what you say that you are prepared to write a bit of code to glue the various parts together. If you are using windows, then it might be more difficult. |
|
January 17, 2004, 03:20 |
Re: How to run Fluent on the background?
|
#5 |
Guest
Posts: n/a
|
I tried, it works well. In the CVF6.5 platform, these sentences can start fluent:
USE DFLIB LOGICAL(4) result result = SYSTEMQQ('fluent.bat') end and fluent.bat is: @echo off (cd %systemdrive%\TEMP & %FLUENT_INC%\ntbin\nt%PROCESSOR_ARCHITECTURE%\flue nt 3d(or 2d) %*) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
few quesions on ANSYS ICEMCFD and FLUENT | Prakash.Paudel | ANSYS | 0 | August 12, 2010 13:07 |
Record Run Times in Fluent | Ravi | FLUENT | 3 | October 7, 2008 23:41 |
resume and run fluent for another timestep via a c | greg | FLUENT | 2 | June 30, 2005 06:01 |
how to run fluent 5.4 in background | l.g.patil | FLUENT | 5 | February 1, 2002 13:06 |
How to run Fluent on the background | Jie | FLUENT | 9 | September 7, 2001 23:41 |