-
-
February 18, 2021 at 9:29 am
A_pathak
Subscriberhow can I use a loop in a journal file to extract data from multiple data files?n -
February 18, 2021 at 12:06 pm
Rob
Forum ModeratorWhich solver/software are you using?n -
February 18, 2021 at 2:12 pm
DrAmine
Ansys 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 pm
A_pathak
Subscriberthanks for the reply RobnI am using ANSYS Fluentnn -
February 18, 2021 at 2:22 pm
A_pathak
SubscriberYou can do that in Fluent using Scheme Programming Language. In CFX (CFD-Post) using Perl Programming Languange and Ensight using Python./forum/discussion/comment/107249#Comment_107249
DrAmine can you tell me more about that because this is a very new thing for me. n -
February 18, 2021 at 3:25 pm
DrAmine
Ansys 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 pm
Rob
Forum ModeratorScheme 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.
-
Viewing 6 reply threads
- The topic ‘Loop in journal file’ is closed to new replies.
Innovation Space
Trending discussions
Top Contributors
-
6430
-
1906
-
1457
-
1308
-
1022
Top Rated Tags
© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.