CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   file/write-profile ... journal file (https://www.cfd-online.com/Forums/fluent/42960-file-write-profile-journal-file.html)

MM November 28, 2006 09:01

file/write-profile ... journal file
 
Hi, I am trying to write the temperature on several surfaces (surf1, surf2, surf3) into profile file name.prof (that exists). But it is not working ! What is wrong??? Marina

//file/write-profile name.prof yes surf1 surf2 surf3 temperature /

Error:GENERAL-CAR-CDR: Invalid argument [1]: improper list Error Object: #f

I know that something is missing between surf3 and temperature, but I don't know what !! I've tried with blank line ...

MM November 28, 2006 09:03

Re: file/write-profile ... journal file
 
This line is written like this

//file/write-profile

name.prof yes

surf1

surf2

surf3

temperature

/

zxaar November 28, 2006 17:59

Re: file/write-profile ... journal file
 
when you want to give a null argument use () in fluent

so it would be ... surf1 surf2 surf3 () temperature


MM November 29, 2006 04:07

Re: file/write-profile ... journal file
 
Thanks zxaar for your help ! I have written a small shell script that generates a journal file for my whole simulation in one fluent session (I have two cases that exchange temperature and flux distribution ...). I 've tried what you said:

echo '//file/write-profile'

echo 'name.prof yes'

echo 'surf1'

echo 'surf2'

echo 'surf3'

echo '()'

echo 'temperature'

echo '/'

Error:GENERAL-CAR-CDR: Invalid argument [1]: improper list Error Object: #f ()

It doesn't work. I don't know what else to do ...

Marina

zxaar November 29, 2006 04:32

Re: file/write-profile ... journal file
 
put this line is j.jou, and run this journal:

file write-profile name.prof surf1 surf2 surf3 () temperature () y

This would work, because I just tried writing pressure as profile and it worked.

MM November 30, 2006 03:07

Re: file/write-profile ... journal file
 
Thank you very much zxaar !!! It works of course !!!



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