|
[Sponsors] |
October 25, 2016, 02:01 |
InterFoam for continuous flow simulation
|
#1 |
New Member
-
Join Date: Oct 2016
Posts: 15
Rep Power: 10 |
Hello
I am trying to simulate a continuous flow through a unit with 3 inlets on the top and 12 outlets on the bottom. It is a 2-phase, turbulent problem (air and water), therefore I adapted the OpenFoam tutorial "damBreak" (found in the "interFoam" directory (ras)). It runs and I can post-process it. However; only the amount of water I indicated with the box from setFields flows through the unit. But I'd like to have a continuous inlet flow. I tried to change the settings of the inlet in the U-folder, but then the program stops working after four time points and an error occurs. How can I change the velocity settings for a continuous flow in that solver? Or should I use another tutorial? Thank you a lot for your help! Best, A. |
|
October 25, 2016, 05:08 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Did you specify alpha=1 in 0/alpha.water at the water inlets?
|
|
October 25, 2016, 05:33 |
|
#3 |
New Member
-
Join Date: Oct 2016
Posts: 15
Rep Power: 10 |
Thank you for your answer.
I forgot to specify it, but it did still not work. Now I added "fixedFluxPressure" in p_rgh and it works. Which specification should I take for the outlet, if I'd like the flow also to be continuous? outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } I apologize for the many questions. I've just started working with OpenFoam. Thank you for your help! |
|
October 25, 2016, 09:19 |
|
#4 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Please specify what exactly is not working. Divergence?
Quote:
Code:
(...)/tutorials/incompressible/pimpleFoam/pitzDaily |
||
October 25, 2016, 23:31 |
|
#5 |
New Member
-
Join Date: Oct 2016
Posts: 15
Rep Power: 10 |
Thank you a lot for the help.
There was a problem with the Courant number. After two iterations it became really big and divergence happend. But now with your suggested changes, it works fine. I really appreciate your fast responses. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Review: Reversed flow | CRT | FLUENT | 1 | May 7, 2018 06:36 |
Some questions about flow boiling simulation in Fluent | beastieboys6 | FLUENT | 8 | November 21, 2017 00:47 |
Flow rate restriction simulation set-up | siw | CFX | 4 | February 16, 2016 13:15 |
Preparing Simulation of a Sphere in a Flow | PonchO | OpenFOAM Pre-Processing | 1 | November 11, 2015 16:40 |
Differences and functions of Solidworks Simulation and Solidworks Flow Simulation? | alpharays | Main CFD Forum | 0 | April 19, 2012 04:13 |