CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Which caracter for comments in fluent's journal ? (https://www.cfd-online.com/Forums/fluent/40677-caracter-comments-fluents-journal.html)

Jeffrey April 21, 2006 04:43

Which caracter for comments in fluent's journal ?
 
Hi !

I would like to put a comment in my fluent's journal. I tryied // and /* ... */ (like C/C++) but it does not work !

mAx April 21, 2006 04:51

Re: Which caracter for comments in fluent's journa
 
hi, try ;

;;;;;;;;;;; ; this is a comment ;;;;;;;;;;;

Jeffrey April 21, 2006 05:02

Re: Which caracter for comments in fluent's journa
 
Thanks...

I tryied to scale my geometry, using this :

grid

scale

;x scale factor

0.001

;y scale factor

0.001

The problem is that he answer me that :

/grid> scale

x scale factor [1] ;x scale factor

0.001

y scale factor [1]

/grid> ;y scale factor

0.001

invalid command [0.001]

Do you have an idea about wht's wrong ? and how to put a comment before a command ? thanks

mAx April 21, 2006 05:32

Re: Which caracter for comments in fluent's journa
 
do you have blank lines between scale and the following line? When I try this:

grid/scale ;x scale factor 0.001 ;y scale factor 0.001

it runs perfectly and it returns me:
: grid/scale x scale factor [1] ;x scale factor 0.001 y scale factor [1] ;y scale factor 0.001

>

Jeffrey April 21, 2006 05:47

Re: Which caracter for comments in fluent's journa
 
It does not run perfectly because the scale factors are behind ";", and you don't obtain "0.001" but "1"...

mAx April 21, 2006 05:57

Re: Which caracter for comments in fluent's journa
 
i tested it it runs. I edit the file with Ultraedit, which is usefull when you are working with Xp & Unix OS (end lines must be in UNIX format) else you may become problems


All times are GMT -4. The time now is 01:38.