mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updates to MPPIC sub-models. Instantiation for kinematic clouds
This commit is contained in:
committed by
Andrew Heather
parent
9207140e37
commit
5bc846553c
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -85,8 +85,10 @@ Foam::PackingModel<CloudType>::New
|
||||
CloudType& owner
|
||||
)
|
||||
{
|
||||
const word modelType(dict.get<word>(typeName));
|
||||
|
||||
const word modelType
|
||||
(
|
||||
dict.template getOrDefault<word>(typeName, "none")
|
||||
);
|
||||
Info<< "Selecting packing model " << modelType << endl;
|
||||
|
||||
auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
|
||||
|
||||
Reference in New Issue
Block a user