Skip to content

use sampleMesh() only on local world

Summary

When running with a different sampleWorld take care not to use the helper function sampleMesh.

What is the current bug behaviour?

FatalError complaining about trying to lookup a mesh which isn't present in the current world.

Environment information

  • OpenFOAM version : feature-localWorld