CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to comment a Fluent journal file

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By Luca

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2006, 05:18
Default How to comment a Fluent journal file
  #1
Bottenheim
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
  Reply With Quote

Old   January 12, 2006, 05:39
Default Re: How to comment a Fluent journal file
  #2
HVN
Guest
 
Posts: n/a
Use /
  Reply With Quote

Old   January 12, 2006, 08:53
Default Re: How to comment a Fluent journal file
  #3
Bottenheim
Guest
 
Posts: n/a
Actually this doesnt seem to work.

I will keep on checking/looking for some information

cheers

  Reply With Quote

Old   January 12, 2006, 11:26
Default Re: How to comment a Fluent journal file
  #4
Luca
Guest
 
Posts: n/a
you should use ;

Luca
  Reply With Quote

Old   January 12, 2006, 11:55
Default Re: How to comment a Fluent journal file
  #5
HVN
Guest
 
Posts: n/a
or //
  Reply With Quote

Old   January 20, 2006, 10:21
Default Re: How to comment a Fluent journal file
  #6
Tania
Guest
 
Posts: n/a
Luca is right. before a comment write a semicolon ;

  Reply With Quote

Old   July 6, 2022, 05:09
Default
  #7
New Member
 
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4
saha.vedabit is on a distinguished road
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.
saha.vedabit is offline   Reply With Quote

Old   December 29, 2022, 03:55
Default
  #8
New Member
 
Lily Smith
Join Date: Dec 2022
Posts: 1
Rep Power: 0
katenelson092 is on a distinguished road
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.
katenelson092 is offline   Reply With Quote

Old   December 29, 2022, 06:04
Default
  #9
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 353
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
Quote:
Originally Posted by katenelson092 View Post
It does not appear to work.
Try // for commenting
shereez234 is offline   Reply With Quote

Old   December 29, 2022, 20:15
Default
  #10
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Code:
;;;comment
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   September 24, 2024, 05:24
Default
  #11
New Member
 
Juan Carlson
Join Date: Sep 2024
Posts: 1
Rep Power: 0
JuanCarlson is on a distinguished road
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
JuanCarlson is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:23.