doc:user:elements:general:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:user:elements:general:start [2013/07/11 17:47] – joris | doc:user:elements:general:start [2013/07/12 15:42] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Introduction ====== | ||
+ | |||
+ | ===== ElementProperties ===== | ||
+ | |||
+ | Les '' | ||
+ | |||
+ | |||
+ | === Remarques === | ||
+ | |||
+ | * Dans [[doc: | ||
+ | * L' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Interaction ===== | ||
+ | |||
+ | |||
+ | Initialement dans Metafor, on appelait “'' | ||
+ | {{ doc: | ||
+ | |||
+ | __Attention: | ||
+ | |||
+ | Le numéro de chaque '' | ||
+ | |||
+ | |||
+ | |||
+ | ===== Lien entre interaction et ElementProperties ===== | ||
+ | |||
+ | En pratique, il faut associer un '' | ||
+ | |||
+ | interactionset(no).addProperty(prp) | ||
+ | |||
+ | qui ajoute à l''' | ||
+ | |||
+ | Dans le jeu de données, la manière la plus " | ||
+ | |||
+ | #1. Definition des proprietes des elements finis volumiques | ||
+ | # | ||
+ | prp1 = ElementProperties (Volume2DElement) | ||
+ | #et definir le type d elements | ||
+ | prp1.put (MATERIAL, 1) #Numero du materiau associe | ||
+ | prp1.put (OMEGA_PT1, 101) # | ||
+ | prp1.put (OMEGA_PT2, 102) # | ||
+ | prp1.put (OMEGA, Omega) | ||
+ | | ||
+ | fct1 = PieceWiseLinearFunction() | ||
+ | fct1.setData(0., | ||
+ | fct1.setData(1., | ||
+ | | ||
+ | prp1.depend (OMEGA, fct1, Field1D(TM, | ||
+ | #(elle depend donc du temps) | ||
+ | prp1.put (STIFFMETHOD, | ||
+ | |||
+ | prp1.put (CAUCHYMECHVOLINTMETH, | ||
+ | #standard (integrer les contraintes deviatoriques et | ||
+ | #pression a chaque point d' | ||
+ | | ||
+ | #2. Generation des elements finis volumiques sur le maillage | ||
+ | # | ||
+ | app = FieldApplicator(1) | ||
+ | app.push(sideset(1)) | ||
+ | app.addProperty(prp1) | ||
+ | interactionset.add(app) | ||
+ | |||
+ | |||
+ | __Attention: | ||
+ | |||
+ | On peut également écrire : | ||
+ | |||
+ | prp = ElementProperties(typeEl) | ||
+ | interactionset(no).addProperty(prp) | ||
+ | prp.put(param1, | ||
+ | prp.depend(param1, | ||
+ | prp.put(param2, | ||
+ | prp.depend(param2, | ||
+ | ... | ||
+ | |||
+ | A ce jour, '' | ||
+ | |||
+ | prp = interactionset(no).addProperty( ElementProperties(typeEl) ) |
doc/user/elements/general/start.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1