From 2a68ba2799c93531191febd330167bde5c637de6 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 30 Nov 2020 14:07:36 +0100 Subject: [PATCH] Corrected memory error --- .../C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CoreFlows/examples/C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx b/CoreFlows/examples/C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx index e7f2679..a2d8782 100755 --- a/CoreFlows/examples/C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx +++ b/CoreFlows/examples/C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx @@ -49,7 +49,10 @@ int main(int argc, char** argv) LimitFieldTransport limitInlet; limitInlet.bcType=InletTransport; limitInlet.h =1.3e6;//Inlet water enthalpy + LimitFieldTransport limitTransportNeumann; + limitTransportNeumann.bcType=NeumannTransport; boundaryFieldsTransport["Inlet"] = limitInlet; + boundaryFieldsTransport["Neumann"] = limitTransportNeumann; //Set the fluid transport velocity vector transportVelocity(1,5);//Vitesse du fluide -- 2.39.2