Skip to content

STYLE: volFieldValue: prints empty lines

Summary

In $FOAM_TUTORIALS/incompressible/pisoFoam/RAS/cavity, prior to the first time-step, many empty lines are being printed.

Steps to reproduce

cd $FOAM_TUTORIALS/incompressible/pisoFoam/RAS/cavity
./Allrun

Inspect log.pisoFoam prior to Time = 0.005.

Environment information

base0    = base
base1    = develop
api      = 2112
patch    = 0
HEAD     = 0d3e84eb10
version  = com
compiler = Clang (system)
         = clang version 9.0.1 
mpi      = SYSTEMOPENMPI
         = mpirun (Open MPI) 1.10.7.0.5e373bf1fd
OS       = Description:     openSUSE Leap 15.3
opts     = linux64ClangDPInt32Opt

Possible fixes

The culprit is the volFieldValue.C#L284. Reconsidering it should resolve the issue.

@mark

Edited by Mark OLESEN