model.html 15.2 KB
Newer Older
1
2
3
4
5
6
7
8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
mozul's avatar
mozul committed
9
    <title>Model definition &mdash; pylmgc90.pre 2015.2 documentation</title>
10
11
12
13
14
15
16
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
mozul's avatar
mozul committed
17
        VERSION:     '2015.2',
18
19
20
21
22
23
24
25
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
mozul's avatar
mozul committed
26
27
    <link rel="top" title="pylmgc90.pre 2015.2 documentation" href="index.html" />
    <link rel="next" title="Interaction model and parameters definition" href="interaction.html" />
28
29
30
31
32
33
34
35
36
37
38
39
40
    <link rel="prev" title="Material definition" href="material.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
mozul's avatar
mozul committed
41
          <a href="interaction.html" title="Interaction model and parameters definition"
42
43
44
45
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="material.html" title="Material definition"
             accesskey="P">previous</a> |</li>
mozul's avatar
mozul committed
46
        <li><a href="index.html">pylmgc90.pre 2015.2 documentation</a> &raquo;</li> 
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="model-definition">
<h1>Model definition<a class="headerlink" href="#model-definition" title="Permalink to this headline"></a></h1>
<p>Mainly with the <a class="reference internal" href="classes.html#pylmgc90.pre_lmgc.model" title="pylmgc90.pre_lmgc.model"><tt class="xref py py-class docutils literal"><span class="pre">model</span></tt></a></p>
<div class="section" id="rigid">
<h2>Rigid:<a class="headerlink" href="#rigid" title="Permalink to this headline"></a></h2>
<p>Available elements:</p>
<blockquote>
<div><ul class="simple">
<li>rigid2d() : &#8216;Rxx2D&#8217;</li>
<li>rigid3d() : &#8216;Rxx3D&#8217;</li>
</ul>
</div></blockquote>
<p>Available options: <strong>None</strong></p>
<p>Example</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">mod</span> <span class="o">=</span> <span class="n">model</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&#39;rigid&#39;</span><span class="p">,</span> <span class="nb">type</span><span class="o">=</span><span class="s">&#39;MECAx&#39;</span><span class="p">,</span> <span class="n">element</span><span class="o">=</span><span class="s">&#39;Rxx2D&#39;</span><span class="p">,</span> <span class="n">dimension</span><span class="o">=</span><span class="n">dim</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="section" id="mechanical-mecax">
<h2>Mechanical (MECAx) :<a class="headerlink" href="#mechanical-mecax" title="Permalink to this headline"></a></h2>
<p>Available elements:</p>
<blockquote>
<div><ul class="simple">
<li>Point : &#8216;Point&#8217;</li>
<li>S2xxx : &#8216;SPRG2&#8217;, &#8216;SPRG3&#8217;, &#8216;Beam&#8217;, &#8216;Cable&#8217;</li>
<li>S3xxx :</li>
<li>T3xxx : &#8216;T3xxx&#8217;,&#8217;DKTxx&#8217;</li>
<li>T6xxx : &#8216;T6xxx&#8217;</li>
<li>Q4xxx : &#8216;Q4xxx&#8217;, &#8216;Q4P0x&#8217;</li>
<li>Q8xxx : &#8216;Q8xxx&#8217;, &#8216;Q8Rxx&#8217;</li>
<li>TE4xx : &#8216;TE4xx&#8217;,&#8217;TE4lx&#8217;</li>
<li>TE10x : &#8216;TE10x&#8217;</li>
<li>H8xxx : &#8216;H8xxx&#8217;</li>
<li>H20xx : &#8216;H20xx&#8217;, &#8216;H20Rx&#8217;</li>
<li>PRI6x : &#8216;PRI6x&#8217;</li>
</ul>
</div></blockquote>
<p>Available options:</p>
<blockquote>
<div><ul class="simple">
<li>kinematic : &#8216;small&#8217;,&#8217;large&#8217;,</li>
<li>formulation : &#8216;UpdtL&#8217;,&#8217;TotaL&#8217;</li>
<li>mass_storage : &#8216;<a href="#id8"><span class="problematic" id="id9">lump_</span></a>&#8216;,&#8217;coher&#8217;</li>
<li>material :  &#8216;<a href="#id10"><span class="problematic" id="id11">elas_</span></a>&#8216;, &#8216;elasd&#8217;, &#8216;<a href="#id12"><span class="problematic" id="id13">neoh_</span></a>&#8216;, &#8216;hyper&#8217;, &#8216;hyp_d&#8217;, &#8216;J2iso&#8217;, &#8216;J2mix&#8217;, &#8216;kvisc&#8217;</li>
<li>anisotropy : &#8216;<a href="#id1"><span class="problematic" id="id2">iso__</span></a>&#8216;, &#8216;ortho&#8217;</li>
<li>external_model : &#8216;<a href="#id1"><span class="problematic" id="id3">yes__</span></a>&#8216;, &#8216;no___&#8217;</li>
<li>discrete : &#8216;<a href="#id1"><span class="problematic" id="id4">yes__</span></a>&#8216;, &#8216;no___&#8217;</li>
mozul's avatar
mozul committed
102
103
<li>external_fields : list of string</li>
<li>external_vfields : list of string</li>
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
</ul>
</div></blockquote>
<p>Example</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">mod</span> <span class="o">=</span> <span class="n">model</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&#39;Q4MLx&#39;</span><span class="p">,</span> <span class="nb">type</span><span class="o">=</span><span class="s">&#39;MECAx&#39;</span><span class="p">,</span> <span class="n">element</span><span class="o">=</span><span class="s">&#39;Q4xxx&#39;</span><span class="p">,</span>
            <span class="n">dimension</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span> <span class="n">external_model</span><span class="o">=</span><span class="s">&#39;yes__&#39;</span><span class="p">,</span> <span class="n">kinematic</span><span class="o">=</span><span class="s">&#39;small&#39;</span><span class="p">,</span>
            <span class="n">material</span><span class="o">=</span><span class="s">&#39;elas_&#39;</span><span class="p">,</span> <span class="n">anisotropy</span><span class="o">=</span><span class="s">&#39;iso__&#39;</span><span class="p">,</span> <span class="n">mass_storage</span><span class="o">=</span><span class="s">&#39;lump_&#39;</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="section" id="thermal-therx">
<h2>Thermal (THERx) :<a class="headerlink" href="#thermal-therx" title="Permalink to this headline"></a></h2>
<p>Available elements:</p>
<blockquote>
<div><ul class="simple">
<li>Point :</li>
<li>S2xxx :</li>
<li>S3xxx :</li>
<li>T3xxx : &#8216;T3xxx&#8217;</li>
<li>T6xxx : &#8216;T6xxx&#8217;</li>
<li>Q4xxx : &#8216;Q4xxx&#8217;</li>
<li>Q8xxx : &#8216;Q8xxx&#8217;</li>
<li>TE4xx : &#8216;TE4xx&#8217;</li>
<li>TE10x : &#8216;TE10x&#8217;</li>
<li>H8xxx : &#8216;H8xxx&#8217;</li>
<li>H20xx : &#8216;H20xx&#8217;</li>
<li>PRI6x : &#8216;PRI6x&#8217;</li>
</ul>
</div></blockquote>
<p>Available options:</p>
<blockquote>
<div><ul class="simple">
<li>capacity_storage : &#8216;<a href="#id14"><span class="problematic" id="id15">lump_</span></a>&#8216;, &#8216;coher&#8217;</li>
<li>formulation : &#8216;class&#8217;, &#8216;stdvf&#8217;, &#8216;linvf&#8217;</li>
<li>external_model : &#8216;<a href="#id1"><span class="problematic" id="id5">yes__</span></a>&#8216;, &#8216;no___&#8217;</li>
<li>convection_type : &#8216;<a href="#id16"><span class="problematic" id="id17">supg_</span></a>&#8216;,&#8217;cente&#8217;</li>
mozul's avatar
mozul committed
139
140
<li>external_fields : list of string</li>
<li>external_vfields : list of string</li>
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
</ul>
</div></blockquote>
<p>Example</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">Model_Thermique</span> <span class="o">=</span> <span class="n">model</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&#39;DIFFU&#39;</span><span class="p">,</span> <span class="nb">type</span><span class="o">=</span><span class="s">&#39;THERx&#39;</span><span class="p">,</span> <span class="n">element</span><span class="o">=</span><span class="s">&#39;T3xxx&#39;</span><span class="p">,</span>
                        <span class="n">dimension</span> <span class="o">=</span> <span class="n">dimension</span><span class="p">,</span> <span class="n">external_model</span><span class="o">=</span><span class="s">&#39;no___&#39;</span><span class="p">,</span> <span class="n">capacity_storage</span><span class="o">=</span><span class="s">&#39;lump_&#39;</span><span class="p">,</span>
                        <span class="n">formulation</span> <span class="o">=</span> <span class="s">&#39;class&#39;</span><span class="p">,</span> <span class="n">external_fields</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;COCO&#39;</span><span class="p">,</span><span class="s">&#39;SPHV&#39;</span><span class="p">])</span>
</pre></div>
</div>
</div>
<div class="section" id="porous-porox">
<h2>Porous (POROx) :<a class="headerlink" href="#porous-porox" title="Permalink to this headline"></a></h2>
<p>Available elements:</p>
<blockquote>
<div><ul class="simple">
<li>Point :</li>
<li>S2xxx :</li>
<li>S3xxx :</li>
<li>T3xxx : &#8216;T33xx&#8217;</li>
<li>T6xxx : &#8216;T63xx&#8217;</li>
<li>Q4xxx : &#8216;Q44xx&#8217;</li>
<li>Q8xxx : &#8216;Q84xx&#8217;</li>
<li>TE4xx : &#8216;TE44x&#8217;</li>
<li>TE10x : &#8216;TE104&#8217;</li>
<li>H8xxx :&#8217;H88xx&#8217;</li>
<li>H20xx :&#8217;H208x&#8217;</li>
<li>PRI6x :</li>
</ul>
</div></blockquote>
<p>Available options:</p>
<blockquote>
<div><ul class="simple">
<li>kinematic : &#8216;small&#8217;, &#8216;large&#8217;</li>
<li>formulation : &#8216;UpdtL&#8217;, &#8216;TotaL&#8217;</li>
<li>mass_storage : &#8216;<a href="#id18"><span class="problematic" id="id19">lump_</span></a>&#8216;, &#8216;coher&#8217;</li>
<li>material : &#8216;<a href="#id20"><span class="problematic" id="id21">elas_</span></a>&#8216;, &#8216;elasd&#8217;, &#8216;<a href="#id22"><span class="problematic" id="id23">neoh_</span></a>&#8216;, &#8216;hyper&#8217;, &#8216;hyp_d&#8217;, &#8216;J2iso&#8217;, &#8216;J2mix&#8217;, &#8216;kvisc&#8217;</li>
<li>anisotropy : &#8216;<a href="#id1"><span class="problematic" id="id6">iso__</span></a>&#8216;, &#8216;ortho&#8217;</li>
<li>external_model : &#8216;<a href="#id1"><span class="problematic" id="id7">yes__</span></a>&#8216;, &#8216;no___&#8217;</li>
<li>capacity_storage : &#8216;<a href="#id24"><span class="problematic" id="id25">lump_</span></a>&#8216;, &#8216;coher&#8217;</li>
<li>convection_type  : &#8216;<a href="#id26"><span class="problematic" id="id27">supg_</span></a>&#8216;, &#8216;<a href="#id28"><span class="problematic" id="id29">char_</span></a>&#8216;,&#8217;center&#8217;</li>
<li>physical_type: &#8216;fluid&#8217;, &#8216;solid&#8217;</li>
mozul's avatar
mozul committed
181
182
<li>external_fields : list of string</li>
<li>external_vfields : list of string</li>
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
</ul>
</div></blockquote>
<p>Example</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">Porous_model</span> <span class="o">=</span> <span class="n">model</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&#39;toto_&#39;</span><span class="p">,</span> <span class="nb">type</span><span class="o">=</span><span class="s">&#39;POROx&#39;</span><span class="p">,</span> <span class="n">element</span><span class="o">=</span><span class="s">&#39;Q84xx&#39;</span><span class="p">,</span> <span class="n">dimension</span> <span class="o">=</span> <span class="n">dim</span><span class="p">,</span>
                     <span class="n">external_model</span><span class="o">=</span><span class="s">&#39;no___&#39;</span><span class="p">,</span> <span class="n">kinematic</span><span class="o">=</span><span class="s">&#39;small&#39;</span><span class="p">,</span> <span class="n">material</span><span class="o">=</span><span class="s">&#39;elas_&#39;</span><span class="p">,</span><span class="n">anisotropy</span><span class="o">=</span><span class="s">&#39;iso__&#39;</span><span class="p">,</span>
                     <span class="n">mass_storage</span><span class="o">=</span><span class="s">&#39;coher&#39;</span><span class="p">,</span>  <span class="n">physical_type</span> <span class="o">=</span> <span class="s">&#39;solid&#39;</span><span class="p">,</span> <span class="n">capacity_storage</span><span class="o">=</span><span class="s">&#39;lump_&#39;</span><span class="p">,</span>
                     <span class="n">convection_type</span> <span class="o">=</span> <span class="s">&#39;supg_&#39;</span><span class="p">)</span>
</pre></div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Model definition</a><ul>
<li><a class="reference internal" href="#rigid">Rigid:</a></li>
<li><a class="reference internal" href="#mechanical-mecax">Mechanical (MECAx) :</a></li>
<li><a class="reference internal" href="#thermal-therx">Thermal (THERx) :</a></li>
<li><a class="reference internal" href="#porous-porox">Porous (POROx) :</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="material.html"
                        title="previous chapter">Material definition</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="interaction.html"
mozul's avatar
mozul committed
217
                        title="next chapter">Interaction model and parameters definition</a></p>
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/model.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
mozul's avatar
mozul committed
250
          <a href="interaction.html" title="Interaction model and parameters definition"
251
252
253
254
             >next</a> |</li>
        <li class="right" >
          <a href="material.html" title="Material definition"
             >previous</a> |</li>
mozul's avatar
mozul committed
255
        <li><a href="index.html">pylmgc90.pre 2015.2 documentation</a> &raquo;</li> 
256
257
258
      </ul>
    </div>
    <div class="footer">
mozul's avatar
mozul committed
259
        &copy; Copyright 2015, CNRS.
260
261
262
263
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
    </div>
  </body>
</html>