surfaceFilmModels::contactAngleForces: Provide empty list default value for zeroForcePatches
This commit is contained in:
parent
05d945c9ce
commit
a4eee79496
1 changed files with 4 additions and 1 deletions
|
|
@ -46,7 +46,10 @@ defineTypeNameAndDebug(contactAngleForce, 0);
|
|||
|
||||
void contactAngleForce::initialise()
|
||||
{
|
||||
const wordReList zeroForcePatches(coeffDict_.lookup("zeroForcePatches"));
|
||||
const wordReList zeroForcePatches
|
||||
(
|
||||
coeffDict_.lookupOrDefault<wordReList>("zeroForcePatches", wordReList())
|
||||
);
|
||||
|
||||
if (zeroForcePatches.size())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue