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.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

How to comment in a journal to be read by Ansys Fluent

TAGGED: , ,

    • eliocpereira
      Subscriber

      I 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?

    • Rob
      Forum Moderator
      The 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.
[bingo_chatbox]