CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   writing vel. profile with journal file (https://www.cfd-online.com/Forums/fluent/39112-writing-vel-profile-journal-file.html)

Ralf Schmidt January 3, 2006 07:49

writing vel. profile with journal file
 
Hi!

I'm trying to write the x-,y-,z-vel. and the vel.-magnitude on several surfaces (y_0630, y_0730, ...) for several cases (05, 06, ...) into profile files using a journal file. But its not working properly... whats wrong??

Ralf

rc 05.cas

yes

rd 05.dat

//file/write-profile 05_y0630.txt y_0630

velocity-magnitude

x-velocity y-velocity z-velocity q

//file/write-profile 05_y0730.txt y_0730 velocity-magnitude

x-velocity

y-velocity

z-velocity q

rc 06.cas

yes

rd 06.dat

//file/write-profile 06_y0630.txt y_0630

velocity-magnitude

x-velocity

y-velocity

z-velocity q

//file/write-profile 06_y0730.txt y_0730

velocity-magnitude

x-velocity

y-velocity

z-velocity q


Ralf Schmidt January 3, 2006 08:08

the error message
 
> rd ch00_1,4kg-s_mod05.dat

Reading "ch00_1,4kg-s_mod05.dat"... Parallel variables... Done.

> adapt/ file/ report/ define/ grid/ solve/ display/ parallel/ surface/ exit plot/ view/

> //file/write-profile ch00_1,4kg-s_mod05_y0630.txt y_0630

surface(2) [()] velocity-magnitude

surface(3) [()] x-velocity

surface(4) [()] y-velocity

surface(5) [()] z-velocity q

surface(7) [()]

Error: GENERAL-CAR-CDR: invalid argument [1]: improper list

Error Object: #f

Ralf Schmidt January 3, 2006 09:31

that is working!
 
I've got it! I dont know the difference, but its working! There are not enough return or something...

rc ch00_1,4kg-s_mod05.cas

yes

rd ch00_1,4kg-s_mod05.dat

//file/write-profile

ch00_1,4kg-s_mod05_y0630.txt

y_0630

velocity-magnitude

x-velocity

y-velocity

z-velocity

/

//file/write-profile

ch00_1,4kg-s_mod05_y0730.txt

y_0730

velocity-magnitude

x-velocity

y-velocity

z-velocity

/



All times are GMT -4. The time now is 14:29.