CFD Online Discussion Forums

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

solefire July 3, 2009 08:38

regarding about Fluent batch scripts
 
I am using PBS 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/testcase/vf_rng/vf_rng.cas
solve/initialize/init-flow-statistics
solve/iterate 50
wd /data/l/users/8/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//testcase/vf_rng/vf_rng50.dat^M
/data/l/users/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.

sbaffini July 3, 2009 14:14

Actually seems that you have not read any data file and the initialization you perform doesn't seems to be correct.

vjrj4u July 5, 2009 02:48

I guess the line endings in your script is not correct. I'm guessing you are running this in unix platform. Try "dos2unix yourscriptfile" and then try running the script.

solefire July 5, 2009 04:05

Thanks a lot, Polao and vjrj4u (sorry I don't know your name)! That was the problem. I need to convert doc version to unix version.


All times are GMT -4. The time now is 18:16.