CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   read/write .cas .dat whith C/fortran program (https://www.cfd-online.com/Forums/fluent/27982-read-write-cas-dat-whith-c-fortran-program.html)

Olivier Wilk October 25, 2000 04:12

read/write .cas .dat whith C/fortran program
 
Do you know a C or a fortran (free) program able to read/write format file .cas and .dat of Fluent ?

Thank you of you interest.

alice November 13, 2000 10:10

Re: read/write .cas .dat whith C/fortran program
 
If you're running Fluent 5, here is an example of C file that allows you to read/iterate/write a case:

/*******************/ rc /path/filename.cas /*read case file*/ rd /path/filename.dat /*read data file/ it 1000 /*iterate*/ wc /path/filename.cas /*write case*/ wd /path/filename.dat /*write data*/ exit /******************/

For more details, have a look in the user guide : "batch execution".

Regards


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