mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: wallHeatFlux: avoid field-name inconsistency (fixes #3102)
This commit is contained in:
@ -108,6 +108,10 @@ Foam::functionObjects::wallHeatFlux::wallHeatFlux
|
|||||||
writeFile(obr_, name, typeName, dict),
|
writeFile(obr_, name, typeName, dict),
|
||||||
qrName_("qr")
|
qrName_("qr")
|
||||||
{
|
{
|
||||||
|
read(dict);
|
||||||
|
|
||||||
|
writeFileHeader(file());
|
||||||
|
|
||||||
volScalarField* wallHeatFluxPtr
|
volScalarField* wallHeatFluxPtr
|
||||||
(
|
(
|
||||||
new volScalarField
|
new volScalarField
|
||||||
@ -127,10 +131,6 @@ Foam::functionObjects::wallHeatFlux::wallHeatFlux
|
|||||||
);
|
);
|
||||||
|
|
||||||
mesh_.objectRegistry::store(wallHeatFluxPtr);
|
mesh_.objectRegistry::store(wallHeatFluxPtr);
|
||||||
|
|
||||||
read(dict);
|
|
||||||
|
|
||||||
writeFileHeader(file());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user