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

Fluent in Background

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes
  • 1 Post By sunagra27
  • 1 Post By Светлана
  • 2 Post By AlexanderZ
  • 1 Post By sunagra27
  • 2 Post By AlexanderZ
  • 1 Post By sunagra27
  • 2 Post By AlexanderZ
  • 1 Post By sunagra27

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2019, 01:33
Default Fluent in Background
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Dear All,

I am running some simulations in fluent in a single 16 processor Computer. I want to know how to run simulation in background via the command line through cygwin interface in windows 10. I have some experience in running background simulation for Converge CFD software and not with Fluent.

I came through this article while checking for Fluent. https://www.me.psu.edu/cimbala/learn...background.htm. With respect to this, I have created case and data file for every frequent iterations using autosave option in fluent.

1. I want to know how to enable fluent in cygwin? If not cygwin, how to run fluent in background without graphical interface as said in above article. ( I haven't tried running in cmd).

2. What settings need to be done in fluent parallel setup before running the simulation? Is there any MPI setting to be done. ?

3. Is the journal file in the article correct? If not, how it should be written ?

Please help me out with this as it will save a lot of time and will also help me understand running ansys fluent in a computational way.



Thanks and Regards,

Sunag R A.
Светлана likes this.
sunagra27 is offline   Reply With Quote

Old   July 6, 2019, 06:46
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
in cmd I think fluent.exe may have '-g' option just like it does when I run it at a high performance computing facility on a Linux


the parallelization is done via the '-t' option again see https://www.sharcnet.ca/Software/Ans...up_option.html (check this for your version, this is for 16.2.3) and other examples like https://docs.pace.gatech.edu/software/fluent/


journal file looks correct
sunagra27 likes this.
Светлана is offline   Reply With Quote

Old   July 8, 2019, 00:49
Default
  #3
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
google fluent batch mode

you don't need to save case data files on each iteration (timestep) it's up to you.

best regards
AlexanderZ is offline   Reply With Quote

Old   July 8, 2019, 01:07
Default
  #4
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Thank you very much for your reply. I understood the working method. But I am not able to start fluent in cmd or cygwin. It shows the following error:

'fluent' is not recognized as an internal or external command, operable program or batch file.

What I understood from this is that fluent in not installed in the cmd. How do I go with this? I tried searching for this, But i am unable to find a solution.

Once I get fluent working in cmd, I think I can run with commands given in the articles shared by you. Also, If you know the same working installation in cygwin, it would be helpful.

Thanks and Regards,

Sunag R A.
Светлана likes this.
sunagra27 is offline   Reply With Quote

Old   July 8, 2019, 01:42
Default
  #5
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
1. you need to define windows environment variable PATH = path to fluent
or
2. to to your working folder, save there case file manually, than you can execute not fluent, but this case file

best regards
AlexanderZ is offline   Reply With Quote

Old   July 8, 2019, 08:31
Default
  #6
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Hi,

I tried putting fluent path folder to PATH of Environment variables. But, the commands are still not working. The below is the fluent path. I have installed Ansys in E drive so is this the correct path for fluent in Environment variables?

E:\Program Files\ANSYS Inc\v181\fluent\bin

Please help me out with this.

Thanks and Regards,

Sunag R A.
Светлана likes this.
sunagra27 is offline   Reply With Quote

Old   July 9, 2019, 00:43
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
probably
Code:
E:\Program Files\ANSYS Inc\v181\fluent\ntbin\win64
don't forget to reboot computer

best regards
AlexanderZ is offline   Reply With Quote

Old   July 9, 2019, 01:48
Default
  #8
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
The environment variable is working perfectly even for Cygwin. Thank you very much for the support.

Regards,

Sunag R A.
Светлана likes this.
sunagra27 is offline   Reply With Quote

Reply

Tags
cygwin, fluent - parallel, fluent - udf


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
fluent demo background pictures robert pavli FLUENT 0 April 10, 2018 03:35
Abaqus - Fluent Coupling WITHOUT MPCCI s.mishra FLUENT 1 April 5, 2016 06:47
What the differences flow equation of Fluent 6.3 and Fluent 12.1 opehterinar81 FLUENT 0 August 19, 2011 11:55
How to change Fluent post background colour go FLUENT 3 September 15, 2005 10:00
Runing the parallel version of Fluent in the background Carolin Kosiol FLUENT 0 June 26, 2000 06:09


All times are GMT -4. The time now is 01:28.