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 Tree5Likes
  • 5 Post By Luca

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2006, 04: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, 04:39
Default Re: How to comment a Fluent journal file
  #2
HVN
Guest
 
Posts: n/a
Use /
  Reply With Quote

Old   January 12, 2006, 07: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, 10: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, 10:55
Default Re: How to comment a Fluent journal file
  #5
HVN
Guest
 
Posts: n/a
or //
  Reply With Quote

Old   January 20, 2006, 09: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, 04:09
Default
  #7
New Member
 
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 3
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, 02: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, 05:04
Default
  #9
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
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, 19: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

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 16:14
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
Fluent 12 Journal File Problem Krish FLUENT 2 July 16, 2010 06:10
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


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