water-gas ratio input and output plus simulator for salt precipitation and water evaporation

This commit is contained in:
Paul Egberts
2022-03-01 17:54:22 +01:00
parent 131bb6585f
commit 797fdc278b
15 changed files with 238 additions and 13 deletions

View File

@@ -134,6 +134,11 @@ public:
else if (Indices::gasEnabled)
fluidState.setRv(0.0);
if (FluidSystem::enableVaporizedWater())
fluidState.setRvw(initialState.rvw()[elemIdx]);
else if (Indices::gasEnabled)
fluidState.setRvw(0.0);
// set the temperature.
if (enableTemperature || enableEnergy)