Multiphase mechanical equilibrium flows¶
Mechanical equilibrium flows are solved in ECOGEN using the pressure-velocity-equilibrium model (previously named Kapila’s model) [KMB+01]. In the particular case of 2 phases involved and without any extra physics (surface tension, viscosity…), this model reads:
where subscripts \(1\) and \(2\) correspond to one of the two phases, respectively. \(\alpha_k\) and \(\rho_k\) are the volume fraction and density of phase \(k\).
\(\rho = \sum\limits_{k} \alpha_k \rho_k\), \(\mathbf{u}\), \(p\), \(E = e + \cfrac{1}{2} \| \mathbf{u} \|^2\) and \(e = \sum_k \alpha_k \rho_k e_k\) are the mixture density, velocity, pressure, total energy and internal energy, respectively.
The term \(K div (\mathbf{u})\) accounts for the differences in the acoustic behavior of both phases or in other words, for the differences in expansion and compression of each phase in mixture regions. \(K\) is given by:
\(s_k\) being the speed of sound of phase \(k\).
This model is solved thanks to the numerical method presented in [SPB09].
Advection test cases¶
The code is provided with the following test cases for advections:
<testCase>./libTests/referenceTestCases/PUEq/1D/transports/interfaceWaterAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/transportWaterSquareInAir/</testCase>
interfaceWaterAir¶
This first test case is important since it validates the capacity of the numerical method to treat simple advection of an interface between pure fluid without creating spurious oscillations on pressure or velocity profiles. Input files for this test are available in ./libTests/referenceTestCases/PUEq/1D/transports/interfaceWaterAir/.
Fig. 26 Initial condition for 1D advection of water–air interface.¶
The initial characteristics of the run are:
Characteristic |
Value |
|---|---|
dimension |
1 m |
Mesh size |
800 |
interface position |
0.3 m |
boundary conditions |
non-reflecting |
final solution time |
0.7 ms |
solution printing frequency |
0.025 ms |
precision |
1st order |
In the default test case, the computation is performed with a 1st order scheme. We compare this solution with those obtained using the 2nd order scheme with THINC limiter [SX14].
Shock tubes¶
The test cases relative to the pressure-velocity-equilibrium model (previously named Kapila’s model) are those presented in [SPB09]. They are here reproduced using ECOGEN.
<testCase>./libTests/referenceTestCases/PUEq/1D/shockTubes/interfaceWaterAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/1D/shockTubes/epoxySpinel/</testCase>
interfaceWaterAir shock tube¶
A shock tube between a high-pressure chamber filled with water and a low-pressure chamber filled with air is released. Input files for this test are available in ./libTests/referenceTestCases/PUEq/1D/shockTubes/interfaceWaterAir/.
Fig. 28 Initial condition for 1D water–air shock tube.¶
The initial characteristics of the run are:
Characteristic |
Value |
|---|---|
dimension |
1 m |
Initial mesh size / max size |
100 / 230 |
number of refinement level |
4 |
diaphragm position |
0.7 m |
boundary conditions |
non-reflecting |
final solution time |
0.240 ms |
solution printing frequency |
0.012 ms |
precision |
2nd order (Vanleer/THINC) |
AMR technique of [SPD19] is used with 4 refinement levels such that a maximum of 230 computational cells are used for this run.
epoxySpinel¶
This test deals with shocks in mixture of materials. Epoxy and spinel are supposed mixed such that caracteristic times for wave propagation and drag effects are very small, allowing to consider the mixture as evolving in mechanical equilibrium. Input files for this test are available in ./libTests/referenceTestCases/PUEq/1D/shockTubes/epoxySpinel/.
Fig. 30 Initial condition for mixture shock tube with epoxy and spinel.¶
The initial characteristics of the run are:
Characteristic |
Value |
|---|---|
dimension |
1 m |
Initial mesh size / max size |
200 / 237 |
number of refinement level |
2 |
diaphragm position |
0.6 m |
boundary conditions |
non-reflecting |
final solution time |
0.1 ms |
solution printing frequency |
0.025 ms |
precision |
2nd order (Vanleer) |
Other tests cases¶
Other tests are provided with ECOGEN package. They will soon be described in details.
<testCase>./libTests/referenceTestCases/PUEq/1D/cavitation/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/transportWaterSquareInAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/squareWaterExplosion/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/shockBubble/heliumAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/richtmyerMeshkov/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/2D/testUnstructured/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/evap/evapShockTube/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/evap/dodEvapShockTube/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/surfaceTension/squareToCircle/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/surfaceTension/squareToCircleSymmetry/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/surfaceTension/waterCylinderInAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/surfaceTension/waterDropletInAir/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/surfaceTension/dropletImpact/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/AddPhysicalEffects/gravity/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/3D/unstructured/</testCase>
<testCase>./libTests/referenceTestCases/PUEq/3D/shockBubble/heliumAir/</testCase>


