From 30dc88eff82ff1a41810058e8bde0b8c0d426707 Mon Sep 17 00:00:00 2001 From: Kutalmis Bercin <kutalmis.bercin@esi-group.com> Date: Wed, 6 Nov 2019 17:49:58 +0000 Subject: [PATCH] BUG: fixes turbulentDFSEMInlet - mapFields issue (#1108) --- .../turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C index 0b6108a9bd..04c024601d 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C @@ -826,7 +826,7 @@ turbulentDFSEMInletFvPatchVectorField kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), perturb_(dict.lookupOrDefault<scalar>("perturb", 1e-5)), - mapMethod_(dict.lookup("mapMethod")), + mapMethod_(dict.getOrDefault<word>("mapMethod", "nearestCell")), mapperPtr_(nullptr), interpolateR_(false), interpolateL_(false), -- GitLab