February 18, 2021 at 9:29 amA_pathakSubscriberhow can I use a loop in a journal file to extract data from multiple data files?n
February 18, 2021 at 12:06 pmRobAnsys EmployeeWhich solver/software are you using?n
February 18, 2021 at 2:12 pmDrAmineAnsys EmployeeYou can do that in Fluent using Scheme Programming Language. In CFX (CFD-Post) using Perl Programming Languange and Ensight using Python.n
February 18, 2021 at 2:15 pmA_pathakSubscriberthanks for the reply RobnI am using ANSYS Fluentnn
February 18, 2021 at 2:22 pmA_pathakSubscriber
You can do that in Fluent using Scheme Programming Language. In CFX (CFD-Post) using Perl Programming Languange and Ensight using Python.https://forum.ansys.com/discussion/comment/107249#Comment_107249DrAmine can you tell me more about that because this is a very new thing for me. n
February 18, 2021 at 3:25 pmDrAmineAnsys EmployeeIf it is very new thing then you should get familiar to Scheme Programming Language. There are a couple of example in the net or on our Customer Portal (if you have access) which might be helpful.n
February 18, 2021 at 5:05 pmRobAnsys EmployeeScheme isn't for the faint hearted. An alternative is to use a script look at all the filenames in a folder (for example) and combine that with the commands you want to execute in Fluent. Run the script and output the journal. nA simple journal section might look like:nn/file/read-data myfile_001n/report stuffn/file/read-data myfile_002netcnnYou use the external script to create the repetitive bit in the middle. I used t use .awk scripts but I suspect I need to learn Python and use that now.
- 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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.