From: michael Date: Mon, 30 Nov 2020 13:07:36 +0000 (+0100) Subject: Corrected memory error X-Git-Tag: V9_7_0~117 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a68ba2799c93531191febd330167bde5c637de6;p=tools%2Fsolverlab.git Corrected memory error --- 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