June 27, 2019 at 12:17 pmmariannebassilSubscriber
I have several .dat files saved in different directories ( each .dat in a different directory). In each directory there is the .cas, .dat , a UDF and a .txt file supposed to be read by the UDF at each time step.I wrote a journal in order to run the calculation of all .dat files one after the other. I saved in in a directory different from the .dat files. I was to execute the journal by opening Fluent File---read---journal. But here i specify which directory? since i have a different directory for each calculation ! and how to change the directory in the journal after each calculation . Because at each .dat file i want to have the working directory of the .dat and the related UDF and .txt file
June 27, 2019 at 12:25 pmDrAmineAnsys Employee
Does use global paths help you resolving the issue?
June 27, 2019 at 12:38 pmmariannebassilSubscriber
this is an example of a journal i wrote for 2 calculations but it didn't work! the monitors .out are not saved in each related .dat file and the .txt file is not found because the working directory was not read as the one for the .dat file
/solve/dual-time-iterate 80 20 ; iterate with the transient solver
/solve/dual-time-iterate 134 20 ; iterate with the transient solver
June 27, 2019 at 3:47 pmDrAmineAnsys EmployeeTry using chdir or sync-chdir. Under windows you need the \ instead of
June 27, 2019 at 4:33 pmDrAmineAnsys EmployeeAnd please try recording journal from TUI when you want to read a case from other directory.
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
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.
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
© 2023 Copyright ANSYS, Inc. All rights reserved.