CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Reading Data from a file (http://www.cfd-online.com/Forums/fluent/30885-reading-data-file.html)

Pravir February 3, 2003 22:39

Reading Data from a file
 
Hi!!!

I want to read particle injections from a file by defining the points from where they are to be injected. Could anyone tell me the following points:

(1) What language shud I write my code in? (2) How will FLUENT know that the data points which I created are the values it is looking for? In other words is there any format in which I have to write my data in the file so that FLUENT understand as soon as it reads the data. Besdies the coordinate points I also have to specify the diameter and mass flow rate of the particles to be injected.

Thanks

Pravir

Markus February 4, 2003 03:13

Re: Reading Data from a file
 
Hi Pavir

All you have to do is to use the File-option for setting Particle injections.The syntax for this is given in section 19.9.2 of the userguide.

br Markus

Pravir February 4, 2003 10:46

Re: Reading Data from a file
 
If I have 2000 particles then do I have to write (( x y z u v w diameter temperature mass-flow) name ) it 2000 number of times. What type of file would this be??? Is this a text(notepad) file???


varshavian February 16, 2003 05:57

Re: Reading Data from a file
 
i have a problem like this. please tell me if u understand. thanks bye varshavian@mehr.sharif.edu


All times are GMT -4. The time now is 06:20.