[{"data":1,"prerenderedAt":1346},["ShallowReactive",2],{"lib:\u002Fsolver\u002Fgetting-started":3,"lib-nav:en:\u002Fsolver":1313},{"id":4,"title":5,"body":6,"description":1304,"extension":1305,"group":1306,"meta":1307,"navigation":190,"order":62,"path":1309,"seo":1310,"stem":1311,"__hash__":1312},"libs\u002Fsolver\u002Fgetting-started.md","Getting started",{"type":7,"value":8,"toc":1290},"minimark",[9,13,24,41,44,49,74,100,106,145,156,160,163,585,599,608,789,801,959,963,1044,1048,1107,1111,1248,1252,1286],[10,11,5],"h1",{"id":12},"getting-started",[14,15,16,17,23],"p",{},"@edubeam\u002Ffem is the finite element solver behind ",[18,19,22],"span",{"className":20},[21],"edubeam","EduBeam",": every diagram, reaction and deflection the app shows comes from it. Use it to solve plane beams, frames and trusses from your own code, in the browser or in Node: generate exercises with their answers, check homework, run parametric studies, or put a solver behind a web page.",[25,26,29],"div",{"className":27},[28],"actions",[14,30,31,36,37],{},[32,33,35],"a",{"href":34},"#a-simply-supported-beam","Solve your first beam"," ",[32,38,40],{"href":39},"\u002Fsolver\u002Fbeams","Browse the recipes",[14,42,43],{},"It is written in TypeScript, ships its own types, and is free software under the GPL-3.0. It was created by Bořek Patzák and is developed with Jan Voříšek and contributors.",[45,46,48],"h2",{"id":47},"install","Install",[50,51,56],"pre",{"className":52,"code":53,"language":54,"meta":55,"style":55},"language-bash shiki shiki-themes github-light github-dark","npm install @edubeam\u002Ffem\n","bash","",[57,58,59],"code",{"__ignoreMap":55},[18,60,63,67,71],{"class":61,"line":62},"line",1,[18,64,66],{"class":65},"sScJk","npm",[18,68,70],{"class":69},"sZZnC"," install",[18,72,73],{"class":69}," @edubeam\u002Ffem\n",[14,75,76,77,80,81,84,85,91,92,95,96,99],{},"It works with ",[57,78,79],{},"import"," and ",[57,82,83],{},"require",", in the browser and in Node 18 or later, and brings one dependency, ",[32,86,90],{"href":87,"rel":88},"https:\u002F\u002Fmathjs.org",[89],"nofollow","mathjs",". Until version 0.3.0 it was installed from GitHub as ",[57,93,94],{},"ts-fem",": if you used that, change your imports to ",[57,97,98],{},"@edubeam\u002Ffem",". Nothing else changed.",[14,101,102,103,105],{},"To try the example below from an empty folder, make it a project that uses ",[57,104,79],{},", then install:",[50,107,109],{"className":52,"code":108,"language":54,"meta":55,"style":55},"npm init -y\nnpm pkg set type=module\nnpm install @edubeam\u002Ffem\n",[57,110,111,122,136],{"__ignoreMap":55},[18,112,113,115,118],{"class":61,"line":62},[18,114,66],{"class":65},[18,116,117],{"class":69}," init",[18,119,121],{"class":120},"sj4cs"," -y\n",[18,123,125,127,130,133],{"class":61,"line":124},2,[18,126,66],{"class":65},[18,128,129],{"class":69}," pkg",[18,131,132],{"class":69}," set",[18,134,135],{"class":69}," type=module\n",[18,137,139,141,143],{"class":61,"line":138},3,[18,140,66],{"class":65},[18,142,70],{"class":69},[18,144,73],{"class":69},[14,146,147,148,151,152,155],{},"Without ",[57,149,150],{},"\"type\": \"module\""," in ",[57,153,154],{},"package.json"," the example still runs, but Node prints a warning first.",[45,157,159],{"id":158},"a-simply-supported-beam","Your first beam",[14,161,162],{},"A 6 m steel beam, an IPE 200, on a pin and a roller under 12 kN\u002Fm:",[50,164,169],{"className":165,"code":166,"filename":167,"language":168,"meta":55,"style":55},"language-ts shiki shiki-themes github-light github-dark","import { DofID, LinearStaticSolver } from '@edubeam\u002Ffem'\n\nconst solver = new LinearStaticSolver()\nconst { domain } = solver\n\n\u002F\u002F SI units throughout: m, N, Pa. Steel and an IPE 200.\ndomain.createMaterial('steel', { e: 210e9, g: 81e9 })\ndomain.createCrossSection('IPE200', { a: 28.5e-4, iy: 1943e-8, k: 5 \u002F 6 })\n\n\u002F\u002F Nodes at [x, y, z] in metres, with the DOFs their support holds\ndomain.createNode('A', [0, 0, 0], [DofID.Dx, DofID.Dz]) \u002F\u002F pin\ndomain.createNode('B', [6, 0, 0], [DofID.Dz]) \u002F\u002F roller\nconst beam = domain.createBeam2D(1, ['A', 'B'], 'steel', 'IPE200')\n\n\u002F\u002F 12 kN\u002Fm along the member's local z: down on a beam drawn left to right\nconst lc = solver.loadCases[0]\nlc.createBeamElementUniformEdgeLoad(1, [0, 12e3], true)\n\nsolver.solve()\n\nconsole.log(beam.computeBendingMomentAt(lc, 3)) \u002F\u002F N·m at midspan\nconsole.log(beam.computeShearForceAt(lc, 0)) \u002F\u002F N at A\nconsole.log(beam.computeLocalDefl(lc, 2).w[1]) \u002F\u002F m at midspan\n","beam.ts","ts",[57,170,171,186,192,212,232,237,244,274,313,318,324,358,389,430,435,441,459,488,493,504,509,536,557],{"__ignoreMap":55},[18,172,173,176,180,183],{"class":61,"line":62},[18,174,79],{"class":175},"szBVR",[18,177,179],{"class":178},"sVt8B"," { DofID, LinearStaticSolver } ",[18,181,182],{"class":175},"from",[18,184,185],{"class":69}," '@edubeam\u002Ffem'\n",[18,187,188],{"class":61,"line":124},[18,189,191],{"emptyLinePlaceholder":190},true,"\n",[18,193,194,197,200,203,206,209],{"class":61,"line":138},[18,195,196],{"class":175},"const",[18,198,199],{"class":120}," solver",[18,201,202],{"class":175}," =",[18,204,205],{"class":175}," new",[18,207,208],{"class":65}," LinearStaticSolver",[18,210,211],{"class":178},"()\n",[18,213,215,217,220,223,226,229],{"class":61,"line":214},4,[18,216,196],{"class":175},[18,218,219],{"class":178}," { ",[18,221,222],{"class":120},"domain",[18,224,225],{"class":178}," } ",[18,227,228],{"class":175},"=",[18,230,231],{"class":178}," solver\n",[18,233,235],{"class":61,"line":234},5,[18,236,191],{"emptyLinePlaceholder":190},[18,238,240],{"class":61,"line":239},6,[18,241,243],{"class":242},"sJ8bj","\u002F\u002F SI units throughout: m, N, Pa. Steel and an IPE 200.\n",[18,245,247,250,253,256,259,262,265,268,271],{"class":61,"line":246},7,[18,248,249],{"class":178},"domain.",[18,251,252],{"class":65},"createMaterial",[18,254,255],{"class":178},"(",[18,257,258],{"class":69},"'steel'",[18,260,261],{"class":178},", { e: ",[18,263,264],{"class":120},"210e9",[18,266,267],{"class":178},", g: ",[18,269,270],{"class":120},"81e9",[18,272,273],{"class":178}," })\n",[18,275,277,279,282,284,287,290,293,296,299,302,305,308,311],{"class":61,"line":276},8,[18,278,249],{"class":178},[18,280,281],{"class":65},"createCrossSection",[18,283,255],{"class":178},[18,285,286],{"class":69},"'IPE200'",[18,288,289],{"class":178},", { a: ",[18,291,292],{"class":120},"28.5e-4",[18,294,295],{"class":178},", iy: ",[18,297,298],{"class":120},"1943e-8",[18,300,301],{"class":178},", k: ",[18,303,304],{"class":120},"5",[18,306,307],{"class":175}," \u002F",[18,309,310],{"class":120}," 6",[18,312,273],{"class":178},[18,314,316],{"class":61,"line":315},9,[18,317,191],{"emptyLinePlaceholder":190},[18,319,321],{"class":61,"line":320},10,[18,322,323],{"class":242},"\u002F\u002F Nodes at [x, y, z] in metres, with the DOFs their support holds\n",[18,325,327,329,332,334,337,340,343,346,348,350,352,355],{"class":61,"line":326},11,[18,328,249],{"class":178},[18,330,331],{"class":65},"createNode",[18,333,255],{"class":178},[18,335,336],{"class":69},"'A'",[18,338,339],{"class":178},", [",[18,341,342],{"class":120},"0",[18,344,345],{"class":178},", ",[18,347,342],{"class":120},[18,349,345],{"class":178},[18,351,342],{"class":120},[18,353,354],{"class":178},"], [DofID.Dx, DofID.Dz]) ",[18,356,357],{"class":242},"\u002F\u002F pin\n",[18,359,361,363,365,367,370,372,375,377,379,381,383,386],{"class":61,"line":360},12,[18,362,249],{"class":178},[18,364,331],{"class":65},[18,366,255],{"class":178},[18,368,369],{"class":69},"'B'",[18,371,339],{"class":178},[18,373,374],{"class":120},"6",[18,376,345],{"class":178},[18,378,342],{"class":120},[18,380,345],{"class":178},[18,382,342],{"class":120},[18,384,385],{"class":178},"], [DofID.Dz]) ",[18,387,388],{"class":242},"\u002F\u002F roller\n",[18,390,392,394,397,399,402,405,407,410,412,414,416,418,421,423,425,427],{"class":61,"line":391},13,[18,393,196],{"class":175},[18,395,396],{"class":120}," beam",[18,398,202],{"class":175},[18,400,401],{"class":178}," domain.",[18,403,404],{"class":65},"createBeam2D",[18,406,255],{"class":178},[18,408,409],{"class":120},"1",[18,411,339],{"class":178},[18,413,336],{"class":69},[18,415,345],{"class":178},[18,417,369],{"class":69},[18,419,420],{"class":178},"], ",[18,422,258],{"class":69},[18,424,345],{"class":178},[18,426,286],{"class":69},[18,428,429],{"class":178},")\n",[18,431,433],{"class":61,"line":432},14,[18,434,191],{"emptyLinePlaceholder":190},[18,436,438],{"class":61,"line":437},15,[18,439,440],{"class":242},"\u002F\u002F 12 kN\u002Fm along the member's local z: down on a beam drawn left to right\n",[18,442,444,446,449,451,454,456],{"class":61,"line":443},16,[18,445,196],{"class":175},[18,447,448],{"class":120}," lc",[18,450,202],{"class":175},[18,452,453],{"class":178}," solver.loadCases[",[18,455,342],{"class":120},[18,457,458],{"class":178},"]\n",[18,460,462,465,468,470,472,474,476,478,481,483,486],{"class":61,"line":461},17,[18,463,464],{"class":178},"lc.",[18,466,467],{"class":65},"createBeamElementUniformEdgeLoad",[18,469,255],{"class":178},[18,471,409],{"class":120},[18,473,339],{"class":178},[18,475,342],{"class":120},[18,477,345],{"class":178},[18,479,480],{"class":120},"12e3",[18,482,420],{"class":178},[18,484,485],{"class":120},"true",[18,487,429],{"class":178},[18,489,491],{"class":61,"line":490},18,[18,492,191],{"emptyLinePlaceholder":190},[18,494,496,499,502],{"class":61,"line":495},19,[18,497,498],{"class":178},"solver.",[18,500,501],{"class":65},"solve",[18,503,211],{"class":178},[18,505,507],{"class":61,"line":506},20,[18,508,191],{"emptyLinePlaceholder":190},[18,510,512,515,518,521,524,527,530,533],{"class":61,"line":511},21,[18,513,514],{"class":178},"console.",[18,516,517],{"class":65},"log",[18,519,520],{"class":178},"(beam.",[18,522,523],{"class":65},"computeBendingMomentAt",[18,525,526],{"class":178},"(lc, ",[18,528,529],{"class":120},"3",[18,531,532],{"class":178},")) ",[18,534,535],{"class":242},"\u002F\u002F N·m at midspan\n",[18,537,539,541,543,545,548,550,552,554],{"class":61,"line":538},22,[18,540,514],{"class":178},[18,542,517],{"class":65},[18,544,520],{"class":178},[18,546,547],{"class":65},"computeShearForceAt",[18,549,526],{"class":178},[18,551,342],{"class":120},[18,553,532],{"class":178},[18,555,556],{"class":242},"\u002F\u002F N at A\n",[18,558,560,562,564,566,569,571,574,577,579,582],{"class":61,"line":559},23,[18,561,514],{"class":178},[18,563,517],{"class":65},[18,565,520],{"class":178},[18,567,568],{"class":65},"computeLocalDefl",[18,570,526],{"class":178},[18,572,573],{"class":120},"2",[18,575,576],{"class":178},").w[",[18,578,409],{"class":120},[18,580,581],{"class":178},"]) ",[18,583,584],{"class":242},"\u002F\u002F m at midspan\n",[14,586,587,588,590,591,594,595,598],{},"Save it as ",[57,589,167],{}," and run ",[57,592,593],{},"node beam.ts",": Node 22.18 and later run TypeScript as it is. The file has no type annotations, so on an older Node save it as ",[57,596,597],{},"beam.mjs"," instead. It prints:",[50,600,606],{"className":601,"code":603,"filename":604,"language":605,"meta":55},[602],"language-text","54000\n36000\n0.04990940552616746\n","Output","text",[57,607,603],{"__ignoreMap":55},[14,609,610,611,725,726,788],{},"Those are the textbook values, ",[18,612,615],{"className":613},[614],"katex",[18,616,619,647,714],{"className":617,"ariaHidden":485},[618],"katex-html",[18,620,623,628,635,640,644],{"className":621},[622],"katex-base",[18,624],{"className":625,"style":627},[626],"katex-strut","height:0.6833em;",[18,629,634],{"className":630,"style":633},[631,632],"mord","mathnormal","margin-right:0.109em;","M",[18,636],{"className":637,"style":639},[638],"mspace","margin-right:0.2778em;",[18,641,228],{"className":642},[643],"mrel",[18,645],{"className":646,"style":639},[638],[18,648,650,654,659,701,705,708,711],{"className":649},[622],[18,651],{"className":652,"style":653},[626],"height:1.0641em;vertical-align:-0.25em;",[18,655,658],{"className":656,"style":657},[631,632],"margin-right:0.0359em;","q",[18,660,662,666],{"className":661},[631],[18,663,665],{"className":664},[631,632],"L",[18,667,670],{"className":668},[669],"msupsub",[18,671,674],{"className":672},[673],"vlist-t",[18,675,678],{"className":676},[677],"vlist-r",[18,679,683],{"className":680,"style":682},[681],"vlist","height:0.8141em;",[18,684,686,691],{"style":685},"top:-3.063em;margin-right:0.05em;",[18,687],{"className":688,"style":690},[689],"pstrut","height:2.7em;",[18,692,698],{"className":693},[694,695,696,697],"katex-sizing","reset-size6","size3","mtight",[18,699,573],{"className":700},[631,697],[18,702,704],{"className":703},[631],"\u002F8",[18,706],{"className":707,"style":639},[638],[18,709,228],{"className":710},[643],[18,712],{"className":713,"style":639},[638],[18,715,717,721],{"className":716},[622],[18,718],{"className":719,"style":720},[626],"height:0.6444em;",[18,722,724],{"className":723},[631],"54"," kNm and ",[18,727,729],{"className":728},[614],[18,730,732,752,778],{"className":731,"ariaHidden":485},[618],[18,733,735,738,743,746,749],{"className":734},[622],[18,736],{"className":737,"style":627},[626],[18,739,742],{"className":740,"style":741},[631,632],"margin-right:0.2222em;","V",[18,744],{"className":745,"style":639},[638],[18,747,228],{"className":748},[643],[18,750],{"className":751,"style":639},[638],[18,753,755,759,762,765,769,772,775],{"className":754},[622],[18,756],{"className":757,"style":758},[626],"height:1em;vertical-align:-0.25em;",[18,760,658],{"className":761,"style":657},[631,632],[18,763,665],{"className":764},[631,632],[18,766,768],{"className":767},[631],"\u002F2",[18,770],{"className":771,"style":639},[638],[18,773,228],{"className":774},[643],[18,776],{"className":777,"style":639},[638],[18,779,781,784],{"className":780},[622],[18,782],{"className":783,"style":720},[626],[18,785,787],{"className":786},[631],"36"," kN. Here is the same beam, solved in your browser by the same solver:",[790,791],"model-figure",{":loads":792,":material":793,":members":794,":nodes":795,":results":796,":section":797,":show":798,":supports":799,"caption":800},"[{\"member\":1,\"qz\":12}]","{\"e\":210000000000,\"g\":81000000000}","[[\"A\",\"B\"]]","{\"A\":[0,0],\"B\":[6,0]}","[\"M\",\"V\",\"w\"]","{\"a\":0.00285,\"iy\":0.00001943,\"h\":0.2,\"k\":0.8333333}","[\"nodeLabels\"]","{\"A\":\"pin\",\"B\":\"roller\"}","The beam above: 6 m, IPE 200, 12 kN\u002Fm",[14,802,803,804,885,886,946,947,949,950,953,954,958],{},"The deflection, 49.91 mm, is 0.28 mm more than Euler–Bernoulli's ",[18,805,807],{"className":806},[614],[18,808,810,875],{"className":809,"ariaHidden":485},[618],[18,811,813,816,819,822,852,856,861,866,869,872],{"className":812},[622],[18,814],{"className":815,"style":653},[626],[18,817,304],{"className":818},[631],[18,820,658],{"className":821,"style":657},[631,632],[18,823,825,828],{"className":824},[631],[18,826,665],{"className":827},[631,632],[18,829,831],{"className":830},[669],[18,832,834],{"className":833},[673],[18,835,837],{"className":836},[677],[18,838,840],{"className":839,"style":682},[681],[18,841,842,845],{"style":685},[18,843],{"className":844,"style":690},[689],[18,846,848],{"className":847},[694,695,696,697],[18,849,851],{"className":850},[631,697],"4",[18,853,855],{"className":854},[631],"\u002F384",[18,857,860],{"className":858,"style":859},[631,632],"margin-right:0.0576em;","E",[18,862,865],{"className":863,"style":864},[631,632],"margin-right:0.0785em;","I",[18,867],{"className":868,"style":639},[638],[18,870,228],{"className":871},[643],[18,873],{"className":874,"style":639},[638],[18,876,878,881],{"className":877},[622],[18,879],{"className":880,"style":720},[626],[18,882,884],{"className":883},[631],"49.63"," mm. That is no error: the member is a Timoshenko beam, and 0.28 mm is ",[18,887,889],{"className":888},[614],[18,890,892],{"className":891,"ariaHidden":485},[618],[18,893,895,898,901,930,933,938,942],{"className":894},[622],[18,896],{"className":897,"style":653},[626],[18,899,658],{"className":900,"style":657},[631,632],[18,902,904,907],{"className":903},[631],[18,905,665],{"className":906},[631,632],[18,908,910],{"className":909},[669],[18,911,913],{"className":912},[673],[18,914,916],{"className":915},[677],[18,917,919],{"className":918,"style":682},[681],[18,920,921,924],{"style":685},[18,922],{"className":923,"style":690},[689],[18,925,927],{"className":926},[694,695,696,697],[18,928,573],{"className":929},[631,697],[18,931,704],{"className":932},[631],[18,934,937],{"className":935,"style":936},[631,632],"margin-right:0.0315em;","k",[18,939,941],{"className":940},[631,632],"G",[18,943,945],{"className":944},[631,632],"A",", the shear deformation of this beam. Make ",[57,948,937],{}," huge, such as ",[57,951,952],{},"1e32",", and it disappears: see ",[32,955,957],{"href":956},"\u002Fsolver\u002Fmaterials-sections#shear-deformation","Shear deformation",".",[45,960,962],{"id":961},"what-the-code-does","What the code does",[25,964,967,972,984,988,1003,1007,1014,1017,1027,1031],{"className":965},[966],"steps",[968,969,971],"h3",{"id":970},"make-a-solver","Make a solver",[14,973,974,977,978,980,981,958],{},[57,975,976],{},"new LinearStaticSolver()"," comes with an empty ",[57,979,222],{},", which holds the model, and one load case, ",[57,982,983],{},"solver.loadCases[0]",[968,985,987],{"id":986},"describe-the-model","Describe the model",[14,989,990,991,345,995,80,999,958],{},"Materials and cross sections, nodes with their supports, then members between the nodes. Everything has a label, a string or a number, by which the rest of the model refers to it. See ",[32,992,994],{"href":993},"\u002Fsolver\u002Fnodes-supports","Nodes and supports",[32,996,998],{"href":997},"\u002Fsolver\u002Fmaterials-sections","Materials and sections",[32,1000,1002],{"href":1001},"\u002Fsolver\u002Fmembers-hinges","Members and hinges",[968,1004,1006],{"id":1005},"load-it","Load it",[14,1008,1009,1010,958],{},"Loads belong to a load case: forces at nodes, loads along members, temperature and settlements. See ",[32,1011,1013],{"href":1012},"\u002Fsolver\u002Floads","Loads",[968,1015,1016],{"id":501},"Solve",[14,1018,1019,1022,1023,958],{},[57,1020,1021],{},"solver.solve()"," assembles and solves every load case. See ",[32,1024,1026],{"href":1025},"\u002Fsolver\u002Fsolving","Solving",[968,1028,1030],{"id":1029},"read-the-results","Read the results",[14,1032,1033,1034,1038,1039,1043],{},"Internal forces anywhere along a member, deflections, end forces, nodal displacements and reactions. See ",[32,1035,1037],{"href":1036},"\u002Fsolver\u002Fresults","Reading results",", and ",[32,1040,1042],{"href":1041},"\u002Fsolver\u002Fdrawing","Drawing the results"," for diagrams.",[45,1045,1047],{"id":1046},"axes-and-signs","Units and signs in brief",[14,1049,1050,1051,1055,1056,1059,1060,1101,1102,1106],{},"SI units in, SI units out. The model lies in the x–z plane with ",[1052,1053,1054],"strong",{},"z pointing down",", so a positive ",[57,1057,1058],{},"fz"," pushes down and the top of a 4 m column is at ",[18,1061,1063],{"className":1062},[614],[18,1064,1066,1087],{"className":1065,"ariaHidden":485},[618],[18,1067,1069,1073,1078,1081,1084],{"className":1068},[622],[18,1070],{"className":1071,"style":1072},[626],"height:0.4306em;",[18,1074,1077],{"className":1075,"style":1076},[631,632],"margin-right:0.044em;","z",[18,1079],{"className":1080,"style":639},[638],[18,1082,228],{"className":1083},[643],[18,1085],{"className":1086,"style":639},[638],[18,1088,1090,1094,1098],{"className":1089},[622],[18,1091],{"className":1092,"style":1093},[626],"height:0.7278em;vertical-align:-0.0833em;",[18,1095,1097],{"className":1096},[631],"−",[18,1099,851],{"className":1100},[631],". Positions along a member are metres from its first node. A sagging moment is positive. ",[32,1103,1105],{"href":1104},"\u002Fsolver\u002Fconventions","Units and signs"," has the full list.",[45,1108,1110],{"id":1109},"pitfalls","Six things that trip people up",[1112,1113,1114,1125,1135,1165,1179,1189],"ol",{},[1115,1116,1117,1120,1121,958],"li",{},[1052,1118,1119],{},"z points down."," Gravity loads are positive, and anything above the supports has a negative z. See ",[32,1122,1124],{"href":1123},"\u002Fsolver\u002Fconventions#axes","Axes",[1115,1126,1127,1130,1131,958],{},[1052,1128,1129],{},"A member's direction sets the sign of M and w."," Define beams left to right and columns bottom to top, and the signs read as in a textbook. See ",[32,1132,1134],{"href":1133},"\u002Fsolver\u002Fconventions#member-direction","Member direction",[1115,1136,1137,1144,1145,345,1147,80,1150,1152,1153,1038,1156,1159,1160,1162,1163,958],{},[1052,1138,1139,1140,1143],{},"A missing parameter gives ",[57,1141,1142],{},"NaN"," or nonsense, not an error."," A section needs ",[57,1146,32],{},[57,1148,1149],{},"iy",[57,1151,937],{},"; a material needs ",[57,1154,1155],{},"e",[57,1157,1158],{},"g"," unless ",[57,1161,937],{}," is huge. See ",[32,1164,998],{"href":997},[1115,1166,1167,1170,1171,1174,1175,958],{},[1052,1168,1169],{},"After adding nodes or members, or changing supports,"," set ",[57,1172,1173],{},"solver.codeNumberGenerated = false"," before solving again. See ",[32,1176,1178],{"href":1177},"\u002Fsolver\u002Fsolving#solving-again-after-a-change","Solving again after a change",[1115,1180,1181,1184,1185,958],{},[1052,1182,1183],{},"Reactions come back as a mathjs matrix or as an array,"," in the order the support's DOFs were given. See ",[32,1186,1188],{"href":1187},"\u002Fsolver\u002Fresults#reactions","Reactions",[1115,1190,1191,1194,1195,1243,1244,958],{},[1052,1192,1193],{},"A mechanism does not always throw."," A displacement of ",[18,1196,1198],{"className":1197},[614],[18,1199,1201],{"className":1200,"ariaHidden":485},[618],[18,1202,1204,1207,1210],{"className":1203},[622],[18,1205],{"className":1206,"style":682},[626],[18,1208,409],{"className":1209},[631],[18,1211,1213,1216],{"className":1212},[631],[18,1214,342],{"className":1215},[631],[18,1217,1219],{"className":1218},[669],[18,1220,1222],{"className":1221},[673],[18,1223,1225],{"className":1224},[677],[18,1226,1228],{"className":1227,"style":682},[681],[18,1229,1230,1233],{"style":685},[18,1231],{"className":1232,"style":690},[689],[18,1234,1236],{"className":1235},[694,695,696,697],[18,1237,1239],{"className":1238},[631,697],[18,1240,1242],{"className":1241},[631,697],"12"," m means the structure can move freely. See ",[32,1245,1247],{"href":1246},"\u002Fsolver\u002Fsolving#when-solving-fails","When solving fails",[45,1249,1251],{"id":1250},"next","Where to next",[1253,1254,1255,1263,1270,1278],"card-grid",{"cols":124},[1256,1257,1260],"card",{"icon":1258,"title":1259,"to":39},"lucide:book-open","Recipes",[14,1261,1262],{},"Complete, checked programs: beams, frames, trusses, an exercise sheet with its answer key, a small HTTP server.",[1256,1264,1267],{"icon":1265,"title":1266,"to":1041},"lucide:chart-spline","Draw the results",[14,1268,1269],{},"Hand a solved model to @edubeam\u002Fplot and get its diagrams as SVG, in Vue or from a Node script.",[1256,1271,1275],{"icon":1272,"title":1273,"to":1274},"lucide:list-tree","API reference","\u002Fsolver\u002Freference",[14,1276,1277],{},"Every class, method and argument, with units and what comes back.",[1256,1279,1283],{"icon":1280,"title":1281,"to":1282},"lucide:sigma","The theory","\u002Felements\u002Fbeam",[14,1284,1285],{},"The beam element, its stiffness matrix and transformation, in EduBeam's theory manual.",[1287,1288,1289],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":55,"searchDepth":124,"depth":138,"links":1291},[1292,1293,1294,1301,1302,1303],{"id":47,"depth":124,"text":48},{"id":158,"depth":124,"text":159},{"id":961,"depth":124,"text":962,"children":1295},[1296,1297,1298,1299,1300],{"id":970,"depth":138,"text":971},{"id":986,"depth":138,"text":987},{"id":1005,"depth":138,"text":1006},{"id":501,"depth":138,"text":1016},{"id":1029,"depth":138,"text":1030},{"id":1046,"depth":124,"text":1047},{"id":1109,"depth":124,"text":1110},{"id":1250,"depth":124,"text":1251},"Install @edubeam\u002Ffem, the finite element solver behind EduBeam, and solve, check and read a simply supported beam in a dozen lines of TypeScript.","md","Introduction",{"source":1308},"site","\u002Fsolver\u002Fgetting-started",{"title":5,"description":1304},"solver\u002Fgetting-started","PCd-v_P9GAWypvDxYS-W4kxhQ5Cp-3aL8X2wTg1iYEo",[1314,1315,1317,1319,1320,1321,1323,1326,1329,1331,1332,1333,1335,1338,1341,1344],{"path":1309,"title":5,"order":62,"group":1306},{"path":1104,"title":1105,"order":124,"group":1316},null,{"path":993,"title":994,"order":138,"group":1318},"Modelling",{"path":997,"title":998,"order":214,"group":1316},{"path":1001,"title":1002,"order":234,"group":1316},{"path":1012,"title":1322,"order":239,"group":1013},"Nodal and member loads",{"path":1324,"title":1325,"order":246,"group":1316},"\u002Fsolver\u002Ftemperature-settlements","Temperature and settlements",{"path":1327,"title":1328,"order":276,"group":1316},"\u002Fsolver\u002Fload-cases","Load cases",{"path":1025,"title":1026,"order":315,"group":1330},"Solving and results",{"path":1036,"title":1037,"order":320,"group":1316},{"path":1041,"title":1042,"order":326,"group":1316},{"path":39,"title":1334,"order":360,"group":1259},"Beams",{"path":1336,"title":1337,"order":391,"group":1316},"\u002Fsolver\u002Fframes","Frames",{"path":1339,"title":1340,"order":432,"group":1316},"\u002Fsolver\u002Ftrusses","Trusses",{"path":1342,"title":1343,"order":437,"group":1316},"\u002Fsolver\u002Fscripts","Scripts and servers",{"path":1274,"title":1273,"order":443,"group":1345},"Reference",1795108677006]