CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to comment a Fluent journal file (https://www.cfd-online.com/Forums/fluent/39210-how-comment-fluent-journal-file.html)

Bottenheim January 12, 2006 04:18

How to comment a Fluent journal file
 
Hi

If you are scripting a journal file for Fluent, what do you have to put at the start of line in order to add a comment?

I guess I am looking for the equivalent of /* or C

when programming in C or Fortran

if someone could tell me that would be great.

thanks

HVN January 12, 2006 04:39

Re: How to comment a Fluent journal file
 
Use /

Bottenheim January 12, 2006 07:53

Re: How to comment a Fluent journal file
 
Actually this doesnt seem to work.

I will keep on checking/looking for some information

cheers


Luca January 12, 2006 10:26

Re: How to comment a Fluent journal file
 
you should use ;

Luca

HVN January 12, 2006 10:55

Re: How to comment a Fluent journal file
 
or //

Tania January 20, 2006 09:21

Re: How to comment a Fluent journal file
 
Luca is right. before a comment write a semicolon ;


saha.vedabit July 6, 2022 04:09

Quote:

Originally Posted by Bottenheim
;127660
Hi

If you are scripting a journal file for Fluent, what do you have to put at the start of line in order to add a comment?

I guess I am looking for the equivalent of /* or C

when programming in C or Fortran

if someone could tell me that would be great.

thanks

As an example:

/solve/initialize/hyb-initialization ;Hybrid Initialization
it 10000 ;Solve for 10000 iterations
/file/write-case "casefile.cas" ;Save Case File

Text in Bold is treated as a comment.

katenelson092 December 29, 2022 02:55

Quote:

Originally Posted by Bottenheim
;127660
Hi backrooms

If you are scripting a journal file for Fluent, what do you have to put at the start of line in order to add a comment?

I guess I am looking for the equivalent of /* or C

when programming in C or Fortran

if someone could tell me that would be great.

thanks

It does not appear to work.

shereez234 December 29, 2022 05:04

Quote:

Originally Posted by katenelson092 (Post 841941)
It does not appear to work.

Try // for commenting

AlexanderZ December 29, 2022 19:15

Code:

;;;comment


All times are GMT -4. The time now is 21:29.