]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected memory error
authormichael <michael@localhost.localdomain>
Mon, 30 Nov 2020 13:07:36 +0000 (14:07 +0100)
committermichael <michael@localhost.localdomain>
Mon, 30 Nov 2020 13:07:36 +0000 (14:07 +0100)
CoreFlows/examples/C/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx

index e7f26792e5bcf4dc4b9747d7ac9ec550fc8eeb35..a2d878270ec2d290c597ec6f151ce75021f53d01 100755 (executable)
@@ -49,7 +49,10 @@ int main(int argc, char** argv)
        LimitFieldTransport limitInlet;\r
        limitInlet.bcType=InletTransport;\r
        limitInlet.h =1.3e6;//Inlet water enthalpy\r
+       LimitFieldTransport limitTransportNeumann;\r
+       limitTransportNeumann.bcType=NeumannTransport;\r
        boundaryFieldsTransport["Inlet"] = limitInlet;\r
+       boundaryFieldsTransport["Neumann"] = limitTransportNeumann;\r
 \r
        //Set the fluid transport velocity\r
        vector<double> transportVelocity(1,5);//Vitesse du fluide\r