Your IP : 216.73.216.48


Current Path : /usr/X11R6/share/apps/step/examples/
Upload File :
Current File : //usr/X11R6/share/apps/step/examples/gas.step

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE StepCoreXML>
<world xmlns="http://edu.kde.org/step/StepCoreXML" version="1.0" id="1">
    <name>world1</name>
    <color>#ffffffff</color>
    <time>0</time>
    <timeScale>1</timeScale>
    <errorsCalculation>false</errorsCalculation>

    <item class="Polygon" id="2">
        <name>polygon1</name>
        <color>#ff000000</color>
        <position>(-1.055,0)</position>
        <angle>0</angle>
        <velocity>(0,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>inf</mass>
        <inertia>inf</inertia>
        <vertexes>(-0.05,1.3),(0.05,1.3),(0.05,-1.11),(-0.05,-1.11)</vertexes>
    </item>

    <item class="Polygon" id="3">
        <name>polygon2</name>
        <color>#ff000000</color>
        <position>(1.055,0)</position>
        <angle>0</angle>
        <velocity>(0,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>inf</mass>
        <inertia>inf</inertia>
        <vertexes>(-0.05,1.3),(0.05,1.3),(0.05,-1.11),(-0.05,-1.11)</vertexes>
    </item>

    <item class="Polygon" id="4">
        <name>polygon3</name>
        <color>#ff000000</color>
        <position>(0,0.7)</position>
        <angle>0</angle>
        <velocity>(0,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>1</mass>
        <inertia>inf</inertia>
        <vertexes>(1,-0.05),(1,0.05),(-1,0.05),(-1,-0.05)</vertexes>
    </item>

    <item class="Polygon" id="5">
        <name>polygon4</name>
        <color>#ff000000</color>
        <position>(0,-1.0601)</position>
        <angle>0</angle>
        <velocity>(0,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>inf</mass>
        <inertia>inf</inertia>
        <vertexes>(1,-0.05),(1,0.05),(-1,0.05),(-1,-0.05)</vertexes>
    </item>

    <item class="Gas" id="6">
        <name>gas1</name>
        <color>#ffff0000</color>
        <measureRectCenter>(-0.0125075,-0.266827)</measureRectCenter>
        <measureRectSize>(1.95951,1.44253)</measureRectSize>

        <item class="GasLJForce" id="7">
            <name>gasLJForce1</name>
            <color>#ff000000</color>
            <depth>0.1</depth>
            <rmin>0.05</rmin>
            <cutoff>inf</cutoff>
        </item>

        <item class="GasParticle" id="8">
            <name>gasParticle1</name>
            <color>#ff000000</color>
            <position>(0.565956,-0.0656149)</position>
            <velocity>(-0.00761364,0.212132)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="9">
            <name>gasParticle2</name>
            <color>#ff000000</color>
            <position>(0.85778,-0.5887)</position>
            <velocity>(0.119741,0.116187)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="10">
            <name>gasParticle3</name>
            <color>#ff000000</color>
            <position>(0.840081,0.220382)</position>
            <velocity>(-0.00100983,-0.202227)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="11">
            <name>gasParticle4</name>
            <color>#ff000000</color>
            <position>(0.732326,-0.296315)</position>
            <velocity>(-0.13475,0.0137635)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="12">
            <name>gasParticle5</name>
            <color>#ff000000</color>
            <position>(-0.291958,0.0516894)</position>
            <velocity>(-0.174276,0.20496)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="13">
            <name>gasParticle6</name>
            <color>#ff000000</color>
            <position>(-0.672405,-0.835473)</position>
            <velocity>(-0.11914,0.0788978)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="14">
            <name>gasParticle7</name>
            <color>#ff000000</color>
            <position>(0.185599,-0.66535)</position>
            <velocity>(0.122488,0.178057)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="15">
            <name>gasParticle8</name>
            <color>#ff000000</color>
            <position>(-0.757349,-0.0889658)</position>
            <velocity>(-0.148135,0.180779)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="16">
            <name>gasParticle9</name>
            <color>#ff000000</color>
            <position>(-0.561929,-0.561924)</position>
            <velocity>(-0.130659,0.187588)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="17">
            <name>gasParticle10</name>
            <color>#ff000000</color>
            <position>(-0.50381,0.348278)</position>
            <velocity>(0.185882,0.242167)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="18">
            <name>gasParticle11</name>
            <color>#ff000000</color>
            <position>(-0.550919,-0.258631)</position>
            <velocity>(-0.0916013,-0.164458)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="19">
            <name>gasParticle12</name>
            <color>#ff000000</color>
            <position>(-0.110859,0.451411)</position>
            <velocity>(0.0432849,0.146399)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="20">
            <name>gasParticle13</name>
            <color>#ff000000</color>
            <position>(0.399713,0.361612)</position>
            <velocity>(-0.0240415,-0.237124)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="21">
            <name>gasParticle14</name>
            <color>#ff000000</color>
            <position>(0.0844702,-0.377145)</position>
            <velocity>(-0.13091,0.142214)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="22">
            <name>gasParticle15</name>
            <color>#ff000000</color>
            <position>(-0.224932,-0.789579)</position>
            <velocity>(0.233178,0.05335)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="23">
            <name>gasParticle16</name>
            <color>#ff000000</color>
            <position>(0.360707,-0.58322)</position>
            <velocity>(-0.0775935,-0.248263)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="24">
            <name>gasParticle17</name>
            <color>#ff000000</color>
            <position>(-0.239719,-0.349508)</position>
            <velocity>(-0.203015,0.142739)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="25">
            <name>gasParticle18</name>
            <color>#ff000000</color>
            <position>(0.249058,-0.490601)</position>
            <velocity>(-0.18874,0.174805)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="26">
            <name>gasParticle19</name>
            <color>#ff000000</color>
            <position>(-0.060496,0.130943)</position>
            <velocity>(-0.228273,0.222676)</velocity>
            <mass>1</mass>
        </item>

        <item class="GasParticle" id="27">
            <name>gasParticle20</name>
            <color>#ff000000</color>
            <position>(-0.563462,0.170809)</position>
            <velocity>(0.0191072,0.19745)</velocity>
            <mass>1</mass>
        </item>

    </item>

    <item class="Spring" id="28">
        <name>spring1</name>
        <color>#ff00ff00</color>
        <restLength>1.7601</restLength>
        <stiffness>1</stiffness>
        <damping>0</damping>
        <body1>4</body1>
        <body2>5</body2>
        <localPosition1>(0,0)</localPosition1>
        <localPosition2>(0,0)</localPosition2>
    </item>

    <item class="Note" id="29">
        <name>note1</name>
        <color>#ff000000</color>
        <position>(-1.64038,0.732428)</position>
        <size>(40,30)</size>
        <text>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:large; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:large;&quot;&gt;n =&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Meter" id="30">
        <name>meter1</name>
        <color>#ff000000</color>
        <position>(-1.41038,0.742428)</position>
        <size>(70,25)</size>
        <object>6</object>
        <property>rectConcentration</property>
        <index>-1</index>
        <digits>7</digits>
    </item>

    <item class="Meter" id="31">
        <name>meter2</name>
        <color>#ff000000</color>
        <position>(-1.41038,0.442428)</position>
        <size>(70,25)</size>
        <object>6</object>
        <property>rectPressure</property>
        <index>-1</index>
        <digits>7</digits>
    </item>

    <item class="Note" id="32">
        <name>note3</name>
        <color>#ff000000</color>
        <position>(-1.64038,0.109199)</position>
        <size>(40,30)</size>
        <text>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;h3&gt;T =&lt;/h3&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Meter" id="33">
        <name>meter3</name>
        <color>#ff000000</color>
        <position>(-1.41038,0.12038)</position>
        <size>(70,25)</size>
        <object>6</object>
        <property>rectTemperature</property>
        <index>-1</index>
        <digits>7</digits>
    </item>

    <item class="Note" id="34">
        <name>note2</name>
        <color>#ff000000</color>
        <position>(-1.64038,0.432428)</position>
        <size>(40,30)</size>
        <text>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;h3&gt;p =&lt;/h3&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Note" id="35">
        <name>note5</name>
        <color>#ff000000</color>
        <position>(-1.6692,-0.383162)</position>
        <size>(62,28)</size>
        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:large; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:large;&quot;&gt;F&lt;/span&gt;&lt;span style=&quot; font-size:large; vertical-align:sub;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot; font-size:large;&quot;&gt; =&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Meter" id="36">
        <name>meter4</name>
        <color>#ff000000</color>
        <position>(-1.39715,-0.378752)</position>
        <size>(70,25)</size>
        <object>28</object>
        <property>force</property>
        <index>-1</index>
        <digits>7</digits>
    </item>

    <item class="Note" id="37">
        <name>note4</name>
        <color>#ff000000</color>
        <position>(-1.501,1.05243)</position>
        <size>(120,50)</size>
        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:medium; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:medium;&quot;&gt;Macroscopic quantities:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Note" id="38">
        <name>note6</name>
        <color>#ff000000</color>
        <position>(-1.47281,-0.170801)</position>
        <size>(138,44)</size>
        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:medium; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:medium;&quot;&gt;Spring tension:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <item class="Note" id="39">
        <name>note7</name>
        <color>#ff000000</color>
        <position>(-1.44076,-0.792782)</position>
        <size>(138,104)</size>
        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;(run simulation for ~20 seconds and compare spring tension with pressure)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>

    </item>

    <solver class="AdaptiveEulerSolver" id="40">
        <name>solver1</name>
        <stepSize>1</stepSize>
        <toleranceAbs>0.001</toleranceAbs>
        <toleranceRel>0.001</toleranceRel>
    </solver>

    <collisionSolver class="GJKCollisionSolver" id="41">
        <name>collisionSolver1</name>
        <toleranceAbs>0.001</toleranceAbs>
    </collisionSolver>

    <constraintSolver class="CGConstraintSolver" id="42">
        <name>constraintSolver1</name>
    </constraintSolver>

</world>