Skip to content

Wrong write time for functionObjectProperties in OpenFOAM.com #26

@MakisH

Description

@MakisH

Issue reported by @derekrisseeuw, affecting at least OpenFOAM+ v1712 and v1806, but not affecting OpenFOAM 5.x or 6.

tl;dr: Empty entries in the results output are shown as "flickering" animation in ParaView.

The problem occurs when running a coupled implicit simulation where the openfoam write interval is larger than the coupling timestep. OpenFOAM will not only write a time at the defined 'write interval', but also at: time = write interval - coupling time

The only field that is written that time is uniform/functionObjects

Which contains the attached file, with no further information.

In terms of simulation this does not pose a problem, but for postprocessing it can be inconvenient. Also, I am not sure where this functionobject is written, but the fact that the time there is not updated might also be incorrect.

I actually first noticed this problem when running the CHT tutorial. Here the coupling time is 0.01s, and the writeInterval is 0.2s. Therefore I have timefolder 0, 0.19, 0.2, 0.39, 0.4, ... etc.

Even if this seems to be version-specific, maybe there is something wrong in the adapter, as well.

Metadata

Metadata

Assignees

Labels

bugUnexpected problems (crashes, numerical issues, etc)compatibilityAffecting only specific OpenFOAM / preCICE versions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions