Skip to content

Commit

Permalink
Change 2D z-coordinate error to warning
Browse files Browse the repository at this point in the history
Fix for precice#228
  • Loading branch information
arvedes committed Apr 29, 2022
1 parent a95da52 commit a3623b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Interface.C
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit a3623b2

Please sign in to comment.