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

Starting Fluent in batch mode using Workbench

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2017, 09:58
Default Starting Fluent in batch mode using Workbench
  #1
New Member
 
Join Date: Apr 2017
Posts: 4
Rep Power: 9
Gottkanzler is on a distinguished road
Hello everyone,

I want to start Fluent in batch mode using Workbench. According to the ANSYS Documentation (https://www.sharcnet.ca/Software/Ans..._launcher.html) this should be possible.

At the beginning I start Workbench in batch mode reading a Workbench Journal File containing the following code:

Code:
# encoding: utf-8
# Release 17.1
SetScriptVersion(Version="17.1.127")
system1 = GetSystem(Name="FFF")
setupComponent1 = system1.GetComponent(Name="Setup")
setupComponent1.Refresh()
setup1 = system1.GetContainer(ComponentName="Setup")
fluentLauncherSettings1 = setup1.GetFluentLauncherSettings()
fluentLauncherSettings1.SetEntityProperties(Properties=Set(DisplayText="Fluent Launcher-Einstellungen", Precision="Double", EnvPath={}, RunParallel=True, NumberOfProcessors=4))
setup1.Edit()
setup1.SendCommand(Command='/file/read-journal "Journal.jou"')
Save(Overwrite=True)
The command setup1.Edit() starts Fluent with a GUI. Is there a way to avoid this?

Thank you very much in advance.
Gottkanzler is offline   Reply With Quote

Old   May 21, 2019, 18:53
Default
  #2
New Member
 
srini
Join Date: Apr 2009
Posts: 2
Rep Power: 0
akiras is on a distinguished road
Quote:
Originally Posted by Gottkanzler View Post
Hello everyone,

I want to start Fluent in batch mode using Workbench. According to the ANSYS Documentation (https://www.sharcnet.ca/Software/Ans..._launcher.html) this should be possible.

At the beginning I start Workbench in batch mode reading a Workbench Journal File containing the following code:

Code:
# encoding: utf-8
# Release 17.1
SetScriptVersion(Version="17.1.127")
system1 = GetSystem(Name="FFF")
setupComponent1 = system1.GetComponent(Name="Setup")
setupComponent1.Refresh()
setup1 = system1.GetContainer(ComponentName="Setup")
fluentLauncherSettings1 = setup1.GetFluentLauncherSettings()
fluentLauncherSettings1.SetEntityProperties(Properties=Set(DisplayText="Fluent Launcher-Einstellungen", Precision="Double", EnvPath={}, RunParallel=True, NumberOfProcessors=4))
setup1.Edit()
setup1.SendCommand(Command='/file/read-journal "Journal.jou"')
Save(Overwrite=True)
The command setup1.Edit() starts Fluent with a GUI. Is there a way to avoid this?

Thank you very much in advance.
Hi Gottkanzler,
Did you manage to solve this problem? I am also facing the same problem. I tried (Interactive=false). But no success.
If you solved this issue, please let me know.
akiras is offline   Reply With Quote

Old   June 25, 2019, 11:37
Default
  #3
New Member
 
Ben
Join Date: Jun 2019
Posts: 1
Rep Power: 0
coults03 is on a distinguished road
Quote:
Originally Posted by akiras View Post
Hi Gottkanzler,
Did you manage to solve this problem? I am also facing the same problem. I tried (Interactive=false). But no success.
If you solved this issue, please let me know.
akiras you are correct in that passing the keyworded argument "Interactive" should start Fluent in batch mode.

Python Booleans are capitalized hence should be:

Code:
FluentContainer0.Edit( Interactive = False )
coults03 is offline   Reply With Quote

Reply

Tags
batch mode, fluent, workbench


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 12.1, batch mode in linux sakalido FLUENT 13 September 27, 2017 08:55
FLUENT installation on UBUNTU 12.04 (LTS) teymourj FLUENT 2 March 1, 2017 22:24
Workbench in batch mode with parametric study (design point) Veronique Pe ANSYS 0 June 1, 2016 03:56
Problem running fluent with udf on batch tobi b. Fluent UDF and Scheme Programming 3 April 14, 2016 13:54
Running fluent with udf in batch mode zonexo Fluent UDF and Scheme Programming 2 March 10, 2012 07:50


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