From 67b4399e15548c949a0105dfae86c9cec9c1d4a6 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Tue, 30 Jul 2024 16:41:20 +0100 Subject: [PATCH] surfaceAutoPatch: fixed reading includedAngle in degrees --- .../utilities/surface/surfaceAutoPatch/surfaceAutoPatch.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/utilities/surface/surfaceAutoPatch/surfaceAutoPatch.C b/applications/utilities/surface/surfaceAutoPatch/surfaceAutoPatch.C index ac166fd12f..b7995d4f16 100644 --- a/applications/utilities/surface/surfaceAutoPatch/surfaceAutoPatch.C +++ b/applications/utilities/surface/surfaceAutoPatch/surfaceAutoPatch.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) const fileName inFileName = args[1]; const fileName outFileName = args[2]; - const scalar includedAngle = args.argRead(3); + const scalar includedAngle = degToRad(args.argRead(3)); Info<< "Surface : " << inFileName << nl << endl;