Skip to content
Snippets Groups Projects
Commit da716507 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: typo in solidProperties prevents re-reading of "Hf" (fixes #1927)

parent fc541cee
Branches
Tags
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2018-2019 OpenCFD Ltd. Copyright (C) 2018-2020 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -77,7 +77,7 @@ void Foam::solidProperties::readIfPresent(const dictionary& dict) ...@@ -77,7 +77,7 @@ void Foam::solidProperties::readIfPresent(const dictionary& dict)
dict.readIfPresent("rho", rho_); dict.readIfPresent("rho", rho_);
dict.readIfPresent("Cp", Cp_); dict.readIfPresent("Cp", Cp_);
dict.readIfPresentCompat("kappa", {{"K", 1612}}, kappa_); dict.readIfPresentCompat("kappa", {{"K", 1612}}, kappa_);
dict.readIfPresent("Hf_", Hf_); dict.readIfPresent("Hf", Hf_);
dict.readIfPresent("emissivity", emissivity_); dict.readIfPresent("emissivity", emissivity_);
dict.readIfPresent("W", W_); dict.readIfPresent("W", W_);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment