-
-
December 1, 2021 at 6:37 pm
eliocpereira
SubscriberI would like to know how to properly comment in a journal to be read by Ansys Fluent. I know that I may use the semicolon
;to tell Ansys that the text in front of it in the same line is not a command. However, when I read a journal with such structure the line is printed to the console, which is not the usual result that is obtained in cases of other Programming languages such as C and Python. I would like to read the journal without the comments being printed to the console. Is it possible to do that?Also, is any counterpart of the command "cout" (in C++), "printf" (in C) or "print" (in Python) that can be used in Ansys Fluent? Or should I use the semicolon instead?
December 2, 2021 at 12:51 pmRob
Forum ModeratorThe semi colon means the line is seen as a comment and ignored. It doesn't mean the line won't be printed to the TUI. Journals are used to trigger commands, so it's not usually a problem.
Viewing 1 reply thread- The topic ‘How to comment in a journal to be read by Ansys Fluent’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
6680
-
1906
-
1469
-
1313
-
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.
-
Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.