HaomingLuo commited on
Commit
757df37
·
verified ·
1 Parent(s): 362ebf1

Pipe Assembly Lab v1.1: validated viscous damping, comparison and project delivery (part 2)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. preview.png +2 -2
  2. provenance.json +4 -2
  3. source/dynamic_batch.cjs +6 -0
  4. source/dynamics.py +38 -0
  5. source/example_dynamic.py +8 -0
  6. source/solver.js +128 -0
  7. source/validate_dynamics.py +74 -0
  8. validation/browser_campaign.json +3 -3
  9. validation/dynamic_validation.json +378 -0
  10. web/data/catalog.json +918 -0
  11. web/data/elbow-d120-t04-r1.5.json +0 -0
  12. web/data/elbow-d120-t04-r2.json +0 -0
  13. web/data/elbow-d120-t04-r3.json +0 -0
  14. web/data/elbow-d120-t06-r1.5.json +0 -0
  15. web/data/elbow-d120-t06-r2.json +0 -0
  16. web/data/elbow-d120-t06-r3.json +0 -0
  17. web/data/elbow-d160-t04-r1.5.json +0 -0
  18. web/data/elbow-d160-t04-r2.json +0 -0
  19. web/data/elbow-d160-t04-r3.json +0 -0
  20. web/data/elbow-d160-t06-r1.5.json +0 -0
  21. web/data/elbow-d160-t06-r2.json +0 -0
  22. web/data/elbow-d160-t06-r3.json +0 -0
  23. web/data/elbow-d200-t04-r1.5.json +0 -0
  24. web/data/elbow-d200-t04-r2.json +0 -0
  25. web/data/elbow-d200-t04-r3.json +0 -0
  26. web/data/elbow-d200-t06-r1.5.json +0 -0
  27. web/data/elbow-d200-t06-r2.json +0 -0
  28. web/data/elbow-d200-t06-r3.json +0 -0
  29. web/data/elbow-d240-t04-r1.5.json +0 -0
  30. web/data/elbow-d240-t04-r2.json +0 -0
  31. web/data/elbow-d240-t04-r3.json +0 -0
  32. web/data/elbow-d240-t06-r1.5.json +0 -0
  33. web/data/elbow-d240-t06-r2.json +0 -0
  34. web/data/elbow-d240-t06-r3.json +0 -0
  35. web/data/straight-d120-t04-r3.json +0 -0
  36. web/data/straight-d120-t04-r5.json +0 -0
  37. web/data/straight-d120-t04-r8.json +0 -0
  38. web/data/straight-d120-t06-r3.json +0 -0
  39. web/data/straight-d120-t06-r5.json +0 -0
  40. web/data/straight-d120-t06-r8.json +0 -0
  41. web/data/straight-d160-t04-r3.json +0 -0
  42. web/data/straight-d160-t04-r5.json +0 -0
  43. web/data/straight-d160-t04-r8.json +0 -0
  44. web/data/straight-d160-t06-r3.json +0 -0
  45. web/data/straight-d160-t06-r5.json +0 -0
  46. web/data/straight-d160-t06-r8.json +0 -0
  47. web/data/straight-d200-t04-r3.json +0 -0
  48. web/data/straight-d200-t04-r5.json +0 -0
  49. web/data/straight-d200-t04-r8.json +0 -0
  50. web/data/straight-d200-t06-r3.json +0 -0
preview.png CHANGED

Git LFS Details

  • SHA256: 3ae714c78111d8b3aedd6a51b56fe2ff0468f2554a56d552463bdc7be97b810c
  • Pointer size: 130 Bytes
  • Size of remote file: 84.2 kB

Git LFS Details

  • SHA256: 5dec817d04a07bdeb07da25d85352c6b834b38e6d61bd9594f83a160913466b2
  • Pointer size: 130 Bytes
  • Size of remote file: 81.9 kB
provenance.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "release": "v1.0.0",
3
  "date": "2026-10-10",
4
  "author": "Haoming Luo",
5
  "agentfem_version": "0.4.0.dev0",
@@ -15,5 +15,7 @@
15
  "assembly_labels": "component ROM, not independent full-solid solves",
16
  "mesh": "Q1 geometry, Q2 displacement; 576 hex elements, 21168 displacement DOFs per component",
17
  "operator_license": "CC-BY-4.0",
18
- "source_license": "Apache-2.0"
 
 
19
  }
 
1
  {
2
+ "release": "v1.1.0",
3
  "date": "2026-10-10",
4
  "author": "Haoming Luo",
5
  "agentfem_version": "0.4.0.dev0",
 
15
  "assembly_labels": "component ROM, not independent full-solid solves",
16
  "mesh": "Q1 geometry, Q2 displacement; 576 hex elements, 21168 displacement DOFs per component",
17
  "operator_license": "CC-BY-4.0",
18
+ "source_license": "Apache-2.0",
19
+ "dynamic_case_count": 49,
20
+ "dynamic_label_source": "component ROM; Newmark; 12 system modes; independent scipy exponential checks"
21
  }
source/dynamic_batch.cjs ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ const fs=require('node:fs'),{solve}=require('../web/solver.js');
2
+ const root=require('node:path').join(__dirname,'..');
3
+ const requests=JSON.parse(fs.readFileSync(process.argv[2],'utf8'));
4
+ const cache={};const output=[];
5
+ for(const row of requests){try{const components=row.component_ids.map(id=>cache[id]||(cache[id]=JSON.parse(fs.readFileSync(root+'/web/data/'+id+'.json','utf8'))));const result=solve({...row,components});output.push({...row,result});}catch(e){console.error(row.id,e.message,e.stack.split('\n').slice(1).join('\n'));process.exit(1);}}
6
+ fs.writeFileSync(process.argv[3],JSON.stringify(output));console.log('Solved dynamic requests:',output.length);
source/dynamics.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Grounded linear viscous damper, independent SciPy time-domain reference.
2
+
3
+ Apache-2.0. Uses the exported solid-component ROM, not a neural network.
4
+ """
5
+ import numpy as np
6
+ from scipy.linalg import expm
7
+ from assembly import solve
8
+
9
+
10
+ def free_decay(chain, rolls=None, supports=None, node=None, axis=2, c=10000.,
11
+ amplitude=.001, mode_count=12, frames=600, duration=None):
12
+ """First-mode release; peak coordinate amplitude in metres, c in N s/m.
13
+
14
+ Zero initial velocity, no background damping or imposed forcing. Motion is
15
+ a linear perturbation about equilibrium; thermal prestress is not included.
16
+ Returns exact-in-time samples for the selected truncated modal equations.
17
+ """
18
+ node=len(chain) if node is None else node
19
+ if axis not in (0,1,2) or not 0<=node<=len(chain) or c<0 or not np.isfinite(c):
20
+ raise ValueError('Invalid grounded damper')
21
+ if not 0<amplitude<=.01 or mode_count<1 or frames<1:raise ValueError('Invalid release settings')
22
+ r=solve(chain,rolls=rolls,supports=supports,nmodes=mode_count)
23
+ w=2*np.pi*r['frequency'];n=len(w)
24
+ locations=[(abs(m[j,k,0]),a,j,k) for a,m in enumerate(r['mode_displacements']) for j in range(len(m)) for k in range(3)]
25
+ _,a,j,k=max(locations);probe=r['mode_displacements'][a][j,k]
26
+ z=np.zeros(n);z[0]=amplitude/probe[0]
27
+ b=r['modes'][node*6+axis];C=c*np.outer(b,b)
28
+ A=np.block([[np.zeros((n,n)),np.eye(n)],[-np.diag(w*w),-C]])
29
+ T=6/r['frequency'][0] if duration is None else duration
30
+ if T<=0:raise ValueError('Invalid duration')
31
+ time=np.linspace(0,T,frames+1);P=expm(A*T/frames);state=np.r_[z,np.zeros(n)];states=[]
32
+ for _ in time:states.append(state.copy());state=P@state
33
+ states=np.array(states);q,v=states[:,:n],states[:,n:]
34
+ energy=.5*np.sum(v*v+(q*w)**2,axis=1)
35
+ return dict(time=time,signal=q@probe,reference=amplitude*np.cos(w[0]*time),
36
+ force=-c*(v@b),energy=energy,coordinates=q,velocities=v,
37
+ probe=dict(component=a,sample=j,axis=k),frequency=r['frequency'],
38
+ method='scipy matrix exponential of the modal state-space system')
source/example_dynamic.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ """Run after downloading the AgentFEM-Pipe-ROM repository. Apache-2.0."""
2
+ from pipe_rom import component
3
+ from dynamics import free_decay
4
+
5
+ chain=[component('straight-d200-t06-r5'),component('elbow-d200-t06-r2'),component('straight-d200-t06-r5')]
6
+ r=free_decay(chain,node=3,axis=2,c=1000.)
7
+ print('Peak sampled damper force / N:',abs(r['force']).max())
8
+ print('Energy remaining after six first-mode periods:',r['energy'][-1]/r['energy'][0])
source/solver.js ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Apache-2.0. Reference browser assembler for solid-derived component ROMs. */
2
+ (function(root){
3
+ const lib=typeof require==='function'?require('./vendor/matrix.umd.js'):root.mlMatrix;
4
+ const {Matrix,CholeskyDecomposition,EigenvalueDecomposition}=lib;
5
+ const zeros=(n,m=n)=>Array.from({length:n},()=>Array(m).fill(0));
6
+ const eye=n=>zeros(n).map((r,i)=>(r[i]=1,r));
7
+ const tr=A=>A[0].map((_,j)=>A.map(r=>r[j]));
8
+ const mul=(A,B)=>{let C=zeros(A.length,B[0].length);for(let i=0;i<A.length;i++)for(let k=0;k<B.length;k++){let v=A[i][k];if(v!==0)for(let j=0;j<B[0].length;j++)C[i][j]+=v*B[k][j];}return C;};
9
+ const mv=(A,v)=>A.map(r=>r.reduce((s,x,j)=>s+x*v[j],0));
10
+ const add=(a,b)=>a.map((v,i)=>v+b[i]);
11
+ const rx=a=>[[1,0,0],[0,Math.cos(a),-Math.sin(a)],[0,Math.sin(a),Math.cos(a)]];
12
+ const rz=a=>[[Math.cos(a),-Math.sin(a),0],[Math.sin(a),Math.cos(a),0],[0,0,1]];
13
+ const block=(R,n)=>{const D=zeros(3*n);for(let k=0;k<n;k++)for(let i=0;i<3;i++)for(let j=0;j<3;j++)D[3*k+i][3*k+j]=R[i][j];return D;};
14
+ const sub=(A,ix)=>ix.map(i=>ix.map(j=>A[i][j]));
15
+ const sym=A=>A.map((r,i)=>r.map((v,j)=>(v+A[j][i])/2));
16
+ const norm=v=>Math.hypot(...v);
17
+ function linear(K,F){
18
+ const d=K.map((r,i)=>1/Math.sqrt(Math.max(r[i],1e-30)));
19
+ const A=new Matrix(sym(K.map((r,i)=>r.map((v,j)=>v*d[i]*d[j]))));
20
+ const c=new CholeskyDecomposition(A);
21
+ if(!c.isPositiveDefinite())throw Error('UNRESTRAINED');
22
+ const q=c.solve(Matrix.columnVector(F.map((v,i)=>v*d[i]))).to1DArray();
23
+ return q.map((v,i)=>v*d[i]);
24
+ }
25
+ function modes(K,M,count=3){
26
+ // Scale mixed physical/normal coordinates before whitening the mass.
27
+ let d=M.map((r,i)=>1/Math.sqrt(r[i]));
28
+ const ms=M.map((r,i)=>r.map((v,j)=>v*d[i]*d[j]));
29
+ const ks=K.map((r,i)=>r.map((v,j)=>v*d[i]*d[j]));
30
+ const C=new CholeskyDecomposition(new Matrix(sym(ms)));
31
+ if(!C.isPositiveDefinite())throw Error('MASS');
32
+ const L=C.lowerTriangularMatrix.to2DArray(),n=L.length,inv=zeros(n);
33
+ for(let j=0;j<n;j++)for(let i=0;i<n;i++){let v=i===j?1:0;for(let k=0;k<i;k++)v-=L[i][k]*inv[k][j];inv[i][j]=v/L[i][i];}
34
+ const A=sym(mul(mul(inv,ks),tr(inv)));
35
+ const e=new EigenvalueDecomposition(new Matrix(A),{assumeSymmetric:true});
36
+ const vals=e.realEigenvalues,vectors=e.eigenvectorMatrix.to2DArray();
37
+ let order=vals.map((v,i)=>i).sort((a,b)=>vals[a]-vals[b]);
38
+ if(vals[order[0]]<=0)throw Error('UNRESTRAINED');
39
+ order=order.slice(0,count);
40
+ const V=mul(tr(inv),vectors.map(r=>order.map(j=>r[j]))).map((r,i)=>r.map(v=>v*d[i]));
41
+ return {frequency:order.map(j=>Math.sqrt(vals[j])/(2*Math.PI)),vectors:V};
42
+ }
43
+ function solve(request){
44
+ const start=typeof performance==='undefined'?Date.now():performance.now();
45
+ const {components,rolls=[],supports=[],deltaT=100,gravity=[0,0,-9.81]}=request;
46
+ const n=components.length,nq=6*(n+1),nm=components.map(c=>c.Kr.length-12),nc=nq+nm.reduce((a,b)=>a+b,0);
47
+ let K=zeros(nq),KC=zeros(nc),MC=zeros(nc),F=Array(nq).fill(0),places=[],origin=[0,0,0],R=eye(3),offset=nq;
48
+ const accumulate=(A,B,ix)=>{for(let i=0;i<ix.length;i++)for(let j=0;j<ix.length;j++)A[ix[i]][ix[j]]+=B[i][j];};
49
+ for(let a=0;a<n;a++){
50
+ let c=components[a];R=mul(R,rx(rolls[a]||0));let D=block(tr(R),4),ix=Array.from({length:12},(_,j)=>6*a+j);
51
+ accumulate(K,mul(mul(tr(D),c.S),D),ix);
52
+ const fg=mv(c.g,mv(tr(R),gravity)),fl=mv(tr(D),fg.map((v,j)=>v+c.fT[j]*deltaT));
53
+ ix.forEach((id,j)=>F[id]+=fl[j]);
54
+ let Dc=eye(12+nm[a]);for(let i=0;i<12;i++)for(let j=0;j<12;j++)Dc[i][j]=D[i][j];
55
+ let ic=ix.concat(Array.from({length:nm[a]},(_,j)=>offset+j));
56
+ accumulate(KC,mul(mul(tr(Dc),c.Kr),Dc),ic);accumulate(MC,mul(mul(tr(Dc),c.Mr),Dc),ic);
57
+ places.push({origin:[...origin],rotation:R.map(r=>[...r]),D,Dc,ix,ic});
58
+ origin=add(origin,mv(R,c.ports[1]));if(c.spec.kind==='elbow')R=mul(R,rz(Math.PI/2));offset+=nm[a];
59
+ }
60
+ const fixed=new Set();let spring=Array(nq).fill(0);
61
+ supports.forEach(s=>{(s.fixed||[]).forEach(j=>fixed.add(6*s.node+j));(s.spring||[]).forEach((v,j)=>{let i=6*s.node+j;K[i][i]+=v;KC[i][i]+=v;spring[i]+=v;});});
62
+ let free=Array.from({length:nq},(_,i)=>i).filter(i=>!fixed.has(i)),q=Array(nq).fill(0);
63
+ const sol=linear(sym(sub(K,free)),free.map(i=>F[i]));free.forEach((v,i)=>q[v]=sol[i]);
64
+ let reaction=mv(K,q).map((v,i)=>v-F[i]);
65
+ let residual=norm(free.map(i=>reaction[i]))/Math.max(1,norm(F));
66
+ const fC=Array.from({length:nc},(_,i)=>i).filter(i=>!fixed.has(i));
67
+ const count=request.dynamic?Math.min(request.dynamic.modeCount||12,fC.length):3;
68
+ const eig=modes(sub(KC,fC),sub(MC,fC),count),V=zeros(nc,count);fC.forEach((v,i)=>V[v]=eig.vectors[i]);
69
+ let paths=[],displacements=[],modeDisplacements=[],nodes=[],mass=0;
70
+ for(let a=0;a<n;a++){
71
+ const c=components[a],p=places[a],local=mv(p.D,p.ix.map(j=>q[j])),gg=mv(tr(p.rotation),gravity),lm=mul(p.Dc,p.ic.map(j=>V[j]));
72
+ paths.push(c.path.map(x=>add(p.origin,mv(p.rotation,x))));nodes.push(paths[a][0]);
73
+ displacements.push(c.path.map((_,j)=>mv(p.rotation,add(add(mv(c.recovery[j],local),c.thermal_recovery[j].map(v=>v*deltaT)),mv(c.gravity_recovery[j],gg)))));
74
+ modeDisplacements.push(c.path.map((_,j)=>mul(p.rotation,mul(c.recovery[j].map((r,k)=>r.concat(c.mode_recovery[j][k])),lm))));
75
+ mass+=c.metrics.mass_kg;
76
+ }
77
+ nodes.push(paths[n-1].at(-1));
78
+ let maxDisplacement=0,maxLocation={component:0,sample:0,position:paths[0][0]};
79
+ displacements.forEach((p,a)=>p.forEach((u,j)=>{if(norm(u)>maxDisplacement){maxDisplacement=norm(u);maxLocation={component:a,sample:j,position:paths[a][j]};}}));
80
+ let supportForces=supports.map(s=>Array.from({length:3},(_,j)=>fixed.has(6*s.node+j)?reaction[6*s.node+j]:-spring[6*s.node+j]*q[6*s.node+j]));
81
+ if(!Number.isFinite(maxDisplacement)||residual>1e-6)throw Error('RESIDUAL');
82
+ let dynamics=null;
83
+ if(request.dynamic){
84
+ const d=request.dynamic,node=d.node??n,axis=d.axis??2,c=d.c??10000;
85
+ if(!Number.isInteger(node)||node<0||node>n||![0,1,2].includes(axis)||!Number.isFinite(c)||c<0)throw Error('DAMPER');
86
+ let peak=0,probe=null;
87
+ modeDisplacements.forEach((path,a)=>path.forEach((m,j)=>m.forEach((r,k)=>{if(Math.abs(r[0])>peak){peak=Math.abs(r[0]);probe={component:a,sample:j,axis:k};}})));
88
+ const amplitude=d.amplitude??.001;
89
+ if(!(amplitude>0&&amplitude<=.01))throw Error('AMPLITUDE');
90
+ const z0=Array(count).fill(0);z0[0]=amplitude/modeDisplacements[probe.component][probe.sample][probe.axis][0];
91
+ const b=V[node*6+axis],C=b.map(x=>b.map(y=>c*x*y)),omega=eig.frequency.map(f=>2*Math.PI*f);
92
+ dynamics=decay(omega,C,z0,d.duration??6/eig.frequency[0],d.stepFactor||1);
93
+ const probeVector=modeDisplacements[probe.component][probe.sample][probe.axis];
94
+ dynamics.signal=dynamics.coordinates.map(z=>z.reduce((s,v,i)=>s+v*probeVector[i],0));
95
+ dynamics.reference=dynamics.time.map(t=>z0[0]*probeVector[0]*Math.cos(omega[0]*t));
96
+ dynamics.force=dynamics.velocities.map(v=>-c*v.reduce((s,x,i)=>s+x*b[i],0));
97
+ dynamics.peakForce=Math.max(...dynamics.force.map(Math.abs));
98
+ Object.assign(dynamics,{node,axis,c,probe,amplitude,modeCount:count,frequency:eig.frequency,blocked:fixed.has(node*6+axis)});
99
+ delete dynamics.velocities;
100
+ }
101
+ return {q,reaction,paths,nodes,displacements,modeDisplacements,frequency:eig.frequency.slice(0,3),mass,maxDisplacement,maxLocation,supportForces,supportNodes:supports.map(s=>s.node),residual,dynamics,
102
+ elapsedMs:(typeof performance==='undefined'?Date.now():performance.now())-start};
103
+ }
104
+ // Average-acceleration Newmark, mass-normalized modal coordinates.
105
+ // Physical non-proportional damping C=c*b*b^T is kept in full.
106
+ function decay(omega,C,z0,duration,stepFactor=1){
107
+ const n=omega.length,frames=600,stride=Math.ceil(Math.max(2400,80*Math.max(...omega)/(2*Math.PI)*duration)*stepFactor/frames),steps=stride*frames;
108
+ if(steps>240000||!(duration>0)||!Number.isFinite(duration))throw Error('DYNAMIC_RANGE');
109
+ const h=duration/steps,w2=omega.map(w=>w*w),H=C.map((r,i)=>r.map((v,j)=>h*.5*v+(i===j?1+h*h*.25*w2[i]:0)));
110
+ const factor=new CholeskyDecomposition(new Matrix(sym(H))).lowerTriangularMatrix.to2DArray();
111
+ const solveH=rhs=>{const y=Array(n),x=Array(n);for(let i=0;i<n;i++){let s=rhs[i];for(let j=0;j<i;j++)s-=factor[i][j]*y[j];y[i]=s/factor[i][i];}for(let i=n-1;i>=0;i--){let s=y[i];for(let j=i+1;j<n;j++)s-=factor[j][i]*x[j];x[i]=s/factor[i][i];}return x;};
112
+ let z=[...z0],v=Array(n).fill(0),a=z.map((x,i)=>-w2[i]*x),diss=0,peakEnergyRise=0;
113
+ const energy=()=>z.reduce((s,x,i)=>s+.5*(v[i]*v[i]+w2[i]*x*x),0),E0=energy();
114
+ const time=[],coordinates=[],velocities=[],energies=[],dissipated=[];
115
+ const record=t=>{time.push(t);coordinates.push([...z]);velocities.push([...v]);energies.push(energy());dissipated.push(diss);};record(0);
116
+ for(let step=1;step<=steps;step++){
117
+ const zp=z.map((x,i)=>x+h*v[i]+h*h*.25*a[i]),vp=v.map((x,i)=>x+h*.5*a[i]);
118
+ const an=solveH(mv(C,vp).map((x,i)=>-x-w2[i]*zp[i]));
119
+ const vn=vp.map((x,i)=>x+h*.5*an[i]),mid=v.map((x,i)=>(x+vn[i])*.5),prior=energy();
120
+ const cmid=mv(C,mid);diss+=h*mid.reduce((s,x,i)=>s+x*cmid[i],0);
121
+ z=zp.map((x,i)=>x+h*h*.25*an[i]);v=vn;a=an;
122
+ peakEnergyRise=Math.max(peakEnergyRise,(energy()-prior)/Math.max(E0,1e-30));
123
+ if(step%stride===0)record(step*h);
124
+ }
125
+ return {time,coordinates,velocities,energy:energies,dissipated,dt:h,initialEnergy:E0,energyBalanceRelative:Math.abs(energy()+diss-E0)/Math.max(E0,1e-30),peakEnergyRise};
126
+ }
127
+ if(typeof module!=='undefined')module.exports={solve,decay};else root.PipeSolver={solve,decay};
128
+ })(typeof globalThis==='undefined'?self:globalThis);
source/validate_dynamics.py ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Independent scipy matrix-exponential checks and reproducible dynamic labels.
2
+
3
+ Labels are assembled ROM simulations, not new independent full-solid FE solves.
4
+ """
5
+ import json,subprocess,os,shutil
6
+ from pathlib import Path
7
+ import numpy as np
8
+ from scipy.linalg import expm
9
+ from assembly import solve
10
+
11
+ ROOT=Path(__file__).resolve().parents[1]
12
+ (ROOT/'reports').mkdir(exist_ok=True)
13
+ NODE=os.environ.get('PIPE_NODE') or shutil.which('node')
14
+ if not NODE:raise RuntimeError('Install Node.js or set PIPE_NODE to the Node executable')
15
+ catalog=json.loads((ROOT/'web/data/catalog.json').read_text())['components']
16
+ def component(kind,ratio):
17
+ return next(e['id'] for e in catalog if e['kind']==kind and np.isclose(e['diameter'],.2) and np.isclose(e['thickness'],.012) and np.isclose(e['length' if kind=='straight' else 'radius']/.2,ratio))
18
+ S,E=component('straight',5),component('elbow',2)
19
+ requests=[]
20
+ for shape in ['L','U','spatial']:
21
+ ids=[S,E,S] if shape=='L' else [S,E,S,E,S]
22
+ rolls=[0]*len(ids)
23
+ if shape=='spatial':rolls[3]=np.pi/2
24
+ for end_support in ['free','spring']:
25
+ supports=[{'node':0,'fixed':list(range(6))}]
26
+ if end_support=='spring':supports.append({'node':len(ids),'spring':[0,0,100000,0,0,0]})
27
+ for axis in [1,2]:
28
+ for c in [0,1000,10000,100000]:
29
+ requests.append(dict(id=f'{shape}_{end_support}_{axis}_{c}',component_ids=ids,rolls=rolls,supports=supports,deltaT=100,gravity=[0,0,-9.81],dynamic=dict(node=len(ids),axis=axis,c=c)))
30
+ # Blocked damper must not create artificial damping.
31
+ requests.append(dict(id='blocked',component_ids=[S,E,S],rolls=[0]*3,supports=[{'node':0,'fixed':list(range(6))},{'node':3,'fixed':[2]}],dynamic=dict(node=3,axis=2,c=100000)))
32
+ request_path=ROOT/'reports/dynamic_requests.json';output_path=ROOT/'reports/dynamic_browser_raw.json'
33
+ request_path.write_text(json.dumps(requests));subprocess.run([NODE,str(ROOT/'src/dynamic_batch.cjs'),str(request_path),str(output_path)],check=True)
34
+ data=json.loads(output_path.read_text());checks=[];rows=[]
35
+ cache={}
36
+ def get(id):
37
+ if id not in cache:
38
+ c=json.loads((ROOT/'web/data'/f'{id}.json').read_text())
39
+ cache[id]={k:np.asarray(v) if isinstance(v,list) else v for k,v in c.items()}
40
+ return cache[id]
41
+ for row in data:
42
+ chain=[get(id) for id in row['component_ids']];result=row['result'];d=result['dynamics'];n=d['modeCount']
43
+ py=solve(chain,row['rolls'],supports=row['supports'],nmodes=n)
44
+ w=py['frequency']*2*np.pi;p=d['probe'];probe=py['mode_displacements'][p['component']][p['sample'],p['axis']]
45
+ z0=np.zeros(n);z0[0]=.001/probe[0]
46
+ b=py['modes'][d['node']*6+d['axis']];C=d['c']*np.outer(b,b)
47
+ A=np.block([[np.zeros((n,n)),np.eye(n)],[-np.diag(w*w),-C]])
48
+ propagator=expm(A*(d['time'][1]-d['time'][0]));state=np.r_[z0,np.zeros(n)];signals=[];forces=[]
49
+ for _ in d['time']:
50
+ signals.append(float(probe@state[:n]));forces.append(float(-d['c']*b@state[n:]));state=propagator@state
51
+ error=float(np.max(np.abs(np.asarray(signals)-d['signal']))/.001)
52
+ force_error=float(np.max(np.abs(np.asarray(forces)-d['force']))/max(1,np.max(np.abs(forces))))
53
+ checks.append(dict(id=row['id'],signal_error_relative_to_initial_peak=error,force_relative_error=force_error,energy_balance_relative=d['energyBalanceRelative'],peak_energy_rise=d['peakEnergyRise']))
54
+ assert error<.005,(row['id'],error)
55
+ assert force_error<.02,(row['id'],force_error)
56
+ assert d['energyBalanceRelative']<1e-7 and d['peakEnergyRise']<1e-9
57
+ if not d['c'] or d['blocked']:assert abs(d['energy'][-1]/d['initialEnergy']-1)<1e-7
58
+ rows.append({k:v for k,v in row.items() if k!='result'}|{'label_source':'assembled_component_ROM_Newmark','initial_condition':'first_undamped_mode_peak_1mm_zero_velocity','modal_basis_count':n,'probe':p,'time_s':d['time'],'displacement_with_damper_m':d['signal'],'displacement_without_damper_m':d['reference'],'damper_force_N':d['force'],'energy_J':d['energy'],'dissipated_energy_J':d['dissipated'],'dt_s':d['dt'],'first_three_frequencies_Hz':result['frequency']})
59
+ out=ROOT/'data/dynamics';out.mkdir(exist_ok=True,parents=True)
60
+ (out/'release_cases.jsonl').write_text(''.join(json.dumps(r)+'\n' for r in rows))
61
+ # Modal retention: identical first-mode initial condition, 12 versus 24 modes.
62
+ extra=[]
63
+ for r in requests:
64
+ if r['dynamic']['c']==100000 and r['dynamic']['axis']==2 and r['id']!='blocked':
65
+ extra.append({**r,'dynamic':{**r['dynamic'],'modeCount':24}})
66
+ request_path.write_text(json.dumps(extra));subprocess.run([NODE,str(ROOT/'src/dynamic_batch.cjs'),str(request_path),str(ROOT/'reports/dynamic_retention_raw.json')],check=True)
67
+ retention=[]
68
+ for r in json.loads((ROOT/'reports/dynamic_retention_raw.json').read_text()):
69
+ ref=next(x for x in data if x['id']==r['id'])['result']['dynamics'];d=r['result']['dynamics']
70
+ e=float(np.max(np.abs(np.array(ref['signal'])-d['signal']))/.001)
71
+ assert e<.005,(r['id'],'retention',e)
72
+ retention.append({'id':r['id'],'12_vs_24_signal_error_relative_to_initial_peak':e})
73
+ report={'passed':True,'cases':len(rows),'method':'Independent scipy matrix exponential on the same reduced equations; not an independent physical validation','max_signal_error_relative_to_initial_peak':max(c['signal_error_relative_to_initial_peak'] for c in checks),'max_force_relative_error':max(c['force_relative_error'] for c in checks),'checks':checks,'retention':retention}
74
+ (ROOT/'reports/dynamic_validation.json').write_text(json.dumps(report,indent=2));print(json.dumps({k:v for k,v in report.items() if k not in ['checks']},indent=2))
validation/browser_campaign.json CHANGED
@@ -3,9 +3,9 @@
3
  "frequency_max_relative_error": 4.0030556647252524e-9,
4
  "displacement_max_relative_error": 5.4328322361818744e-12,
5
  "max_equilibrium_residual": 3.836413839125876e-12,
6
- "median_ms": 4.7580840000000535,
7
- "p95_ms": 5.3336250000000405,
8
- "max_ms": 17.186542000000003,
9
  "runtime": "v24.19.0",
10
  "platform": "darwin",
11
  "passed": true
 
3
  "frequency_max_relative_error": 4.0030556647252524e-9,
4
  "displacement_max_relative_error": 5.4328322361818744e-12,
5
  "max_equilibrium_residual": 3.836413839125876e-12,
6
+ "median_ms": 4.564959000000044,
7
+ "p95_ms": 5.02062500000001,
8
+ "max_ms": 13.200375000000001,
9
  "runtime": "v24.19.0",
10
  "platform": "darwin",
11
  "passed": true
validation/dynamic_validation.json ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "passed": true,
3
+ "cases": 49,
4
+ "method": "Independent scipy matrix exponential on the same reduced equations; not an independent physical validation",
5
+ "max_signal_error_relative_to_initial_peak": 1.1610527333052563e-05,
6
+ "max_force_relative_error": 0.00019789783070976085,
7
+ "checks": [
8
+ {
9
+ "id": "L_free_1_0",
10
+ "signal_error_relative_to_initial_peak": 1.0915644489873902e-05,
11
+ "force_relative_error": 0.0,
12
+ "energy_balance_relative": 4.854968269317454e-15,
13
+ "peak_energy_rise": 6.068710336646818e-16
14
+ },
15
+ {
16
+ "id": "L_free_1_1000",
17
+ "signal_error_relative_to_initial_peak": 1.0915644489875328e-05,
18
+ "force_relative_error": 2.2741391638886268e-08,
19
+ "energy_balance_relative": 4.854968269317454e-15,
20
+ "peak_energy_rise": 6.068710336646818e-16
21
+ },
22
+ {
23
+ "id": "L_free_1_10000",
24
+ "signal_error_relative_to_initial_peak": 1.0915644495599667e-05,
25
+ "force_relative_error": 1.824608487356064e-07,
26
+ "energy_balance_relative": 4.854968269317454e-15,
27
+ "peak_energy_rise": 6.068710336646818e-16
28
+ },
29
+ {
30
+ "id": "L_free_1_100000",
31
+ "signal_error_relative_to_initial_peak": 1.0915644495598521e-05,
32
+ "force_relative_error": 6.605146176283763e-07,
33
+ "energy_balance_relative": 4.854968269317454e-15,
34
+ "peak_energy_rise": 6.068710336646818e-16
35
+ },
36
+ {
37
+ "id": "L_free_2_0",
38
+ "signal_error_relative_to_initial_peak": 1.0915644489873902e-05,
39
+ "force_relative_error": 0.0,
40
+ "energy_balance_relative": 4.854968269317454e-15,
41
+ "peak_energy_rise": 6.068710336646818e-16
42
+ },
43
+ {
44
+ "id": "L_free_2_1000",
45
+ "signal_error_relative_to_initial_peak": 1.556292575042586e-06,
46
+ "force_relative_error": 2.255439325621047e-05,
47
+ "energy_balance_relative": 8.091613782195756e-16,
48
+ "peak_energy_rise": 0
49
+ },
50
+ {
51
+ "id": "L_free_2_10000",
52
+ "signal_error_relative_to_initial_peak": 8.643481107717052e-07,
53
+ "force_relative_error": 3.999465686234613e-05,
54
+ "energy_balance_relative": 5.259548958427242e-15,
55
+ "peak_energy_rise": 0
56
+ },
57
+ {
58
+ "id": "L_free_2_100000",
59
+ "signal_error_relative_to_initial_peak": 5.591521643486322e-07,
60
+ "force_relative_error": 0.00017830341545230528,
61
+ "energy_balance_relative": 2.589316410302642e-14,
62
+ "peak_energy_rise": 0
63
+ },
64
+ {
65
+ "id": "L_spring_1_0",
66
+ "signal_error_relative_to_initial_peak": 1.1610527333051765e-05,
67
+ "force_relative_error": 0.0,
68
+ "energy_balance_relative": 3.1643493445815464e-14,
69
+ "peak_energy_rise": 6.266038306102072e-16
70
+ },
71
+ {
72
+ "id": "L_spring_1_1000",
73
+ "signal_error_relative_to_initial_peak": 6.771901864874969e-06,
74
+ "force_relative_error": 1.335884285641237e-05,
75
+ "energy_balance_relative": 1.0338963205068419e-14,
76
+ "peak_energy_rise": 0
77
+ },
78
+ {
79
+ "id": "L_spring_1_10000",
80
+ "signal_error_relative_to_initial_peak": 1.4042469540691618e-06,
81
+ "force_relative_error": 1.9232406266318663e-05,
82
+ "energy_balance_relative": 1.2532076612204145e-15,
83
+ "peak_energy_rise": 0
84
+ },
85
+ {
86
+ "id": "L_spring_1_100000",
87
+ "signal_error_relative_to_initial_peak": 2.553945677574156e-06,
88
+ "force_relative_error": 4.6288585214396583e-05,
89
+ "energy_balance_relative": 9.399057459153108e-15,
90
+ "peak_energy_rise": 0
91
+ },
92
+ {
93
+ "id": "L_spring_2_0",
94
+ "signal_error_relative_to_initial_peak": 1.1610527333051765e-05,
95
+ "force_relative_error": 0.0,
96
+ "energy_balance_relative": 3.1643493445815464e-14,
97
+ "peak_energy_rise": 6.266038306102072e-16
98
+ },
99
+ {
100
+ "id": "L_spring_2_1000",
101
+ "signal_error_relative_to_initial_peak": 1.1610527333052563e-05,
102
+ "force_relative_error": 2.8991760950497203e-08,
103
+ "energy_balance_relative": 3.1643493445815464e-14,
104
+ "peak_energy_rise": 6.266038306102072e-16
105
+ },
106
+ {
107
+ "id": "L_spring_2_10000",
108
+ "signal_error_relative_to_initial_peak": 1.1610527329015251e-05,
109
+ "force_relative_error": 1.3691946530891514e-07,
110
+ "energy_balance_relative": 3.1643493445815464e-14,
111
+ "peak_energy_rise": 6.266038306102072e-16
112
+ },
113
+ {
114
+ "id": "L_spring_2_100000",
115
+ "signal_error_relative_to_initial_peak": 1.1610527325794549e-05,
116
+ "force_relative_error": 2.3057773422642787e-07,
117
+ "energy_balance_relative": 3.1643493445815464e-14,
118
+ "peak_energy_rise": 6.266038306102072e-16
119
+ },
120
+ {
121
+ "id": "U_free_1_0",
122
+ "signal_error_relative_to_initial_peak": 9.710180153983677e-06,
123
+ "force_relative_error": 0.0,
124
+ "energy_balance_relative": 8.211419512281099e-15,
125
+ "peak_energy_rise": 6.158564634210824e-16
126
+ },
127
+ {
128
+ "id": "U_free_1_1000",
129
+ "signal_error_relative_to_initial_peak": 3.378860266028288e-06,
130
+ "force_relative_error": 1.9798748940387496e-05,
131
+ "energy_balance_relative": 2.258140365877302e-15,
132
+ "peak_energy_rise": 0
133
+ },
134
+ {
135
+ "id": "U_free_1_10000",
136
+ "signal_error_relative_to_initial_peak": 7.275700915224462e-07,
137
+ "force_relative_error": 2.9812741855688515e-05,
138
+ "energy_balance_relative": 6.979706585438934e-15,
139
+ "peak_energy_rise": 0
140
+ },
141
+ {
142
+ "id": "U_free_1_100000",
143
+ "signal_error_relative_to_initial_peak": 4.4221485751791976e-06,
144
+ "force_relative_error": 7.767590367624227e-05,
145
+ "energy_balance_relative": 2.2170832683158965e-14,
146
+ "peak_energy_rise": 0
147
+ },
148
+ {
149
+ "id": "U_free_2_0",
150
+ "signal_error_relative_to_initial_peak": 9.710180153983677e-06,
151
+ "force_relative_error": 0.0,
152
+ "energy_balance_relative": 8.211419512281099e-15,
153
+ "peak_energy_rise": 6.158564634210824e-16
154
+ },
155
+ {
156
+ "id": "U_free_2_1000",
157
+ "signal_error_relative_to_initial_peak": 9.710180152267834e-06,
158
+ "force_relative_error": 1.8882223434652856e-07,
159
+ "energy_balance_relative": 1.3138271219649759e-14,
160
+ "peak_energy_rise": 6.158564634210824e-16
161
+ },
162
+ {
163
+ "id": "U_free_2_10000",
164
+ "signal_error_relative_to_initial_peak": 9.710180149492285e-06,
165
+ "force_relative_error": 8.79167976097224e-07,
166
+ "energy_balance_relative": 1.2317129268421649e-15,
167
+ "peak_energy_rise": 6.158564634210824e-16
168
+ },
169
+ {
170
+ "id": "U_free_2_100000",
171
+ "signal_error_relative_to_initial_peak": 9.710180161486929e-06,
172
+ "force_relative_error": 1.341816801068513e-06,
173
+ "energy_balance_relative": 1.0674845365965428e-14,
174
+ "peak_energy_rise": 6.158564634210824e-16
175
+ },
176
+ {
177
+ "id": "U_spring_1_0",
178
+ "signal_error_relative_to_initial_peak": 9.711949540409417e-06,
179
+ "force_relative_error": 0.0,
180
+ "energy_balance_relative": 1.5601697071841356e-14,
181
+ "peak_energy_rise": 6.158564633621588e-16
182
+ },
183
+ {
184
+ "id": "U_spring_1_1000",
185
+ "signal_error_relative_to_initial_peak": 3.379462151218332e-06,
186
+ "force_relative_error": 1.979911294282146e-05,
187
+ "energy_balance_relative": 8.416704999282836e-15,
188
+ "peak_energy_rise": 0
189
+ },
190
+ {
191
+ "id": "U_spring_1_10000",
192
+ "signal_error_relative_to_initial_peak": 7.275894193235245e-07,
193
+ "force_relative_error": 2.9812761018873693e-05,
194
+ "energy_balance_relative": 8.827275974857608e-15,
195
+ "peak_energy_rise": 0
196
+ },
197
+ {
198
+ "id": "U_spring_1_100000",
199
+ "signal_error_relative_to_initial_peak": 4.42212055145328e-06,
200
+ "force_relative_error": 7.76758850382558e-05,
201
+ "energy_balance_relative": 1.2317129267243175e-15,
202
+ "peak_energy_rise": 0
203
+ },
204
+ {
205
+ "id": "U_spring_2_0",
206
+ "signal_error_relative_to_initial_peak": 9.711949540409417e-06,
207
+ "force_relative_error": 0.0,
208
+ "energy_balance_relative": 1.5601697071841356e-14,
209
+ "peak_energy_rise": 6.158564633621588e-16
210
+ },
211
+ {
212
+ "id": "U_spring_2_1000",
213
+ "signal_error_relative_to_initial_peak": 9.711949544035354e-06,
214
+ "force_relative_error": 1.0989113651369587e-08,
215
+ "energy_balance_relative": 1.5601697071841356e-14,
216
+ "peak_energy_rise": 6.158564633621588e-16
217
+ },
218
+ {
219
+ "id": "U_spring_2_10000",
220
+ "signal_error_relative_to_initial_peak": 9.71194954403517e-06,
221
+ "force_relative_error": 5.658389255720721e-08,
222
+ "energy_balance_relative": 1.5601697071841356e-14,
223
+ "peak_energy_rise": 6.158564633621588e-16
224
+ },
225
+ {
226
+ "id": "U_spring_2_100000",
227
+ "signal_error_relative_to_initial_peak": 9.711949541418173e-06,
228
+ "force_relative_error": 9.842090904672289e-08,
229
+ "energy_balance_relative": 1.5601697071841356e-14,
230
+ "peak_energy_rise": 6.158564633621588e-16
231
+ },
232
+ {
233
+ "id": "spatial_free_1_0",
234
+ "signal_error_relative_to_initial_peak": 7.0861575558522205e-06,
235
+ "force_relative_error": 0.0,
236
+ "energy_balance_relative": 4.2714934716324984e-14,
237
+ "peak_energy_rise": 6.504812393348982e-16
238
+ },
239
+ {
240
+ "id": "spatial_free_1_1000",
241
+ "signal_error_relative_to_initial_peak": 2.168795287862607e-06,
242
+ "force_relative_error": 1.5502536083120256e-05,
243
+ "energy_balance_relative": 1.5611549744037558e-14,
244
+ "peak_energy_rise": 0
245
+ },
246
+ {
247
+ "id": "spatial_free_1_10000",
248
+ "signal_error_relative_to_initial_peak": 1.4056994913071933e-06,
249
+ "force_relative_error": 2.385535047741903e-05,
250
+ "energy_balance_relative": 8.889910270910275e-15,
251
+ "peak_energy_rise": 0
252
+ },
253
+ {
254
+ "id": "spatial_free_1_100000",
255
+ "signal_error_relative_to_initial_peak": 3.154639836166909e-06,
256
+ "force_relative_error": 8.334037854073525e-05,
257
+ "energy_balance_relative": 3.2524061966744912e-15,
258
+ "peak_energy_rise": 0
259
+ },
260
+ {
261
+ "id": "spatial_free_2_0",
262
+ "signal_error_relative_to_initial_peak": 7.0861575558522205e-06,
263
+ "force_relative_error": 0.0,
264
+ "energy_balance_relative": 4.2714934716324984e-14,
265
+ "peak_energy_rise": 6.504812393348982e-16
266
+ },
267
+ {
268
+ "id": "spatial_free_2_1000",
269
+ "signal_error_relative_to_initial_peak": 9.837414013681147e-07,
270
+ "force_relative_error": 5.462192780308158e-06,
271
+ "energy_balance_relative": 8.022601951797077e-15,
272
+ "peak_energy_rise": 0
273
+ },
274
+ {
275
+ "id": "spatial_free_2_10000",
276
+ "signal_error_relative_to_initial_peak": 4.528962501483416e-07,
277
+ "force_relative_error": 2.127649576272091e-05,
278
+ "energy_balance_relative": 2.168270797782994e-15,
279
+ "peak_energy_rise": 0
280
+ },
281
+ {
282
+ "id": "spatial_free_2_100000",
283
+ "signal_error_relative_to_initial_peak": 3.3794883634152145e-07,
284
+ "force_relative_error": 0.00019789783070976085,
285
+ "energy_balance_relative": 1.7346166382263951e-15,
286
+ "peak_energy_rise": 0
287
+ },
288
+ {
289
+ "id": "spatial_spring_1_0",
290
+ "signal_error_relative_to_initial_peak": 7.824097185948017e-06,
291
+ "force_relative_error": 0.0,
292
+ "energy_balance_relative": 7.879500261272562e-15,
293
+ "peak_energy_rise": 8.040306389053635e-16
294
+ },
295
+ {
296
+ "id": "spatial_spring_1_1000",
297
+ "signal_error_relative_to_initial_peak": 7.091660242642043e-06,
298
+ "force_relative_error": 1.694303441815829e-05,
299
+ "energy_balance_relative": 1.8010286311480144e-14,
300
+ "peak_energy_rise": 0
301
+ },
302
+ {
303
+ "id": "spatial_spring_1_10000",
304
+ "signal_error_relative_to_initial_peak": 7.32269397606144e-06,
305
+ "force_relative_error": 2.4092091981090973e-05,
306
+ "energy_balance_relative": 3.3769286834025268e-15,
307
+ "peak_energy_rise": 0
308
+ },
309
+ {
310
+ "id": "spatial_spring_1_100000",
311
+ "signal_error_relative_to_initial_peak": 8.550617183267564e-06,
312
+ "force_relative_error": 9.409305253711959e-05,
313
+ "energy_balance_relative": 2.492494980606627e-14,
314
+ "peak_energy_rise": 0
315
+ },
316
+ {
317
+ "id": "spatial_spring_2_0",
318
+ "signal_error_relative_to_initial_peak": 7.824097185948017e-06,
319
+ "force_relative_error": 0.0,
320
+ "energy_balance_relative": 7.879500261272562e-15,
321
+ "peak_energy_rise": 8.040306389053635e-16
322
+ },
323
+ {
324
+ "id": "spatial_spring_2_1000",
325
+ "signal_error_relative_to_initial_peak": 7.76367220450879e-06,
326
+ "force_relative_error": 1.2812287111294312e-05,
327
+ "energy_balance_relative": 1.125642894467509e-14,
328
+ "peak_energy_rise": 0
329
+ },
330
+ {
331
+ "id": "spatial_spring_2_10000",
332
+ "signal_error_relative_to_initial_peak": 7.723571572260544e-06,
333
+ "force_relative_error": 2.548297195505114e-05,
334
+ "energy_balance_relative": 2.733704172278236e-14,
335
+ "peak_energy_rise": 0
336
+ },
337
+ {
338
+ "id": "spatial_spring_2_100000",
339
+ "signal_error_relative_to_initial_peak": 7.921313312243535e-06,
340
+ "force_relative_error": 0.00015299736241002832,
341
+ "energy_balance_relative": 5.4995695701126867e-14,
342
+ "peak_energy_rise": 0
343
+ },
344
+ {
345
+ "id": "blocked",
346
+ "signal_error_relative_to_initial_peak": 1.0284682710402275e-05,
347
+ "force_relative_error": 0.0,
348
+ "energy_balance_relative": 2.0521275452293865e-14,
349
+ "peak_energy_rise": 4.699528729532946e-16
350
+ }
351
+ ],
352
+ "retention": [
353
+ {
354
+ "id": "L_free_2_100000",
355
+ "12_vs_24_signal_error_relative_to_initial_peak": 0.0001653326354084713
356
+ },
357
+ {
358
+ "id": "L_spring_2_100000",
359
+ "12_vs_24_signal_error_relative_to_initial_peak": 7.677991358392668e-06
360
+ },
361
+ {
362
+ "id": "U_free_2_100000",
363
+ "12_vs_24_signal_error_relative_to_initial_peak": 8.75511590881276e-06
364
+ },
365
+ {
366
+ "id": "U_spring_2_100000",
367
+ "12_vs_24_signal_error_relative_to_initial_peak": 8.755115913010391e-06
368
+ },
369
+ {
370
+ "id": "spatial_free_2_100000",
371
+ "12_vs_24_signal_error_relative_to_initial_peak": 1.3379149492009478e-05
372
+ },
373
+ {
374
+ "id": "spatial_spring_2_100000",
375
+ "12_vs_24_signal_error_relative_to_initial_peak": 6.658493714836906e-06
376
+ }
377
+ ]
378
+ }
web/data/catalog.json ADDED
@@ -0,0 +1,918 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "agentfem.pipe-components.v1",
3
+ "units": "SI",
4
+ "components": [
5
+ {
6
+ "id": "straight-d120-t04-r3",
7
+ "kind": "straight",
8
+ "length": 0.36,
9
+ "radius": 0.24,
10
+ "diameter": 0.12,
11
+ "thickness": 0.0048,
12
+ "ns": 24,
13
+ "nt": 24,
14
+ "nr": 1,
15
+ "modes": 12,
16
+ "stub": 0.0,
17
+ "young": 200000000000.0,
18
+ "poisson": 0.3,
19
+ "density": 7850.0,
20
+ "alpha": 1.2e-05,
21
+ "file": "straight-d120-t04-r3.json",
22
+ "mass_kg": 4.853369433148401
23
+ },
24
+ {
25
+ "id": "straight-d120-t04-r5",
26
+ "kind": "straight",
27
+ "length": 0.6,
28
+ "radius": 0.24,
29
+ "diameter": 0.12,
30
+ "thickness": 0.0048,
31
+ "ns": 24,
32
+ "nt": 24,
33
+ "nr": 1,
34
+ "modes": 12,
35
+ "stub": 0.0,
36
+ "young": 200000000000.0,
37
+ "poisson": 0.3,
38
+ "density": 7850.0,
39
+ "alpha": 1.2e-05,
40
+ "file": "straight-d120-t04-r5.json",
41
+ "mass_kg": 8.088949055247397
42
+ },
43
+ {
44
+ "id": "straight-d120-t04-r8",
45
+ "kind": "straight",
46
+ "length": 0.96,
47
+ "radius": 0.24,
48
+ "diameter": 0.12,
49
+ "thickness": 0.0048,
50
+ "ns": 24,
51
+ "nt": 24,
52
+ "nr": 1,
53
+ "modes": 12,
54
+ "stub": 0.0,
55
+ "young": 200000000000.0,
56
+ "poisson": 0.3,
57
+ "density": 7850.0,
58
+ "alpha": 1.2e-05,
59
+ "file": "straight-d120-t04-r8.json",
60
+ "mass_kg": 12.942318488395781
61
+ },
62
+ {
63
+ "id": "elbow-d120-t04-r1.5",
64
+ "kind": "elbow",
65
+ "length": 0.48,
66
+ "radius": 0.18,
67
+ "diameter": 0.12,
68
+ "thickness": 0.0048,
69
+ "ns": 24,
70
+ "nt": 24,
71
+ "nr": 1,
72
+ "modes": 12,
73
+ "stub": 0.24,
74
+ "young": 200000000000.0,
75
+ "poisson": 0.3,
76
+ "density": 7850.0,
77
+ "alpha": 1.2e-05,
78
+ "file": "elbow-d120-t04-r1.5.json",
79
+ "mass_kg": 10.258540866502518
80
+ },
81
+ {
82
+ "id": "elbow-d120-t04-r2",
83
+ "kind": "elbow",
84
+ "length": 0.48,
85
+ "radius": 0.24,
86
+ "diameter": 0.12,
87
+ "thickness": 0.0048,
88
+ "ns": 24,
89
+ "nt": 24,
90
+ "nr": 1,
91
+ "modes": 12,
92
+ "stub": 0.24,
93
+ "young": 200000000000.0,
94
+ "poisson": 0.3,
95
+ "density": 7850.0,
96
+ "alpha": 1.2e-05,
97
+ "file": "elbow-d120-t04-r2.json",
98
+ "mass_kg": 11.52100140727072
99
+ },
100
+ {
101
+ "id": "elbow-d120-t04-r3",
102
+ "kind": "elbow",
103
+ "length": 0.48,
104
+ "radius": 0.36,
105
+ "diameter": 0.12,
106
+ "thickness": 0.0048,
107
+ "ns": 24,
108
+ "nt": 24,
109
+ "nr": 1,
110
+ "modes": 12,
111
+ "stub": 0.24,
112
+ "young": 200000000000.0,
113
+ "poisson": 0.3,
114
+ "density": 7850.0,
115
+ "alpha": 1.2e-05,
116
+ "file": "elbow-d120-t04-r3.json",
117
+ "mass_kg": 14.045922488807136
118
+ },
119
+ {
120
+ "id": "straight-d120-t06-r3",
121
+ "kind": "straight",
122
+ "length": 0.36,
123
+ "radius": 0.24,
124
+ "diameter": 0.12,
125
+ "thickness": 0.0072,
126
+ "ns": 24,
127
+ "nt": 24,
128
+ "nr": 1,
129
+ "modes": 12,
130
+ "stub": 0.0,
131
+ "young": 200000000000.0,
132
+ "poisson": 0.3,
133
+ "density": 7850.0,
134
+ "alpha": 1.2e-05,
135
+ "file": "straight-d120-t06-r3.json",
136
+ "mass_kg": 7.128386354936765
137
+ },
138
+ {
139
+ "id": "straight-d120-t06-r5",
140
+ "kind": "straight",
141
+ "length": 0.6,
142
+ "radius": 0.24,
143
+ "diameter": 0.12,
144
+ "thickness": 0.0072,
145
+ "ns": 24,
146
+ "nt": 24,
147
+ "nr": 1,
148
+ "modes": 12,
149
+ "stub": 0.0,
150
+ "young": 200000000000.0,
151
+ "poisson": 0.3,
152
+ "density": 7850.0,
153
+ "alpha": 1.2e-05,
154
+ "file": "straight-d120-t06-r5.json",
155
+ "mass_kg": 11.880643924894613
156
+ },
157
+ {
158
+ "id": "straight-d120-t06-r8",
159
+ "kind": "straight",
160
+ "length": 0.96,
161
+ "radius": 0.24,
162
+ "diameter": 0.12,
163
+ "thickness": 0.0072,
164
+ "ns": 24,
165
+ "nt": 24,
166
+ "nr": 1,
167
+ "modes": 12,
168
+ "stub": 0.0,
169
+ "young": 200000000000.0,
170
+ "poisson": 0.3,
171
+ "density": 7850.0,
172
+ "alpha": 1.2e-05,
173
+ "file": "straight-d120-t06-r8.json",
174
+ "mass_kg": 19.009030279831236
175
+ },
176
+ {
177
+ "id": "elbow-d120-t06-r1.5",
178
+ "kind": "elbow",
179
+ "length": 0.48,
180
+ "radius": 0.18,
181
+ "diameter": 0.12,
182
+ "thickness": 0.0072,
183
+ "ns": 24,
184
+ "nt": 24,
185
+ "nr": 1,
186
+ "modes": 12,
187
+ "stub": 0.24,
188
+ "young": 200000000000.0,
189
+ "poisson": 0.3,
190
+ "density": 7850.0,
191
+ "alpha": 1.2e-05,
192
+ "file": "elbow-d120-t06-r1.5.json",
193
+ "mass_kg": 15.06723189767563
194
+ },
195
+ {
196
+ "id": "elbow-d120-t06-r2",
197
+ "kind": "elbow",
198
+ "length": 0.48,
199
+ "radius": 0.24,
200
+ "diameter": 0.12,
201
+ "thickness": 0.0072,
202
+ "ns": 24,
203
+ "nt": 24,
204
+ "nr": 1,
205
+ "modes": 12,
206
+ "stub": 0.24,
207
+ "young": 200000000000.0,
208
+ "poisson": 0.3,
209
+ "density": 7850.0,
210
+ "alpha": 1.2e-05,
211
+ "file": "elbow-d120-t06-r2.json",
212
+ "mass_kg": 16.921470816928945
213
+ },
214
+ {
215
+ "id": "elbow-d120-t06-r3",
216
+ "kind": "elbow",
217
+ "length": 0.48,
218
+ "radius": 0.36,
219
+ "diameter": 0.12,
220
+ "thickness": 0.0072,
221
+ "ns": 24,
222
+ "nt": 24,
223
+ "nr": 1,
224
+ "modes": 12,
225
+ "stub": 0.24,
226
+ "young": 200000000000.0,
227
+ "poisson": 0.3,
228
+ "density": 7850.0,
229
+ "alpha": 1.2e-05,
230
+ "file": "elbow-d120-t06-r3.json",
231
+ "mass_kg": 20.629948655435562
232
+ },
233
+ {
234
+ "id": "straight-d160-t04-r3",
235
+ "kind": "straight",
236
+ "length": 0.48,
237
+ "radius": 0.32,
238
+ "diameter": 0.16,
239
+ "thickness": 0.0064,
240
+ "ns": 24,
241
+ "nt": 24,
242
+ "nr": 1,
243
+ "modes": 12,
244
+ "stub": 0.0,
245
+ "young": 200000000000.0,
246
+ "poisson": 0.3,
247
+ "density": 7850.0,
248
+ "alpha": 1.2e-05,
249
+ "file": "straight-d160-t04-r3.json",
250
+ "mass_kg": 11.504283100796204
251
+ },
252
+ {
253
+ "id": "straight-d160-t04-r5",
254
+ "kind": "straight",
255
+ "length": 0.8,
256
+ "radius": 0.32,
257
+ "diameter": 0.16,
258
+ "thickness": 0.0064,
259
+ "ns": 24,
260
+ "nt": 24,
261
+ "nr": 1,
262
+ "modes": 12,
263
+ "stub": 0.0,
264
+ "young": 200000000000.0,
265
+ "poisson": 0.3,
266
+ "density": 7850.0,
267
+ "alpha": 1.2e-05,
268
+ "file": "straight-d160-t04-r5.json",
269
+ "mass_kg": 19.173805167993734
270
+ },
271
+ {
272
+ "id": "straight-d160-t04-r8",
273
+ "kind": "straight",
274
+ "length": 1.28,
275
+ "radius": 0.32,
276
+ "diameter": 0.16,
277
+ "thickness": 0.0064,
278
+ "ns": 24,
279
+ "nt": 24,
280
+ "nr": 1,
281
+ "modes": 12,
282
+ "stub": 0.0,
283
+ "young": 200000000000.0,
284
+ "poisson": 0.3,
285
+ "density": 7850.0,
286
+ "alpha": 1.2e-05,
287
+ "file": "straight-d160-t04-r8.json",
288
+ "mass_kg": 30.678088268790194
289
+ },
290
+ {
291
+ "id": "elbow-d160-t04-r1.5",
292
+ "kind": "elbow",
293
+ "length": 0.64,
294
+ "radius": 0.24,
295
+ "diameter": 0.16,
296
+ "thickness": 0.0064,
297
+ "ns": 24,
298
+ "nt": 24,
299
+ "nr": 1,
300
+ "modes": 12,
301
+ "stub": 0.32,
302
+ "young": 200000000000.0,
303
+ "poisson": 0.3,
304
+ "density": 7850.0,
305
+ "alpha": 1.2e-05,
306
+ "file": "elbow-d160-t04-r1.5.json",
307
+ "mass_kg": 24.31654131319113
308
+ },
309
+ {
310
+ "id": "elbow-d160-t04-r2",
311
+ "kind": "elbow",
312
+ "length": 0.64,
313
+ "radius": 0.32,
314
+ "diameter": 0.16,
315
+ "thickness": 0.0064,
316
+ "ns": 24,
317
+ "nt": 24,
318
+ "nr": 1,
319
+ "modes": 12,
320
+ "stub": 0.32,
321
+ "young": 200000000000.0,
322
+ "poisson": 0.3,
323
+ "density": 7850.0,
324
+ "alpha": 1.2e-05,
325
+ "file": "elbow-d160-t04-r2.json",
326
+ "mass_kg": 27.30904037278986
327
+ },
328
+ {
329
+ "id": "elbow-d160-t04-r3",
330
+ "kind": "elbow",
331
+ "length": 0.64,
332
+ "radius": 0.48,
333
+ "diameter": 0.16,
334
+ "thickness": 0.0064,
335
+ "ns": 24,
336
+ "nt": 24,
337
+ "nr": 1,
338
+ "modes": 12,
339
+ "stub": 0.32,
340
+ "young": 200000000000.0,
341
+ "poisson": 0.3,
342
+ "density": 7850.0,
343
+ "alpha": 1.2e-05,
344
+ "file": "elbow-d160-t04-r3.json",
345
+ "mass_kg": 33.2940384919873
346
+ },
347
+ {
348
+ "id": "straight-d160-t06-r3",
349
+ "kind": "straight",
350
+ "length": 0.48,
351
+ "radius": 0.32,
352
+ "diameter": 0.16,
353
+ "thickness": 0.0096,
354
+ "ns": 24,
355
+ "nt": 24,
356
+ "nr": 1,
357
+ "modes": 12,
358
+ "stub": 0.0,
359
+ "young": 200000000000.0,
360
+ "poisson": 0.3,
361
+ "density": 7850.0,
362
+ "alpha": 1.2e-05,
363
+ "file": "straight-d160-t06-r3.json",
364
+ "mass_kg": 16.89691580429455
365
+ },
366
+ {
367
+ "id": "straight-d160-t06-r5",
368
+ "kind": "straight",
369
+ "length": 0.8,
370
+ "radius": 0.32,
371
+ "diameter": 0.16,
372
+ "thickness": 0.0096,
373
+ "ns": 24,
374
+ "nt": 24,
375
+ "nr": 1,
376
+ "modes": 12,
377
+ "stub": 0.0,
378
+ "young": 200000000000.0,
379
+ "poisson": 0.3,
380
+ "density": 7850.0,
381
+ "alpha": 1.2e-05,
382
+ "file": "straight-d160-t06-r5.json",
383
+ "mass_kg": 28.161526340490763
384
+ },
385
+ {
386
+ "id": "straight-d160-t06-r8",
387
+ "kind": "straight",
388
+ "length": 1.28,
389
+ "radius": 0.32,
390
+ "diameter": 0.16,
391
+ "thickness": 0.0096,
392
+ "ns": 24,
393
+ "nt": 24,
394
+ "nr": 1,
395
+ "modes": 12,
396
+ "stub": 0.0,
397
+ "young": 200000000000.0,
398
+ "poisson": 0.3,
399
+ "density": 7850.0,
400
+ "alpha": 1.2e-05,
401
+ "file": "straight-d160-t06-r8.json",
402
+ "mass_kg": 45.05844214478527
403
+ },
404
+ {
405
+ "id": "elbow-d160-t06-r1.5",
406
+ "kind": "elbow",
407
+ "length": 0.64,
408
+ "radius": 0.24,
409
+ "diameter": 0.16,
410
+ "thickness": 0.0096,
411
+ "ns": 24,
412
+ "nt": 24,
413
+ "nr": 1,
414
+ "modes": 12,
415
+ "stub": 0.32,
416
+ "young": 200000000000.0,
417
+ "poisson": 0.3,
418
+ "density": 7850.0,
419
+ "alpha": 1.2e-05,
420
+ "file": "elbow-d160-t06-r1.5.json",
421
+ "mass_kg": 35.714920053749665
422
+ },
423
+ {
424
+ "id": "elbow-d160-t06-r2",
425
+ "kind": "elbow",
426
+ "length": 0.64,
427
+ "radius": 0.32,
428
+ "diameter": 0.16,
429
+ "thickness": 0.0096,
430
+ "ns": 24,
431
+ "nt": 24,
432
+ "nr": 1,
433
+ "modes": 12,
434
+ "stub": 0.32,
435
+ "young": 200000000000.0,
436
+ "poisson": 0.3,
437
+ "density": 7850.0,
438
+ "alpha": 1.2e-05,
439
+ "file": "elbow-d160-t06-r2.json",
440
+ "mass_kg": 40.11015304753526
441
+ },
442
+ {
443
+ "id": "elbow-d160-t06-r3",
444
+ "kind": "elbow",
445
+ "length": 0.64,
446
+ "radius": 0.48,
447
+ "diameter": 0.16,
448
+ "thickness": 0.0096,
449
+ "ns": 24,
450
+ "nt": 24,
451
+ "nr": 1,
452
+ "modes": 12,
453
+ "stub": 0.32,
454
+ "young": 200000000000.0,
455
+ "poisson": 0.3,
456
+ "density": 7850.0,
457
+ "alpha": 1.2e-05,
458
+ "file": "elbow-d160-t06-r3.json",
459
+ "mass_kg": 48.90061903510652
460
+ },
461
+ {
462
+ "id": "straight-d200-t04-r3",
463
+ "kind": "straight",
464
+ "length": 0.6000000000000001,
465
+ "radius": 0.4,
466
+ "diameter": 0.2,
467
+ "thickness": 0.008,
468
+ "ns": 24,
469
+ "nt": 24,
470
+ "nr": 1,
471
+ "modes": 12,
472
+ "stub": 0.0,
473
+ "young": 200000000000.0,
474
+ "poisson": 0.3,
475
+ "density": 7850.0,
476
+ "alpha": 1.2e-05,
477
+ "file": "straight-d200-t04-r3.json",
478
+ "mass_kg": 22.469302931242755
479
+ },
480
+ {
481
+ "id": "straight-d200-t04-r5",
482
+ "kind": "straight",
483
+ "length": 1.0,
484
+ "radius": 0.4,
485
+ "diameter": 0.2,
486
+ "thickness": 0.008,
487
+ "ns": 24,
488
+ "nt": 24,
489
+ "nr": 1,
490
+ "modes": 12,
491
+ "stub": 0.0,
492
+ "young": 200000000000.0,
493
+ "poisson": 0.3,
494
+ "density": 7850.0,
495
+ "alpha": 1.2e-05,
496
+ "file": "straight-d200-t04-r5.json",
497
+ "mass_kg": 37.448838218738004
498
+ },
499
+ {
500
+ "id": "straight-d200-t04-r8",
501
+ "kind": "straight",
502
+ "length": 1.6,
503
+ "radius": 0.4,
504
+ "diameter": 0.2,
505
+ "thickness": 0.008,
506
+ "ns": 24,
507
+ "nt": 24,
508
+ "nr": 1,
509
+ "modes": 12,
510
+ "stub": 0.0,
511
+ "young": 200000000000.0,
512
+ "poisson": 0.3,
513
+ "density": 7850.0,
514
+ "alpha": 1.2e-05,
515
+ "file": "straight-d200-t04-r8.json",
516
+ "mass_kg": 59.91814114998041
517
+ },
518
+ {
519
+ "id": "elbow-d200-t04-r1.5",
520
+ "kind": "elbow",
521
+ "length": 0.8,
522
+ "radius": 0.30000000000000004,
523
+ "diameter": 0.2,
524
+ "thickness": 0.008,
525
+ "ns": 24,
526
+ "nt": 24,
527
+ "nr": 1,
528
+ "modes": 12,
529
+ "stub": 0.4,
530
+ "young": 200000000000.0,
531
+ "poisson": 0.3,
532
+ "density": 7850.0,
533
+ "alpha": 1.2e-05,
534
+ "file": "elbow-d200-t04-r1.5.json",
535
+ "mass_kg": 47.49324475232663
536
+ },
537
+ {
538
+ "id": "elbow-d200-t04-r2",
539
+ "kind": "elbow",
540
+ "length": 0.8,
541
+ "radius": 0.4,
542
+ "diameter": 0.2,
543
+ "thickness": 0.008,
544
+ "ns": 24,
545
+ "nt": 24,
546
+ "nr": 1,
547
+ "modes": 12,
548
+ "stub": 0.4,
549
+ "young": 200000000000.0,
550
+ "poisson": 0.3,
551
+ "density": 7850.0,
552
+ "alpha": 1.2e-05,
553
+ "file": "elbow-d200-t04-r2.json",
554
+ "mass_kg": 53.337969478105414
555
+ },
556
+ {
557
+ "id": "elbow-d200-t04-r3",
558
+ "kind": "elbow",
559
+ "length": 0.8,
560
+ "radius": 0.6000000000000001,
561
+ "diameter": 0.2,
562
+ "thickness": 0.008,
563
+ "ns": 24,
564
+ "nt": 24,
565
+ "nr": 1,
566
+ "modes": 12,
567
+ "stub": 0.4,
568
+ "young": 200000000000.0,
569
+ "poisson": 0.3,
570
+ "density": 7850.0,
571
+ "alpha": 1.2e-05,
572
+ "file": "elbow-d200-t04-r3.json",
573
+ "mass_kg": 65.02741892966297
574
+ },
575
+ {
576
+ "id": "straight-d200-t06-r3",
577
+ "kind": "straight",
578
+ "length": 0.6000000000000001,
579
+ "radius": 0.4,
580
+ "diameter": 0.2,
581
+ "thickness": 0.012,
582
+ "ns": 24,
583
+ "nt": 24,
584
+ "nr": 1,
585
+ "modes": 12,
586
+ "stub": 0.0,
587
+ "young": 200000000000.0,
588
+ "poisson": 0.3,
589
+ "density": 7850.0,
590
+ "alpha": 1.2e-05,
591
+ "file": "straight-d200-t06-r3.json",
592
+ "mass_kg": 33.001788680262926
593
+ },
594
+ {
595
+ "id": "straight-d200-t06-r5",
596
+ "kind": "straight",
597
+ "length": 1.0,
598
+ "radius": 0.4,
599
+ "diameter": 0.2,
600
+ "thickness": 0.012,
601
+ "ns": 24,
602
+ "nt": 24,
603
+ "nr": 1,
604
+ "modes": 12,
605
+ "stub": 0.0,
606
+ "young": 200000000000.0,
607
+ "poisson": 0.3,
608
+ "density": 7850.0,
609
+ "alpha": 1.2e-05,
610
+ "file": "straight-d200-t06-r5.json",
611
+ "mass_kg": 55.00298113377147
612
+ },
613
+ {
614
+ "id": "straight-d200-t06-r8",
615
+ "kind": "straight",
616
+ "length": 1.6,
617
+ "radius": 0.4,
618
+ "diameter": 0.2,
619
+ "thickness": 0.012,
620
+ "ns": 24,
621
+ "nt": 24,
622
+ "nr": 1,
623
+ "modes": 12,
624
+ "stub": 0.0,
625
+ "young": 200000000000.0,
626
+ "poisson": 0.3,
627
+ "density": 7850.0,
628
+ "alpha": 1.2e-05,
629
+ "file": "straight-d200-t06-r8.json",
630
+ "mass_kg": 88.00476981403395
631
+ },
632
+ {
633
+ "id": "elbow-d200-t06-r1.5",
634
+ "kind": "elbow",
635
+ "length": 0.8,
636
+ "radius": 0.30000000000000004,
637
+ "diameter": 0.2,
638
+ "thickness": 0.012,
639
+ "ns": 24,
640
+ "nt": 24,
641
+ "nr": 1,
642
+ "modes": 12,
643
+ "stub": 0.4,
644
+ "young": 200000000000.0,
645
+ "poisson": 0.3,
646
+ "density": 7850.0,
647
+ "alpha": 1.2e-05,
648
+ "file": "elbow-d200-t06-r1.5.json",
649
+ "mass_kg": 69.75570322997982
650
+ },
651
+ {
652
+ "id": "elbow-d200-t06-r2",
653
+ "kind": "elbow",
654
+ "length": 0.8,
655
+ "radius": 0.4,
656
+ "diameter": 0.2,
657
+ "thickness": 0.012,
658
+ "ns": 24,
659
+ "nt": 24,
660
+ "nr": 1,
661
+ "modes": 12,
662
+ "stub": 0.4,
663
+ "young": 200000000000.0,
664
+ "poisson": 0.3,
665
+ "density": 7850.0,
666
+ "alpha": 1.2e-05,
667
+ "file": "elbow-d200-t06-r2.json",
668
+ "mass_kg": 78.34014267096742
669
+ },
670
+ {
671
+ "id": "elbow-d200-t06-r3",
672
+ "kind": "elbow",
673
+ "length": 0.8,
674
+ "radius": 0.6000000000000001,
675
+ "diameter": 0.2,
676
+ "thickness": 0.012,
677
+ "ns": 24,
678
+ "nt": 24,
679
+ "nr": 1,
680
+ "modes": 12,
681
+ "stub": 0.4,
682
+ "young": 200000000000.0,
683
+ "poisson": 0.3,
684
+ "density": 7850.0,
685
+ "alpha": 1.2e-05,
686
+ "file": "elbow-d200-t06-r3.json",
687
+ "mass_kg": 95.50902155294247
688
+ },
689
+ {
690
+ "id": "straight-d240-t04-r3",
691
+ "kind": "straight",
692
+ "length": 0.72,
693
+ "radius": 0.48,
694
+ "diameter": 0.24,
695
+ "thickness": 0.0096,
696
+ "ns": 24,
697
+ "nt": 24,
698
+ "nr": 1,
699
+ "modes": 12,
700
+ "stub": 0.0,
701
+ "young": 200000000000.0,
702
+ "poisson": 0.3,
703
+ "density": 7850.0,
704
+ "alpha": 1.2e-05,
705
+ "file": "straight-d240-t04-r3.json",
706
+ "mass_kg": 38.82695546518721
707
+ },
708
+ {
709
+ "id": "straight-d240-t04-r5",
710
+ "kind": "straight",
711
+ "length": 1.2,
712
+ "radius": 0.48,
713
+ "diameter": 0.24,
714
+ "thickness": 0.0096,
715
+ "ns": 24,
716
+ "nt": 24,
717
+ "nr": 1,
718
+ "modes": 12,
719
+ "stub": 0.0,
720
+ "young": 200000000000.0,
721
+ "poisson": 0.3,
722
+ "density": 7850.0,
723
+ "alpha": 1.2e-05,
724
+ "file": "straight-d240-t04-r5.json",
725
+ "mass_kg": 64.71159244197918
726
+ },
727
+ {
728
+ "id": "straight-d240-t04-r8",
729
+ "kind": "straight",
730
+ "length": 1.92,
731
+ "radius": 0.48,
732
+ "diameter": 0.24,
733
+ "thickness": 0.0096,
734
+ "ns": 24,
735
+ "nt": 24,
736
+ "nr": 1,
737
+ "modes": 12,
738
+ "stub": 0.0,
739
+ "young": 200000000000.0,
740
+ "poisson": 0.3,
741
+ "density": 7850.0,
742
+ "alpha": 1.2e-05,
743
+ "file": "straight-d240-t04-r8.json",
744
+ "mass_kg": 103.53854790716625
745
+ },
746
+ {
747
+ "id": "elbow-d240-t04-r1.5",
748
+ "kind": "elbow",
749
+ "length": 0.96,
750
+ "radius": 0.36,
751
+ "diameter": 0.24,
752
+ "thickness": 0.0096,
753
+ "ns": 24,
754
+ "nt": 24,
755
+ "nr": 1,
756
+ "modes": 12,
757
+ "stub": 0.48,
758
+ "young": 200000000000.0,
759
+ "poisson": 0.3,
760
+ "density": 7850.0,
761
+ "alpha": 1.2e-05,
762
+ "file": "elbow-d240-t04-r1.5.json",
763
+ "mass_kg": 82.06832693202014
764
+ },
765
+ {
766
+ "id": "elbow-d240-t04-r2",
767
+ "kind": "elbow",
768
+ "length": 0.96,
769
+ "radius": 0.48,
770
+ "diameter": 0.24,
771
+ "thickness": 0.0096,
772
+ "ns": 24,
773
+ "nt": 24,
774
+ "nr": 1,
775
+ "modes": 12,
776
+ "stub": 0.48,
777
+ "young": 200000000000.0,
778
+ "poisson": 0.3,
779
+ "density": 7850.0,
780
+ "alpha": 1.2e-05,
781
+ "file": "elbow-d240-t04-r2.json",
782
+ "mass_kg": 92.16801125816576
783
+ },
784
+ {
785
+ "id": "elbow-d240-t04-r3",
786
+ "kind": "elbow",
787
+ "length": 0.96,
788
+ "radius": 0.72,
789
+ "diameter": 0.24,
790
+ "thickness": 0.0096,
791
+ "ns": 24,
792
+ "nt": 24,
793
+ "nr": 1,
794
+ "modes": 12,
795
+ "stub": 0.48,
796
+ "young": 200000000000.0,
797
+ "poisson": 0.3,
798
+ "density": 7850.0,
799
+ "alpha": 1.2e-05,
800
+ "file": "elbow-d240-t04-r3.json",
801
+ "mass_kg": 112.36737991045709
802
+ },
803
+ {
804
+ "id": "straight-d240-t06-r3",
805
+ "kind": "straight",
806
+ "length": 0.72,
807
+ "radius": 0.48,
808
+ "diameter": 0.24,
809
+ "thickness": 0.0144,
810
+ "ns": 24,
811
+ "nt": 24,
812
+ "nr": 1,
813
+ "modes": 12,
814
+ "stub": 0.0,
815
+ "young": 200000000000.0,
816
+ "poisson": 0.3,
817
+ "density": 7850.0,
818
+ "alpha": 1.2e-05,
819
+ "file": "straight-d240-t06-r3.json",
820
+ "mass_kg": 57.02709083949412
821
+ },
822
+ {
823
+ "id": "straight-d240-t06-r5",
824
+ "kind": "straight",
825
+ "length": 1.2,
826
+ "radius": 0.48,
827
+ "diameter": 0.24,
828
+ "thickness": 0.0144,
829
+ "ns": 24,
830
+ "nt": 24,
831
+ "nr": 1,
832
+ "modes": 12,
833
+ "stub": 0.0,
834
+ "young": 200000000000.0,
835
+ "poisson": 0.3,
836
+ "density": 7850.0,
837
+ "alpha": 1.2e-05,
838
+ "file": "straight-d240-t06-r5.json",
839
+ "mass_kg": 95.04515139915691
840
+ },
841
+ {
842
+ "id": "straight-d240-t06-r8",
843
+ "kind": "straight",
844
+ "length": 1.92,
845
+ "radius": 0.48,
846
+ "diameter": 0.24,
847
+ "thickness": 0.0144,
848
+ "ns": 24,
849
+ "nt": 24,
850
+ "nr": 1,
851
+ "modes": 12,
852
+ "stub": 0.0,
853
+ "young": 200000000000.0,
854
+ "poisson": 0.3,
855
+ "density": 7850.0,
856
+ "alpha": 1.2e-05,
857
+ "file": "straight-d240-t06-r8.json",
858
+ "mass_kg": 152.0722422386499
859
+ },
860
+ {
861
+ "id": "elbow-d240-t06-r1.5",
862
+ "kind": "elbow",
863
+ "length": 0.96,
864
+ "radius": 0.36,
865
+ "diameter": 0.24,
866
+ "thickness": 0.0144,
867
+ "ns": 24,
868
+ "nt": 24,
869
+ "nr": 1,
870
+ "modes": 12,
871
+ "stub": 0.48,
872
+ "young": 200000000000.0,
873
+ "poisson": 0.3,
874
+ "density": 7850.0,
875
+ "alpha": 1.2e-05,
876
+ "file": "elbow-d240-t06-r1.5.json",
877
+ "mass_kg": 120.53785518140504
878
+ },
879
+ {
880
+ "id": "elbow-d240-t06-r2",
881
+ "kind": "elbow",
882
+ "length": 0.96,
883
+ "radius": 0.48,
884
+ "diameter": 0.24,
885
+ "thickness": 0.0144,
886
+ "ns": 24,
887
+ "nt": 24,
888
+ "nr": 1,
889
+ "modes": 12,
890
+ "stub": 0.48,
891
+ "young": 200000000000.0,
892
+ "poisson": 0.3,
893
+ "density": 7850.0,
894
+ "alpha": 1.2e-05,
895
+ "file": "elbow-d240-t06-r2.json",
896
+ "mass_kg": 135.37176653543156
897
+ },
898
+ {
899
+ "id": "elbow-d240-t06-r3",
900
+ "kind": "elbow",
901
+ "length": 0.96,
902
+ "radius": 0.72,
903
+ "diameter": 0.24,
904
+ "thickness": 0.0144,
905
+ "ns": 24,
906
+ "nt": 24,
907
+ "nr": 1,
908
+ "modes": 12,
909
+ "stub": 0.48,
910
+ "young": 200000000000.0,
911
+ "poisson": 0.3,
912
+ "density": 7850.0,
913
+ "alpha": 1.2e-05,
914
+ "file": "elbow-d240-t06-r3.json",
915
+ "mass_kg": 165.0395892434845
916
+ }
917
+ ]
918
+ }
web/data/elbow-d120-t04-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d120-t04-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d120-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d120-t06-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d120-t06-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d120-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t04-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t04-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t06-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t06-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d160-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t04-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t04-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t06-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t06-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d200-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t04-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t04-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t06-r1.5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t06-r2.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/elbow-d240-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t04-r5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t04-r8.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t06-r5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d120-t06-r8.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t04-r5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t04-r8.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t06-r5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d160-t06-r8.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d200-t04-r3.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d200-t04-r5.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d200-t04-r8.json ADDED
The diff for this file is too large to render. See raw diff
 
web/data/straight-d200-t06-r3.json ADDED
The diff for this file is too large to render. See raw diff