externalTemperature BC: corrected intialization of qrPrevious
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2025 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -146,7 +146,7 @@ externalTemperatureFvPatchScalarField
|
||||
qrName_ != word::null
|
||||
? dict.found("qrPrevious")
|
||||
? scalarField("qrPrevious", dimPower/dimArea, dict, p.size())
|
||||
: scalarField(0, p.size())
|
||||
: scalarField(p.size(), 0)
|
||||
: scalarField()
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user