Skip to content

The 'function object' does not write out the results of 'volFieldValue' if 'solidificationMeltingSource' is used.

Summary

After calculation using solidificationMeltingSource, the time change of the liquid phase (eg. sMS:alpha1 field) fails to written out by function object utility.

Steps to reproduce

$ buoyantPimpleFoam

(after the end)

$ buoyantPimpleFoma -postProcess

Example case

After expanding this attached file, execute 'Allrun' script file!

solidificationMeltingSourceTest.tar.gz

What is the current bug behaviour?

What is the expected correct behavior?

Relevant logs and/or images

In case of the calculation simultaneously with solver

volFieldValue meltingFranctions write:

sum(PCM) of sMS1:alpha1 = 475.61726

End

(no problem)


When executed as post-processing

volFieldValue meltingFranctions write:

sum(PCM) of sMS1:alpha1 = 0

End

Environment information

OpenFOAM version :v1812 Operating system :ubuntu18.04 Compiler :gcc-7.3.0

Possible fixes