Missing "interface.correct();" in interCondensatingEvaporatingFoam
Summary
The interface in interCondensatingEvaporatingFoam is not reproduced correctly if sigma > 0
Steps to reproduce
Run the example case with interCondensatingEvaporatingFoam. After 1 s you will already see a deformed interface in paraview.
Example case
What is the current bug behaviour?
The interface between liquid and gas deforms (see Figure 1). The deformation in the testcase might actually happen due to parasitic currents. But the surface tension doesn't correct the interface as it would do in interFoam.
What is the expected correct behavior?
See Figure 2
Relevant logs and/or images
Environment information
- OpenFOAM version : v1912
- Operating system : Debian
Possible fixes
Add the folowing line to interCondensatingEvaporatingFoam (I added it behind #include "alphaEqnSubCycle.H"):
121 interface.correct();