commit:2014:10_29
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
commit:2014:10_29 [2014/10/29 21:10] – wautelet | commit:2014:10_29 [2014/10/29 21:30] – wautelet | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== Nouvel Interfaçage du Lagrangien Augmenté | ==== Nouvel Interfaçage du Lagrangien Augmenté | ||
- | L' | + | L' |
+ | |||
+ | - Version standard (On effectue un nombre fixe d' | ||
alm = StandardAugmentedLagrangianManager(metafor) | alm = StandardAugmentedLagrangianManager(metafor) | ||
Line 15: | Line 17: | ||
alm.addContactInteraction(ci) | alm.addContactInteraction(ci) | ||
- | Automatique | + | - Version automatique (On effectue un nombre d' |
alm = AutomaticAugmentedLagrangianManager(metafor) | alm = AutomaticAugmentedLagrangianManager(metafor) | ||
alm.setMaxNbOfIterations(parameter[' | alm.setMaxNbOfIterations(parameter[' | ||
| | ||
- | | + | |
- | | + | |
- | | + | |
+ | ci.setAugLagCriterion(augLagCriterion) | ||
| | ||
- | ci.setAugLagCriterion(augLagGeoCriterion) | ||
augLagAugmentation = AugLagClassicalAugmentation(alm) | augLagAugmentation = AugLagClassicalAugmentation(alm) | ||
ci.setAugLagAugmentation(augLagAugmentation) | ci.setAugLagAugmentation(augLagAugmentation) | ||
Line 30: | Line 32: | ||
alm.addContactInteraction(ci) | alm.addContactInteraction(ci) | ||
- | Pour se faire, il faut choisir | + | Pour se faire, il faut associer |
- | + | ||
- | + | ||
- | et mentionné à l' | + | |
+ | if(parameter[' | ||
+ | materset.define (2, AugLagFrictionlessContactMaterial) | ||
+ | materset(2).put(PROF_CONT, | ||
+ | materset(2).put(PEN_NORMALE, | ||
+ | materset(2).put(TYPE_CONT, | ||
+ | print " | ||
+ | elif(parameter[' | ||
+ | materset.define (2, AugLagStickingContactMaterial) | ||
+ | materset(2).put(PROF_CONT, | ||
+ | materset(2).put(PEN_TANGENT, | ||
+ | materset(2).put(PEN_NORMALE, | ||
+ | materset(2).put(TYPE_CONT, | ||
+ | print " | ||
+ | elif(parameter[' | ||
+ | materset.define (2, AugLagCoulombContactMaterial) | ||
+ | materset(2).put(PROF_CONT, | ||
+ | materset(2).put(COEF_FROT_STA, | ||
+ | materset(2).put(COEF_FROT_DYN, | ||
+ | materset(2).put(PEN_TANGENT, | ||
+ | materset(2).put(PEN_NORMALE, | ||
+ | materset(2).put(TYPE_CONT, | ||
+ | print " | ||
+ | else: | ||
+ | print "Bad definition of type contact" | ||
+ | | ||
+ | Étant donné que la configuration/ | ||
<note important> | <note important> | ||
- | L' | + | Il est à noter que l' |
- ALE (Mise à jour du point de collement ?), | - ALE (Mise à jour du point de collement ?), | ||
Line 43: | Line 68: | ||
- en contact 3D, ... | - en contact 3D, ... | ||
</ | </ | ||
+ | |||
+ | D' | ||
==== Ajout d'une fonctionnalité sur l' | ==== Ajout d'une fonctionnalité sur l' | ||
- | La gestion du contact tangentielle se fait au moyen d'une base locale associée à chaque nœud en contact construite à partir du gap tangentielle, de manière à ce que la direction tangentielle soit toujours alignée avec la direction du glissement. Ainsi, par construction, | + | La gestion du contact tangentielle se fait au moyen d'une base locale associée à chaque nœud en contact construite à partir du gap tangentiel, de manière à ce que la direction tangentielle soit toujours alignée avec la direction du glissement. Ainsi, par construction, |
Dans certains cas de figure, afin de comparer avec des résultats de la littérature, | Dans certains cas de figure, afin de comparer avec des résultats de la littérature, | ||
Line 57: | Line 84: | ||
**Cette fonctionnalité ne marche que pour l' | **Cette fonctionnalité ne marche que pour l' | ||
- | |||
- | |||
==== Ajout d'un Timer ==== | ==== Ajout d'un Timer ==== | ||
- | Afin de tenir compte de la fraction du temps CPU passée dans les routines liées à l' | + | Afin de tenir compte de la fraction du temps CPU passée dans les routines liées à l' |
==== Ajout d' | ==== Ajout d' |
commit/2014/10_29.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1