Skip to content

Commit

Permalink
DenseDragForce: Corrected lookup type
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bainbridge committed Feb 12, 2021
1 parent 0e8391b commit 0f04dd0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
Expand Down Expand Up @@ -87,7 +87,7 @@ void Foam::DenseDragForce<CloudType>::cacheFields(const bool store)
{
if (store)
{
if (!this->mesh().template foundObject<volVectorField>(alphacName_))
if (!this->mesh().template foundObject<volScalarField>(alphacName_))
{
alphacPtr_.reset
(
Expand Down

0 comments on commit 0f04dd0

Please sign in to comment.