← Back to team overview

yade-dev team mailing list archive

ScGeom6D with facets...

 

Hi,

one guy in our lab wants to use this engine loop (using facets):

O.engines=[
		ForceResetter(),
		InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
		InteractionLoop(
			[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Facet_Sphere_ScGeom6D()],
			[Ip2_CohFrictMat_CohFrictMat_CohFrictPhys()],
			[Law2_ScGeom_CohFrictPhys_CohesionMoment(always_use_moment_law=True)]
		),
		GravityEngine(gravity=(0,gravity,0)),
		TranslationEngine(translationAxis=[0,-1,0],velocity=v_dno,ids=dno_model),
		NewtonIntegrator(damping=damping),
	]

Problem is that Ig2_Facet_Sphere_ScGeom6D does not exist.

By trial and error he found out that plain copying files
Ig2_Facet_Sphere_ScGeom.[hc]pp into Ig2_Facet_Sphere_ScGeom6D.[hc]pp and
global search and replace ScGeom into ScGeom6D fixes the problem.

But I am not convinced. There had to be a reason that
Ig2_Facet_Sphere_ScGeom6D does not exist, is it because of moment
calculation, or something else?

why?

best regards
-- 
Janek Kozicki                               http://janek.kozicki.pl/  |



Follow ups