|
[Sponsors] |
January 12, 2006, 05:18 |
How to comment a Fluent journal file
|
#1 |
Guest
Posts: n/a
|
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 |
|
January 12, 2006, 05:39 |
Re: How to comment a Fluent journal file
|
#2 |
Guest
Posts: n/a
|
Use /
|
|
January 12, 2006, 08:53 |
Re: How to comment a Fluent journal file
|
#3 |
Guest
Posts: n/a
|
Actually this doesnt seem to work.
I will keep on checking/looking for some information cheers |
|
January 12, 2006, 11:26 |
Re: How to comment a Fluent journal file
|
#4 |
Guest
Posts: n/a
|
you should use ;
Luca |
|
January 12, 2006, 11:55 |
Re: How to comment a Fluent journal file
|
#5 |
Guest
Posts: n/a
|
or //
|
|
January 20, 2006, 10:21 |
Re: How to comment a Fluent journal file
|
#6 |
Guest
Posts: n/a
|
Luca is right. before a comment write a semicolon ;
|
|
July 6, 2022, 05:09 |
|
#7 | |
New Member
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4 |
Quote:
/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. |
||
December 29, 2022, 03:55 |
|
#8 | |
New Member
Lily Smith
Join Date: Dec 2022
Posts: 1
Rep Power: 0 |
Quote:
|
||
December 29, 2022, 20:15 |
|
#10 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
;;;comment
__________________
best regards ****************************** press LIKE if this message was helpful |
|
September 24, 2024, 05:24 |
|
#11 |
New Member
Juan Carlson
Join Date: Sep 2024
Posts: 1
Rep Power: 0 |
To add a comment in a Fluent log file, simply use a semicolon at the beginning of the line. This is similar to using /* for comments in C and Fortran. By the way, while you wait for a response, try playing Slope Game to keep your mind sharp!
__________________
Slope Game |
|
December 16, 2024, 10:54 |
|
#12 |
New Member
rasheedickinson
Join Date: Dec 2024
Posts: 1
Rep Power: 0 |
In Fluent scripting, you can add a comment by using a semicolon ( at the start of the line, just like how you might use // in C or Fortran. Comments are crucial for making your code understandable, much like how strategies in the game Monkey Mart can help keep your in-game operations smooth. Remember, readability is key in both coding and gaming!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dsmcInitialise - dsmcFoam | archymedes | OpenFOAM Pre-Processing | 94 | July 15, 2016 17:14 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
Fluent 12 Journal File Problem | Krish | FLUENT | 2 | July 16, 2010 07:10 |
OpenFOAM Install Script | ljsh | OpenFOAM Installation | 82 | October 12, 2009 12:47 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |