doc:user:elements:general:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:elements:general:start [2013/07/12 15:42] – external edit 127.0.0.1 | doc:user:elements:general:start [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== ElementProperties ===== | ===== ElementProperties ===== | ||
| - | Les '' | + | Metafor |
| - | + | ||
| - | + | ||
| - | === Remarques === | + | |
| - | + | ||
| - | * Dans [[doc: | + | |
| - | * L' | + | |
| + | === Notes === | ||
| + | * In [[doc: | ||
| + | * The use of an '' | ||
| ===== Interaction ===== | ===== Interaction ===== | ||
| + | Initially, in Metafor, “'' | ||
| - | Initialement dans Metafor, on appelait “'' | ||
| {{ doc: | {{ doc: | ||
| - | __Attention:__ | + | __Careful__: |
| + | |||
| + | Two '' | ||
| - | Le numéro de chaque '' | ||
| + | ===== Links between Interaction and ElementProperties ===== | ||
| - | ===== Lien entre interaction et ElementProperties | + | In practice, an '' |
| - | En pratique, il faut associer un '' | + | This association of an '' |
| interactionset(no).addProperty(prp) | interactionset(no).addProperty(prp) | ||
| - | qui ajoute à l''' | + | which adds the '' |
| - | Dans le jeu de données, la manière la plus " | + | In the data set, the best way to write this is a follow |
| - | #1. Definition | + | #1. Definition |
| # | # | ||
| - | prp1 = ElementProperties (Volume2DElement) | + | prp1 = ElementProperties (Volume2DElement) |
| - | #et definir le type d elements | + | #and defines the type of element '' |
| - | prp1.put (MATERIAL, 1) #Numero du materiau associe | + | prp1.put (MATERIAL, 1) #Number of the associated material |
| - | prp1.put (OMEGA_PT1, 101) #Numero du 1er point definissant l axe de rotation | + | prp1.put (OMEGA_PT1, 101) #Number of the first point which defines the rotation |
| - | prp1.put (OMEGA_PT2, 102) #Numero du 2e point definissant l axe de rotation | + | prp1.put (OMEGA_PT2, 102) #Number of the second |
| - | prp1.put (OMEGA, Omega) | + | prp1.put (OMEGA, Omega) |
| | | ||
| - | fct1 = PieceWiseLinearFunction() | + | fct1 = PieceWiseLinearFunction() |
| - | fct1.setData(0., | + | fct1.setData(0., |
| fct1.setData(1., | fct1.setData(1., | ||
| | | ||
| - | prp1.depend (OMEGA, fct1, Field1D(TM, | + | prp1.depend (OMEGA, fct1, Field1D(TM, |
| - | #(elle depend donc du temps) | + | #(and depends on the time) |
| - | prp1.put (STIFFMETHOD, | + | prp1.put (STIFFMETHOD, |
| - | prp1.put (CAUCHYMECHVOLINTMETH, | + | prp1.put (CAUCHYMECHVOLINTMETH, |
| - | #standard (integrer les contraintes deviatoriques et | + | #to standard (integrate deviatoric stresses and |
| - | #pression a chaque | + | #pressure for each integration |
| | | ||
| - | #2. Generation | + | #2. Generation |
| # | # | ||
| - | app = FieldApplicator(1) | + | app = FieldApplicator(1) |
| - | app.push(sideset(1)) | + | app.push(sideset(1)) |
| - | app.addProperty(prp1) | + | app.addProperty(prp1) |
| - | interactionset.add(app) | + | interactionset.add(app) |
| - | __Attention:__ la commande | + | __Careful:__ the command |
| - | On peut également écrire | + | Another way to do this is with the commands: |
| prp = ElementProperties(typeEl) | prp = ElementProperties(typeEl) | ||
| interactionset(no).addProperty(prp) | interactionset(no).addProperty(prp) | ||
| prp.put(param1, | prp.put(param1, | ||
| - | prp.depend(param1, | + | prp.depend(param1, |
| prp.put(param2, | prp.put(param2, | ||
| - | prp.depend(param2, | + | prp.depend(param2, |
| ... | ... | ||
| - | A ce jour, '' | + | However, to this day '' |
| prp = interactionset(no).addProperty( ElementProperties(typeEl) ) | prp = interactionset(no).addProperty( ElementProperties(typeEl) ) | ||
doc/user/elements/general/start.1373636557.txt.gz · Last modified: (external edit)
