CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Regarding about Fluent batch scripts (https://www.cfd-online.com/Forums/fluent/66034-regarding-about-fluent-batch-scripts.html)

solefire July 3, 2009 09:07

Regarding about Fluent batch scripts
 
I am using PBS to subscrib the job to clusters for fluent cases. But there are always some error feed back I cannot slove. Is there any one who can help me take a look at it? Thanks a lot!

1. Fluent script:

rc /data/l/users/u0062648/testcase/vf_rng/vf_rng.cas
solve/initialize/init-flow-statistics
solve/iterate 50
wd /data/l/users/u0062648/testcase/vf_rng/vf_rng50.dat
exit
yes



2. This is the feed back! Thanks a lot!

invalid command [init-flow-statistics^M]
>
Error: eval: unbound variable
Error Object: 50^M
solve/iterate 50^M
Invalid integer.
Number of iterations [1]
Error: eval: unbound variable
Error Object: wd
wd Invalid integer.
Error: eval: unbound variable
Error Object: /data/l/users/u0062648/testcase/vf_rng/vf_rng50.dat^M
/data/l/users/u0062648/testcase/vf_rng/vf_rng50.dat^M
Invalid integer.
Number of iterations [1]
Error: eval: unbound variable
Error Object: exit^M
exit^M
Invalid integer.
Number of iterations [1]
Error: eval: unbound variable
Error Object: yes^M
yes^M
Invalid integer.

Monker1980 July 5, 2009 08:56

Did you create your journal file on a Windows machine? If so, it may have included line break characters at the end of each line which the Linux/Unix cluster does not like. Try creating the file either on a Linux system or save in Notepad/Wordpad using 'unicode' formatting.

See http://kb.iu.edu/data/acux.html for more info.

solefire July 5, 2009 09:28

thanks a lot! you are absolutely right! problem solved

Monker1980 July 5, 2009 09:39

You're welcome - glad to help.


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