luchete80 / WeldForm

Weakly-Compressible Smoothed Particle Hydrodynamics Parallel Solver for Elasto Plastic and thermal coupled Solid Mechanics
GNU General Public License v3.0
9 stars 5 forks source link

Cantilever example Output error NOT CLEAR #318

Open luchete80 opened 1 year ago

luchete80 commented 1 year ago

{ "Configuration": { "particleRadius": 0.0075, "hFactor": 1.2, "cflMethod": 1, "cflFactor": 0.4, "autoTS": [false,false,false], "simTime": 0.01, "outTime": 1.0e-4 } , "Materials":[ { "id": "Solid", "type": "Bilinear", "const1": 7.18e8, "const2": 0.22, "density0": 2700.0, "youngsModulus": 68.9E9, "poissonsRatio": 0.3, "yieldStress0": 300.0E6 }],

"DomainBlocks": [{ "type": "Cylinder", "zoneId": 0, "denseMode": 0, "start": [ 0.0, 0.0, -0.028], "dim": [0.3, 0.0, 0.616], "translation": [1.0, 0.0, 0.0], "scale": [1, 1, 1] }],

"DomainZones": [ { "id": 2, "start":[-1.0,-1.0, -0.03], "end": [ 1.0, 1.0, 0.0000] }, { "id": 3, "start":[-1.0,-1.0, 0.56], "end": [ 1.0, 1.0, 1.0000] } ],

"Amplitudes": [ { "id": 1, "valueType": 1, "time": [ 0.0, 0.0, 0.0], "value": [ 0.0, 0.0, 0.0] } ], "BoundaryConditions": [ { "zoneId": 2, "valuetype": "Constant", "value": [ 0.0, 0.0, 0.0], "free": true }, { "zoneId": 3, "valuetype": "Constant", "value": [ 0.0, 0.0, -1.0], "free": true } ]

}

luchete80 commented 1 year ago

output is like this:

D:\Luciano\Numerico\WeldForm-0.4.0>WeldForm.exe Cantilever.json

----------------- WELDFORM ----------------- ----------------- v. 0.4.0 -----------------

Reading Configuration parameters... Time step size: 5e-05 Reading Material.. Type.. Density.. Mat type Bilinear Material Constants, Et: 0 Done. ←[1;31mFatal: [json.exception.type_error.302] type must be string, but is number←[0m