|
[Sponsors] |
Divergence problem related to interMixingFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 5, 2016, 04:38 |
Divergence problem related to interMixingFoam
|
#1 |
New Member
weicent
Join Date: Aug 2016
Posts: 13
Rep Power: 9 |
Hi Foamers,
I am doing a simulation related to 3 incompressible fluids (ethanol, water and air), two of them are misible, from the Openfoam User Guide, I used interMixingFoam, my concentration is on the mixing process of water and ethanol. The physical process is firstly put the ethanol and water in a cup that have a inlet hole in the bottom, and then pump air into the cup from the bottom to help the mixing process (the geometry of the cup is shown in attatched pictures, the second picture shows that the ethanol is initially at the center of the water), the air is pumped into the cup within a specified time interval (which means the pressure at inlet is a time-dependent variable, and the inlet velocity should be calculated via this inlet pressure). At the first time, I create the cup geometry by blockMeshDict and setup the varying pressure by uniformTotalPressure (I'm not familiar about this boundary condition, before this I have attempt timeVaryingTotalPressure, timeVaryingUniformFixedValue, timeVaryingMappedFixedValue and uniformFixedValue but all failed, the Openfoam returns an error indicate that there is no such a BC for the former two, I used Openfoam 2.3.1, for the latter two, I don't know how to use them since I didn't found a clear tutorial), after I start the simulation, it diverges at the begining and I don't know how to fix this problem. After that, I tried to change the time-dependent boundary condition since I dont't familiar about it, I modified the inlet pressure to a fixed value and restart the simulation, but the diverge problem still exist. I have tried refine the mesh, decrease (or increase) the Courant number, decrease the deltaT value but all failed. Then I have changed the geometry of the cup to a simple cylinder, and the simulation converges in the first 0.06s but diverges after that (under the fixed inlet pressure BC). I have attatched the zip files of my simulation code (include varying pressure and fixed pressure) , could anyone help me to check my case file? I don't where is the problem, and if possible, could you help me to check if my time-dependent pressure BC is correct? Any suggestion will be appreaciated! Best, weicent |
|
Tags |
diverge, intermixingfoam, multiphase flow, openfoam 2.3.1, time-dependent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem of calculating divergence due to wrong boundary vaule of finite area mesh | lzhou | OpenFOAM Programming & Development | 2 | June 18, 2015 05:10 |
divergence problem | santu | Main CFD Forum | 0 | October 31, 2014 00:58 |
Divergence detected in pressure correction term problem calculation | lm_laxman | FLUENT | 0 | September 23, 2014 00:28 |
Multiphase phase (gas-solid) flow using Eulerian-Granular medel ( divergence problem) | jessie | FLUENT | 3 | May 29, 2014 11:05 |
[ANSYS Meshing] Inflation - Airfoil Meshing - Divergence problem | dalecooper | ANSYS Meshing & Geometry | 0 | July 19, 2013 07:04 |