diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C index ff6d20dccb..fd04066e1f 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C @@ -124,8 +124,7 @@ Foam::PatchInteractionModel::PatchInteractionModel ) : SubModelBase(owner, dict, type), -// UName_(this->coeffDict().lookupOrDefault("UName", "U")) - UName_(this->coeffDict().lookup("UName")) + UName_(this->coeffDict().lookupOrDefault("UName", word("U"))) {}