CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to run Fluent on the background?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2004, 03:13
Default How to run Fluent on the background?
  #1
David
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.
  Reply With Quote

Old   January 16, 2004, 04:56
Default Re: How to run Fluent on the background?
  #2
emma
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
  Reply With Quote

Old   January 16, 2004, 05:30
Default Re: How to run Fluent on the background?
  #3
David Jones
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.
  Reply With Quote

Old   January 16, 2004, 07:22
Default Re: How to run Fluent on the background?
  #4
Robert Hart
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.
  Reply With Quote

Old   January 17, 2004, 03:20
Default Re: How to run Fluent on the background?
  #5
David
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) %*)
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:26.