===== Commit 2012-02-24 ===== ==== Cas tests écrasement d'aspérités ==== Les jeux de données ci-dessous font appel aux fonctions matlab de post-traitement à la fin de la simulation. Ces fonctions matlab sont placées dans aspCrushing.tools.matlab . Elles permettent de calculer l'aire relative de contact, la rugosité Ra, Rq, la pression moyenne de contact etc. === Cas tests 2D : === [a] aspCrushing.tests.twoD.Asperity2DDefoDefo [a] aspCrushing.tests.twoD.Asperity2DDefoDefoGen4 [a] aspCrushing.tests.twoD.bandeLisseOutilReel [a] aspCrushing.tests.twoD.ecrasementProfilBetrandie [a] aspCrushing.tests.twoD.luTieu [a] aspCrushing.tests.twoD.sutcliffe === Cas test 3D : === [a] aspCrushing.tests.threeD.smoothStripRoughTool ==== Lois matérielles ==== === Loi AutesserreIsoHEp === Ajout d'un paramètre supplémentaire p5 (doc mise à jour) -> modification du jeu de données oo_meta.apps.monosMaterials2.AutesserreIsoHEp qui teste désormais la loi avec ce nouveau paramètre. === Loi de Northon-Hoff === Cette loi permet de modéliser le comportement d'un fluide Newtonien. Elle est testée par les jeux de données suivants : [a] oo_meta.apps.monosMaterials2.NortonHoff : test de la loi de Northo Hoff via la procédure materialTesting de Luc. [a] oo_meta.fluidMaterial.tests.couetteMacro_NH : modélisation de l'écoulement de Couette [a] oo_meta.fluidMaterial.tests.poiseuille_NH : modélisation de l'écoulement de Poiseuille ==== Classe PythonTestCheck ==== Dans mes cas tests d'écrasement d'aspérités, je fait appel aux fonctions matlab de post-traitement en fin de simulation. Cela permet de tester ces fonctions Matlab dans la batterie. Pour pouvoir afficher les résultats, obtenus avec le post-traitment matlab, à côté des autres grandeurs [TSC-EXT] à la fin du fichier res de Metafor, il faut créer un objet Python dans le cas test qui dérivera de PythonTestCheck . Dans mon cas, cet objet python va relire le fichier .log généré par Matlab. ==== Update de la vizu à chaque itération ==== Il est possible mettre à jour la vizu à chaque itération. Pour ce faire, il faut aller dans l'onglet "File" de l'interface graphique de Metafor, cliquer sur "Global Options" et cocher l'onglet "Update Vizu at each iteration". Il faut ensuite fermer Metafor et l'ouvrir à nouveau pour prendre en compte cette modification. ==== CubicSpline : computeBoundingBox ==== Implémentation de la fonction **computeBoundingBox** dans la classe CubicSpline ==== Fichiers Ajoutés ==== [a] D:\DEV\OFFI\oo_meta\apps\monosMaterials2\NortonHoff.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing [a] D:\DEV\OFFI\oo_meta\aspCrushing\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilBertrandie.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilBertrandie.xls application/octet-stream [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilBertrandieBattery.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilLu2008.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilSupDefoDefo.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\profilSutcliffe1988.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\rollProfileBattery.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1 [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\absX.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\plan.txt text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\planLarge.txt text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\rollY.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\sigXX.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\data\stAgatheC1\triangCentre.txt text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matLu.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matSutcliffe.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\loadTrac3D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\lu [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\lu\courbeExpTractionAlu6061.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\lu\loadResLu.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\mainMatLu.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\mainMatSutcliffe.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\sutcliffe [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\material\matlab\sutcliffe\expDataSutcliffe1988_Fig8.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\threeD [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\threeD\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\threeD\matlab [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\threeD\matlab\smoothStripRoughTool.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\threeD\smoothStripRoughTool.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\Asperity2DDefoDefo.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\Asperity2DDefoDefoGen4.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\bandeLisseOutilReel.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\ecrasementProfilBetrandie.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\luTieu.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\luTieu [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\luTieu\expLuTieuFig456Art2008.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainDefoDefo.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainEcrasVsIndent.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainEvolProfil.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainFEMvsLuTieu.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainFEMvsSutcliffe.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\mainMetaforVsAbaqus.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\resultatsArcelor.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\sutcliffe [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\sutcliffe\expSutcliffeFig9Art1988.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\sutcliffe\mainModeleSutcliffe.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\sutcliffe\modeleAnalytiqueSutcliffe.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\matlab\sutcliffe\resModeleSutcliffeArt1988.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\profilBandeLisse.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\profilBandeLisseBattery.ascii text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tests\twoD\sutcliffe.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\arrondi.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\computeArea2D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\computeDefoEng_xx_tot.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\computeMeanPressure2D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\computeRoughness2D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\loadResAsp2D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\loadResAsp2D_defodefo.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\postMatlabAsp2D.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp2D\postMatlabAsp2DDefoDefo.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\computeMeanPressure3D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\loadAsperityCLMetaLub.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\loadAsperityCLMetaLubOld.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\postMatlabAsp3D.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\saveFigMovieAsp3DRigDefo.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\asp3D\saveFigPictureAsp3DRigDefo.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\convSpatialToTemp.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\convTempToSpatial.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\findSubscript.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\getMetaforBC.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\getMetalubBC.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\monoMat [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\monoMat\computeEngStrain.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\monoMat\computeLogPlasStrain.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\monoMat\computeStress.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\monoMat\computeTrueStress.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\plotDim.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\readAspProfil2D.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\saveFigMovieAsp2DRigPlane.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\matlab\saveFigPictureAsp2DRigPlane.m text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python\Profil.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python\ResMetaLub.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python\Vector.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\aspCrushing\tools\python\evolutionFunction.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial [a] D:\DEV\OFFI\oo_meta\fluidMaterial\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\couetteMacro_NH.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\matlab [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\matlab\mainCouette.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\matlab\mainPoiseuille.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\matlab\plotDim.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tests\poiseuille_NH.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\__init__.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\couetteMovie.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\loadCouette2D.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\loadPoiseuille2D.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\plotDim.m text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\postMatlabCouette2D.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\postMatlabPoseuille2D.py text/plain [a] D:\DEV\OFFI\oo_meta\fluidMaterial\tools\matlab\profilMovie.m text/plain [a] D:\DEV\OFFI\oo_meta\mtFEM\PythonTestCheck.cpp [a] D:\DEV\OFFI\oo_meta\mtFEM\PythonTestCheck.h [a] D:\DEV\OFFI\oo_meta\mtMaterials\volumes\NortonHoffHypoGpState.cpp text/plain [a] D:\DEV\OFFI\oo_meta\mtMaterials\volumes\NortonHoffHypoGpState.h text/plain [a] D:\DEV\OFFI\oo_meta\mtMaterials\volumes\NortonHoffHypoMaterial.cpp text/plain [a] D:\DEV\OFFI\oo_meta\mtMaterials\volumes\NortonHoffHypoMaterial.h text/plain