View Issue Details

IDProjectCategoryView StatusLast Update
0002523OpenFOAMPatchpublic2017-04-11 21:00
ReporterJuho Assigned Tohenry  
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0002523: steamInjection tutorial
DescriptionI noticed that the steamInjection tutorial crashes at the start of the injection.

With sensibleInternalEnergy it can be stabilized by reducing time step to 1e-6 and filtering the pressure work with limit of 0.001.

With sensibleEnthalpy it is stable with time step of 1e-5 and no pressure work filtering is required. If rhoConst is used for the liquid instead of perfectFluid, time step has to be further reduced to 1e-7.

I've attached a modified version of the tutorial and hRefConstThermos.C that enables the combination of sensibleEnthalpy and perfectFluid.

Main changes in the tutorial:
- General cleanup of the phaseProperties of unnecessary entries
- sensibleEnthalpy is used for both phases
- setTimeStep functionObject is used to set a sharp reduction in time step near the start of the injection
- Monitoring of pressure minimum and maximum
TagsNo tags attached.



2017-04-07 08:58


steamInjection.tar.gz (4,929 bytes)


2017-04-11 21:00

manager   ~0008026

Thanks for the update to this tutorial.

Resolved by commit 0fa88b8de49964d9d17994fa8153df6733ddba71

Issue History

Date Modified Username Field Change
2017-04-07 08:58 Juho New Issue
2017-04-07 08:58 Juho File Added: steamInjection.tar.gz
2017-04-11 21:00 henry Assigned To => henry
2017-04-11 21:00 henry Status new => resolved
2017-04-11 21:00 henry Resolution open => fixed
2017-04-11 21:00 henry Fixed in Version => dev
2017-04-11 21:00 henry Note Added: 0008026