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