Commit 28eae057 authored by sergio's avatar sergio
Browse files

BUG: The option to cache the limiter field was not working

In fvSolution is possible to cache the limiter. This surface field
is stored in the database to be read later.

The internal tmp management of the field was not working properly.
parent d0737242
......@@ -6,6 +6,7 @@
\\/ M anipulation |
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
This file is part of OpenFOAM.
......@@ -177,7 +178,11 @@ Foam::LimitedScheme<Type, Limiter, LimitFunc>::limiter
calcLimiter(phi, limiterField);
return limiterField;
return tmp<surfaceScalarField>::New
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment