Skip to content
Snippets Groups Projects
setupSimple.json 1.41 KiB
Newer Older
  • Learn to ignore specific revisions
  • Amira Abdel-Rahman's avatar
    Amira Abdel-Rahman committed
    {
    	"nodes": [
    	{
    		"id": "n0", 
    		"parent": "11",
    		"degrees_of_freedom":[0,1,2,3,4,5] ,
    		"restrained_degrees_of_freedom":[true,true,true,true,true,true],
    		"position": { "x": 0, "y": 10,"z":0 },
    		"force":{ "x": 0, "y": 0,"z":0 },
    		"displacement": { "x": 0, "y": -0,"z":0 },
    		"angle": { "x": 0, "y": 0,"z":0 }
    	},
    	{
    		"id": "n1", 
    		"parent": "11",
    		"degrees_of_freedom":[6,7,8,9,10,11]  ,
    		"restrained_degrees_of_freedom":[true,true,true,true,true,true],
    		"position": { "x": 0, "y": 0,"z":0  },
    		"force":{ "x": 0, "y": 0,"z":0 },
    		"displacement": { "x": 0, "y": 0,"z":0 },
    		"angle": { "x": 0, "y": 0,"z":0 }
    	},
    	{
    		"id": "n2",
    		"parent": "11",
    		"degrees_of_freedom":[12,13,14,15,16,17]  ,
    		"restrained_degrees_of_freedom":[false,false,false,false,false,false],
    		"position": { "x": 10, "y": 5,"z":0  },
    		"force":{ "x": 0, "y": -200,"z":0 },
    		"displacement": { "x": 0, "y": 0,"z":0 },
    		"angle": { "x": 0, "y": 0,"z":0 }
    	}
    		],
    	"edges": [
    		{ "id": "e0", "source": 0, "target": 2 ,"area":1.0,"density":0.284,"stiffness":30.0e6,"stress":0 },
    		{ "id": "e1", "source": 1, "target": 2 ,"area":2.0,"density":0.284,"stiffness":30.0e6,"stress":0}
    	],
    
    	"ndofs"   : 18,
    
    	"animation" :  {
    	
    		"showDisplacement" : true,
    		"exaggeration" : 10000,
    		"speed":3.0
    		
    	},
    	"viz" :  {
    		"minStress":-500,
    		"maxStress": 500,
    		"colorMaps":["YlGnBu", "winter", "coolwarm","jet"],
    		"colorMap":0
    	},
    	"solve": "solveFea",
    	"bar":false
    }