CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to set up this iterative process? (https://www.cfd-online.com/Forums/fluent/49888-how-set-up-iterative-process.html)

Tang Jingwei November 24, 2008 22:34

How to set up this iterative process?
 
The idea is to create an infinitely long channel.

I wish to feed in the outflow data into the next inflow data. Continue doing this the flow simulation converges.

In other words: 1. Initial values at 1st inflow -> Obtain 1st outflow results 2. Feed 1st outflow results into 2nd inflow -> Obtain 2nd outflow results 3. Feed 2nd outflow results into 2nd inflow -> Obtain 3rd outflow results 4. and so on, until the results converges (inflow = outflow)

Is there any way to do this using Fluent?

John November 25, 2008 09:55

Re: How to set up this iterative process?
 
Maybe, you can try to use a JOURNAL file of FLUENT. Just a idea.

Leverkin November 25, 2008 17:18

Re: How to set up this iterative process?
 
You can save your previous solution in a file and then give it as an initial guess. Because I assume that you would like to do that many times you can write a code in C/C++ or Fortran and call fluent from there as much times as you want and give it the initial solution you want.


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