Skip to content

potentialFoam creates unphysical velocity field in motorBike tutorial

Summary

In OpenFOAM v2112, potentialFoam creates an unphysical velocity field.

This ultimately leads to the crash of the simulation.

In OpenFOAM v2012, this issue was not present.

Tested in serial as well as in parallel execution, on different Linux versions and on different hardware.

Steps to reproduce

Copy the motorBike tutorial case, execute the Allrun script, look at the 0/U field in paraview.

Example case

motorBike tutorial

What is the current bug behaviour?

in v2112: OFv2112

What is the expected correct behavior?

in v2012: OFv2012

Relevant logs and/or images

Environment information

  • OpenFOAM version : v2112: latest stable release and dev version 'patch = 220310, build = f8dc1929-20220507'
  • Operating system : ArchLinux and OpenSUSE Tumbleweed
  • Hardware info : AMD EPYC 7452 and Intel Xeon CPU E5-2650
  • Compiler : gcc

Possible fixes