Skip to content

waveModel.C fails in debug mode

Summary

In debug mode a size check failing in src/waveModels/waveModel/waveModel.C

Steps to reproduce

just run a waves tutorial in debug mode. It fails in const vectorField CfLocal(Rgl_ & Cf);

Example case

e.g. the stokesV tutorial

What is the current bug behaviour?

I don't know what happens and if it matters, but you can't run wave generation in debug mode.

What is the expected correct behavior?

that size should be equal

Relevant logs and/or images

Environment information

  • OpenFOAM version :1906
  • Operating system :ubuntu 1804
  • Hardware info :intel i7-8700K
  • Compiler :gcc 7.4

Possible fixes

Edited by Per Jørgensen