diff --git a/examples/modules/csm/examples/spring/spring.cfg b/examples/modules/csm/examples/spring/spring.cfg index aed2b3ef..fab7e113 100644 --- a/examples/modules/csm/examples/spring/spring.cfg +++ b/examples/modules/csm/examples/spring/spring.cfg @@ -3,7 +3,6 @@ directory=toolboxes/solid/spring/ [solid] json.filename=$cfgdir/spring.json -mesh.filename=girder:{file:5b03dfcbb0e957402704806d} mesh.scale=1e-2 gmsh.partition=1 diff --git a/examples/modules/csm/examples/spring/spring.json b/examples/modules/csm/examples/spring/spring.json index 4399bde8..8aacc7f2 100644 --- a/examples/modules/csm/examples/spring/spring.json +++ b/examples/modules/csm/examples/spring/spring.json @@ -5,7 +5,7 @@ "Metadata": { "version": "1", - "author": [""], + "author": ["vincentchabannes","prudhomm","lberti","jobinhio"], "date": "23/09/2022", "references":[""] }, @@ -13,7 +13,11 @@ { "solid": { - "equations":"Elasticity" // "Elasticity", "Hyper-Elasticity" + "setup": + { + "equations":"Elasticity", // "Elasticity", "Hyper-Elasticity" + "body-forces":"{0,0,-gravity*7850}:gravity" + } } }, "Meshes": @@ -61,13 +65,6 @@ { "markerBottom":{ "expr":"{0,0,-dispImposed}:dispImposed" }, // imposed displacement -> pulled down end of the spring "markerTop":{ "expr":"{0,0,0}" } // imposed displacement (zero) -> fixed end of the spring - }, - "VolumicForces": - { - "lumenVolume": - { - "expr":"{0,0,-gravity*7850}:gravity" - } } } },