CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   fluinj.f (https://www.cfd-online.com/Forums/siemens/53512-fluinj-f.html)

CMB October 15, 2003 17:08

fluinj.f
 
hi, 2 questions concerning fluinj.f subroutine: Is it possible to extract just one scalar of a fluid mixture in a single cell? Is it possible to extract and inject fluid in a single cell? I have tried it by simple fluxi=+ and fluxi=-, but it does'nt seem to work very well. I'll appreciate any help, many thanks.

Richard October 16, 2003 05:22

Re: fluinj.f
 
When you extract fluid using FLUINJ you can only specify the rate of extraction, not the composition. If you want to extract just one scalar you need to specify the rate in FLUINJ and then use SORSCA to adjust the local scalar balance. Contact Support for details, it's a bit difficult to explain here.

If you want to extract or inject fluid in a single cell you need to do something like:

if (ip.eq.ip_of_interest) fluxi = ...

You can always check that you are getting the right behaviour by looking at the mass balance in the .info file.


All times are GMT -4. The time now is 12:45.