|
[Sponsors] |
August 31, 2017, 07:48 |
Test case twoLiquidMixingFoam
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Dear Foamers,
I am trying to validate a case of Hydrogen or Helium diffusion inside air. The current setup is considering Helium properties (although the phase is called Hydrogen in the case) assuming laminar flow. Geometry is a simple cube but solved in 2D, so a square. Pressure is uniform, velocity field is zero everywhere. Only the Helium fraction is set to 1.0 in the upper part of the Mesh. Setfields utility is used to set Helium fraction to 1.0 in a defined box. Around 400 seconds, it seems an instability is appearing (at least, i don't expect a flow driven mainly by pure diffusion to behave like that) but I don't know enough in CFD to understand exactly what is going on. Could someone maybe give me a hint on what is happening ? |
|
September 1, 2017, 02:44 |
|
#2 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Ok the issue was apparentely the timeStep (deltaT) in controlDict being too large.
The residuals in the log file seemed ok but analyzing them through foamLog log utility and then plotting revealed an issue. Decreasing the timeStep solved the issue. Now to find how to find a way determine the timestep optimally because Courant number seemed ok. |
|
September 8, 2017, 13:53 |
|
#3 |
New Member
Thomas Evans
Join Date: Dec 2015
Posts: 21
Rep Power: 11 |
Well starting at rest the courant number isn't gonna mean much.
Did you estimate the Brunt–Väisälä buoyancy frequency? That should be more helpful here. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[DesignModeler] DesignModeler Scripting: How to get Full Command Access | ANT | ANSYS Meshing & Geometry | 53 | February 16, 2020 16:13 |
Need a 3D unstaedy test case for code validation | usyusuf | Main CFD Forum | 0 | February 14, 2014 14:53 |
Viscositymodel tutorial, problems when changing test case to cavity | sur4j | OpenFOAM Programming & Development | 1 | December 8, 2013 10:53 |
rhoSimpleFoam - test case | atareen64 | OpenFOAM Running, Solving & CFD | 5 | May 1, 2011 18:17 |
Porous Media test case | Alex | FLUENT | 0 | April 9, 2006 09:23 |