-
-
August 28, 2019 at 2:34 pm
johanna2016
SubscriberHello,
I am using ANSYS fluent workbench to run a steady state solution to initialize a transient solution. I have successfully done this manually but having trouble automating the process for different parameters in workbench (my parameter is inlet velocity and a changing dt for the transient simulation). I have tried writing a macro within the Calculation Activities and this works for the current design point but when it shuts down Fluent to run the other design points, or I have saved the project then open it again, the macros have disappeared. The ANSYS manual suggests using workbench to link one solution into another but this doesn't seem to work either. Has anyone successfully done this? Are there other ways to go about this? Thank you in advance!
-
August 28, 2019 at 4:16 pm
rachels1001
SubscriberI don't know if I am interpreting your question right, but if you are looking to initialize your simulation with a set of steady-state data, you could create a journal file that reads in a steady-state data file (file/read-data/file name). Alternatively, if you just want to use certain parameters, you can automate the setting of most initialization parameters using TUI commands within journals (ex. define/boundary-conditions/mass-flow-inlet "inlet name" ...etc. This would let you set your inlet velocity on a chosen face.
Also, you can set a changing time-step for a transient simulation by using the "solve/set/time-step" TUI command in a journal, running the simulation for a certain number of iterations, and then changing the time-step again within the journal.
-
August 28, 2019 at 9:47 pm
johanna2016
SubscriberThank you for your reply. You have interpreted my question mostly right - what I am struggling with is using this procedure for multiple design point parameters. So, if I use a journal file as you suggest or run the simulation manually from steady state to transient, how would I set Workbench up to run this way for every new parameter design point?
Thanks.
-
August 29, 2019 at 7:04 am
DrAmine
Ansys EmployeeLook into Solution Properties you might find how to use specusl ini data. Alternative is using Automatic Case Run and Modification in Fluent where you add a command to read ini data. -
August 31, 2019 at 5:51 pm
johanna2016
SubscriberHi Amine,
Thank you for your advice. I have used the automatic case run and modification using macros as you suggested; however I have found that when I close Fluent then re-open it (even if I have saved the project), the macros have been deleted. The same thing happens when running parameters in workbench - after the first "current" design point when Fluent closes, it again forgets the macros I wrote and saved. Any thoughts on how to fix this or is this normal?
Johanna
-
September 2, 2019 at 10:54 am
Rob
Ansys EmployeeAre you creating macros via the GUI and recording button clicks?
-
September 20, 2019 at 3:03 pm
johanna2016
SubscriberYes, that is correct.
-
January 21, 2020 at 1:05 pm
hk1234
Subscriber
"Hello,
I am using ANSYS fluent workbench to run a steady state solution to initialize a transient solution. I have successfully done this manually ..."
Could you please explain me how you did this. I am trying to do similar the same without succes yet.
Thanks!
-
January 21, 2020 at 3:50 pm
Rob
Ansys EmployeeUse the above approach, but use TUI commands rather than the GUI.
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2524
-
2066
-
1283
-
1096
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.