Skip to content
Snippets Groups Projects
Commit 79c23b0d authored by mattijs's avatar mattijs
Browse files

BUG: energyTransport: delete own storage. Fixes #2302

parent ae708e67
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com \\ / A nd | www.openfoam.com
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2017-2020 OpenCFD Ltd. Copyright (C) 2017-2021 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -120,7 +120,8 @@ Foam::functionObjects::energyTransport::rho() const ...@@ -120,7 +120,8 @@ Foam::functionObjects::energyTransport::rho() const
mesh_.time().timeName(), mesh_.time().timeName(),
mesh_, mesh_,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
mesh_, mesh_,
rho_ rho_
...@@ -156,7 +157,8 @@ Foam::functionObjects::energyTransport::Cp() const ...@@ -156,7 +157,8 @@ Foam::functionObjects::energyTransport::Cp() const
mesh_.time().timeName(), mesh_.time().timeName(),
mesh_, mesh_,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
mesh_, mesh_,
Cp_ Cp_
...@@ -186,7 +188,8 @@ Foam::functionObjects::energyTransport::kappa() const ...@@ -186,7 +188,8 @@ Foam::functionObjects::energyTransport::kappa() const
mesh_.time().timeName(), mesh_.time().timeName(),
mesh_, mesh_,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
mesh_, mesh_,
kappa_ kappa_
...@@ -228,7 +231,8 @@ Foam::functionObjects::energyTransport::energyTransport ...@@ -228,7 +231,8 @@ Foam::functionObjects::energyTransport::energyTransport
mesh_.time().timeName(), mesh_.time().timeName(),
mesh_, mesh_,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
mesh_, mesh_,
dimensionedScalar(dimEnergy/dimTemperature/dimVolume, Zero) dimensionedScalar(dimEnergy/dimTemperature/dimVolume, Zero)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment