From a3623b2a97f07ade776f3c81fe294a5d18cff46d Mon Sep 17 00:00:00 2001 From: Arved Enders-Seidlitz Date: Fri, 29 Apr 2022 11:48:17 +0200 Subject: [PATCH] Change 2D z-coordinate error to warning Fix for #228 --- Interface.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Interface.C b/Interface.C index c90ab5bc..f03341de 100644 --- a/Interface.C +++ b/Interface.C @@ -153,10 +153,11 @@ void preciceAdapter::Interface::configureMesh(const fvMesh& mesh) } else { - FatalErrorInFunction + WarningInFunction << "It seems like you are using preCICE in 2D and your geometry is not located int the xy-plane. " "The OpenFOAM adapter implementation supports preCICE 2D cases only with the z-axis as out-of-plane direction." "Please rotate your geometry so that the geometry is located in the xy-plane." + "If you are running a 2D axisymmetric case just ignore this." << exit(FatalError); } }