fvModels::verticalDamping: Added readCoeffs to constructor to read lambda

Resolves bug-report https://bugs.openfoam.org/view.php?id=4189
This commit is contained in:
Henry Weller
2024-12-16 09:35:53 +00:00
parent aebfc940a1
commit e9b7b62d1f

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2023 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2024 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -76,6 +76,7 @@ Foam::fv::verticalDamping::verticalDamping
forcing(name, modelType, mesh, dict),
UName_(coeffs().lookupOrDefault<word>("U", "U"))
{
readCoeffs();
writeForceFields();
}