Xcos demos: add a Modelica demo to simulate heat conduction in a rod 91/16491/2
Ahmed Sami AlBassiouni [Wed, 20 May 2015 06:58:46 +0000 (08:58 +0200)]
Change-Id: Ia7157e1ae9e3c8e9cd7ef7402a4f70dda1f42a9a

scilab/modules/xcos/demos/ModelicaBlocks/Heat_conduction.zcos [new file with mode: 0644]
scilab/modules/xcos/demos/ModelicaBlocks/modelica_heat_conduction.dem.sce [new file with mode: 0644]
scilab/modules/xcos/demos/modelica_demos.dem.gateway.sce

diff --git a/scilab/modules/xcos/demos/ModelicaBlocks/Heat_conduction.zcos b/scilab/modules/xcos/demos/ModelicaBlocks/Heat_conduction.zcos
new file mode 100644 (file)
index 0000000..e0f8741
Binary files /dev/null and b/scilab/modules/xcos/demos/ModelicaBlocks/Heat_conduction.zcos differ
diff --git a/scilab/modules/xcos/demos/ModelicaBlocks/modelica_heat_conduction.dem.sce b/scilab/modules/xcos/demos/ModelicaBlocks/modelica_heat_conduction.dem.sce
new file mode 100644 (file)
index 0000000..e2114e2
--- /dev/null
@@ -0,0 +1,6 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2015 - Scilab Enterprises - Paul Bignier
+//
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+xcos("SCI/modules/xcos/demos/ModelicaBlocks/Heat_conduction.zcos");
index dbeca02..95a0f5f 100644 (file)
@@ -10,7 +10,8 @@ if with_modelica_compiler() then
     _("Bouncing Ball")          , "ModelicaBlocks/modelica_bouncing_ball.dem.sce"  ; ..
     _("Chaos Modelica")         , "ModelicaBlocks/modelica_chaos.dem.sce"          ; ..
     _("Hydraulics blocks")      , "ModelicaBlocks/modelica_hydraulics.dem.sce"     ; ..
-    _("RLC circuit")            , "ModelicaBlocks/modelica_rlc_circuit.dem.sce"
+    _("RLC circuit")            , "ModelicaBlocks/modelica_rlc_circuit.dem.sce"    ; ..
+    _("Heat conduction in a rod")              , "ModelicaBlocks/modelica_heat_conduction.dem.sce"
     ];
 
     subdemolist(:,2) = SCI + "/modules/xcos/demos/" + subdemolist(:,2);