externalTemperature BC: corrected intialization of qrPrevious
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) 2011-2024 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2025 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -146,7 +146,7 @@ externalTemperatureFvPatchScalarField
|
|||||||
qrName_ != word::null
|
qrName_ != word::null
|
||||||
? dict.found("qrPrevious")
|
? dict.found("qrPrevious")
|
||||||
? scalarField("qrPrevious", dimPower/dimArea, dict, p.size())
|
? scalarField("qrPrevious", dimPower/dimArea, dict, p.size())
|
||||||
: scalarField(0, p.size())
|
: scalarField(p.size(), 0)
|
||||||
: scalarField()
|
: scalarField()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user