Elementos finitosFinite elementsAgosto 2026August 20269 min de lectura9 min read
Elementos 1D: barras (trusses) y vigas (beams), ¿cuál elegir?.1D elements: trusses and beams, which one to use?.
Barras y vigas comparten estante en la librería de elementos 1D, pero no comparten física. Sus grados de libertad deciden qué cargas transmiten y qué tipo de unión crean sin que tú lo definas.
Trusses and beams sit on the same shelf in the 1D element library, but they don't share physics. Their degrees of freedom decide what loads they carry — and what kind of joint they create without you ever defining it.
CE
Cristian EstévezIngeniero mecánico · 10 de agosto de 2026Mechanical Engineer · August 10, 2026
En el modelado por elementos finitos, la eficiencia es tan importante como la precisión. Cuando una pieza es mucho más larga en una dirección que en las otras dos —una biela, el brazo de una grúa, el larguero de un chasis— discretizarla en volumen completo es tiempo de cálculo malgastado: la física dominante ya vive a lo largo de un único eje. Ahí es donde entran los elementos unidimensionales (1D). Pero dentro de esa familia conviven dos elementos con comportamientos radicalmente distintos —la barra (truss) y la viga (beam)— y confundirlos no es un matiz de nomenclatura: es decidir, sin darte cuenta, qué parte de la física real vas a modelar y cuál vas a descartar.
Barras (trusses): la simplicidad de la carga axial
El elemento de barra —el truss— es el bloque de construcción más simple de toda la librería 1D. Su formulación asume que solo puede transmitir carga axial: tracción o compresión pura a lo largo de su propio eje. Nada más.
Esa restricción no es una limitación del software: es una hipótesis física deliberada. Se asume que las barras están unidas mediante rótulas o pasadores sin fricción en sus extremos, incapaces de transmitir momento flector o cortante transversal. En un modelo 2D, cada nodo conserva sus 2 grados de libertad de traslación; en 3D, 3. Pero por mucho que el nodo «tenga» esos grados de libertad activos en el sistema global, la matriz de rigidez local de la barra solo ofrece resistencia al estiramiento o al acortamiento a lo largo de su propio eje — el resto de direcciones quedan sin ninguna rigidez aportada por ese elemento.
Fig. 1 — La barra (truss) solo transmite carga axial N a lo largo de su eje. Sus extremos son articulaciones ideales: no ofrecen ninguna resistencia al giro, representada aquí por el aro discontinuo que gira libremente alrededor de cada pasador.
Es el elemento natural de puentes de celosía, torres de celosía eléctrica, actuadores lineales o tirantes: cualquier componente cuyas uniones permitan giro libre y cuyas cargas se apliquen exclusivamente en los nudos. Si esa condición no se cumple —si aparece una carga a mitad de vano, o la unión real sí transmite algo de momento— el elemento barra deja de ser una simplificación razonable: se convierte en un error de modelado.
Vigas (beams): el elemento todoterreno
La viga —el beam— es, en cambio, uno de los elementos más versátiles de toda la biblioteca de FEA. Puede transmitir carga axial, cortante, momento flector y torsión de forma simultánea, porque su formulación no impone ninguna de las restricciones cinemáticas de la barra.
Para capturar esa complejidad, cada nodo de un elemento de viga tiene 6 grados de libertad en 3D: tres traslaciones y tres rotaciones. Esas rotaciones no son un adorno: son exactamente lo que permite que el elemento flexione y se retuerza a lo largo de su longitud, en lugar de limitarse a estirarse o acortarse como la barra.
Fig. 2 — El nodo libre de una viga tiene 3 DoF activos en 2D (ux, uy, θz) — 6 en 3D. Las rotaciones son las que permiten la curva de flexión discontinua: la barra de la Fig. 1 no puede dibujar esa curva.
Ese salto de capacidad tiene un coste de datos. Definir una viga exige más que el área de la sección: el software necesita los momentos de inercia en dos planos (Iyy, Izz), el producto de inercia si la sección no es simétrica, y la constante de torsión (J). Omitir cualquiera de ellos —o reutilizar la constante torsional de una sección circular en un perfil abierto, donde J puede caer varios órdenes de magnitud— es una de las formas más silenciosas de invalidar un cálculo de vigas sin que el solver avise.
Esa diferencia de tamaño entre las dos matrices locales —de las que ya hablé al explicar cómo se ensambla la matriz de rigidez global— no es un detalle de implementación: es, literalmente, el doble de información que el elemento viga necesita transportar entre sus dos nodos.
Se usa en estructuras de marcos (frames) de edificación, chasis de vehículos, ejes de transmisión sometidos a torsión y, en general, en cualquier miembro que deba soportar cargas transversales o momentos distribuidos a lo largo de su longitud — no solo en sus extremos.
El impacto de los DoF en la conexión
El error más habitual del analista que empieza no es elegir mal un elemento aislado: es mezclarlos sin pensar en qué grados de libertad tiene activos cada uno. La compatibilidad —o incompatibilidad— de esos DoF es lo que decide, automáticamente, cómo se comporta cada unión del modelo.
Conectar dos vigas entre sí produce, por defecto, una unión rígida: como ambas transmiten traslaciones y rotaciones, la conexión se comporta como una soldadura perfecta sin ninguna definición adicional. Conectar una viga a una barra produce el resultado contrario: la unión actúa automáticamente como una articulación, porque la barra no tiene ninguna rigidez rotacional con la que «frenar» el giro de la viga en ese nodo. No es una opción que elijas en un menú del software — es una consecuencia matemática directa de qué DoF tiene formulado cada elemento.
Fig. 3 — La compatibilidad de DoF decide el tipo de unión sin que la definas: dos vigas crean por defecto una unión rígida que transmite momento (izq.); una viga conectada a una barra se comporta como una articulación, porque la barra no tiene rigidez rotacional que frene el giro (dcha.).
Un elemento no transmite lo que tú imaginas que transmite. Transmite exactamente lo que sus grados de libertad le permiten transmitir, y ni un newton-milímetro más.
Esa misma lógica produce el error más caro —y menos evidente— del modelado con barras: el mecanismo. Si diseñas una estructura solo con elementos barra y no restringes correctamente sus movimientos, puedes acabar con un sistema capaz de desplazarse sin deformarse: una cadena cinemática, no una estructura. El solver no falla por casualidad — la matriz de rigidez global se vuelve singular porque, matemáticamente, existe al menos una dirección en la que no hay ninguna resistencia. Un caso particular y muy real: un elemento viga con ambos extremos articulados (pinned-pinned) puede girar libremente sobre su propio eje longitudinal si nada más restringe esa rotación, y el solver terminará devolviendo un mensaje de matriz singular sin que sea evidente, a primera vista, de dónde viene.
# Propiedades mínimas — no dejarlo a la intuición del softwaretruss.dof_node = 3# solo traslaciones (3D)truss.area = A# única propiedad geométricabeam.dof_node = 6# 3 traslaciones + 3 rotaciones (3D)beam.area = Abeam.Iyy, beam.Izz = Iyy, Izz# inercia a flexión, dos planosbeam.J = J# constante torsional — ¡ojo con perfiles abiertos!
Cómo elegir
La decisión no depende de qué elemento resulte más «completo» —la viga siempre lo es—, sino de qué ocurre físicamente en la unión real que estás modelando:
Usa barras cuando las uniones reales permitan giro libre y las cargas se apliquen solo en los nudos: celosías, tirantes, actuadores. Añadir rigidez rotacional aquí no hace el modelo más preciso — introduce una física que no existe en la pieza real.
Usa vigas cuando el miembro deba resistir flexión, cortante o torsión, o cuando la unión real transmita momento: marcos, chasis, ejes. Modelarlo como barra no es una simplificación válida — el elemento se «doblará» sin ofrecer ninguna resistencia, y el resultado será físicamente imposible.
Característica
Barra (truss)
Viga (beam)
Cargas principales
Axial (tracción / compresión)
Axial, cortante, flexión, torsión
DoF por nodo (3D)
3 traslaciones
3 traslaciones + 3 rotaciones
Tipo de unión
Articulada (pin)
Rígida (soldada / frame)
Propiedades necesarias
Área (A)
Área (A), inercias (Iyy, Izz), torsión (J)
Regla de oro: no compliques el modelo con vigas si tus uniones son articulaciones reales y las cargas viven en los nudos — es rigidez que no existe, maquillada de precisión. Y no fuerces nunca una barra a hacer el trabajo de una viga: el problema no es que el resultado salga «un poco distinto», es que la barra no puede ofrecer la resistencia a flexión que la geometría real sí tiene. En ambos casos, el elemento correcto no es el más sofisticado disponible en el software, sino el que reproduce exactamente los grados de libertad de la unión física que estás representando.
FIN
In finite element modelling, efficiency matters as much as accuracy. When a part is much longer in one direction than the other two — a connecting rod, a crane arm, a chassis rail — discretising it as a full solid is wasted compute time: the dominant physics already lives along a single axis. That's where one-dimensional (1D) elements come in. But within that family live two elements with radically different behaviour — the truss and the beam — and mixing them up isn't a naming nuance: it's deciding, without noticing, which part of the real physics you're modelling and which you're throwing away.
Trusses: the simplicity of axial load
The truss element is the simplest building block in the entire 1D library. Its formulation assumes it can only transmit axial load: pure tension or compression along its own axis. Nothing else.
That restriction isn't a software limitation — it's a deliberate physical assumption. Trusses are assumed to be connected through frictionless pins or hinges at their ends, unable to transmit bending moment or transverse shear. In a 2D model, each node keeps its 2 translational degrees of freedom; in 3D, 3. But no matter how many of those DoF are "active" in the global system at that node, the truss's local stiffness matrix only offers resistance to stretching or shortening along its own axis — every other direction gets zero stiffness contribution from that element.
Fig. 1 — The truss only transmits axial load N along its axis. Its ends are ideal pins: they offer no resistance to rotation, shown here as the dashed ring spinning freely around each pin.
It's the natural element for lattice bridges, electrical pylons, linear actuators or tie rods — any component whose joints allow free rotation and whose loads are applied exclusively at the nodes. If that condition doesn't hold — if a load appears mid-span, or the real joint does transmit some moment — the truss element stops being a reasonable simplification: it becomes a modelling error.
Beams: the all-terrain element
The beam, by contrast, is one of the most versatile elements in the entire FEA library. It can transmit axial load, shear, bending moment, and torsion simultaneously, because its formulation imposes none of the truss's kinematic restrictions.
To capture that complexity, each node of a beam element has 6 degrees of freedom in 3D: three translations and three rotations. Those rotations aren't decorative — they're exactly what lets the element bend and twist along its length, instead of only stretching or shortening like the truss.
Fig. 2 — The free node of a beam has 3 active DoF in 2D (ux, uy, θz) — 6 in 3D. The rotations are what let it trace the dashed bending curve: the truss in Fig. 1 cannot draw that curve.
That jump in capability comes with a data cost. Defining a beam requires more than the cross-section area: the software needs the moments of inertia in two planes (Iyy, Izz), the product of inertia if the section isn't symmetric, and the torsional constant (J). Skipping any of them — or reusing the torsional constant of a circular section on an open profile, where J can drop several orders of magnitude — is one of the most silent ways to invalidate a beam analysis without the solver ever warning you.
That difference in size between the two local matrices — which I already covered when explaining how the global stiffness matrix is assembled — isn't an implementation detail: it's literally twice the information the beam element needs to carry between its two nodes.
It's used in building frames, vehicle chassis, transmission shafts under torsion, and generally in any member that must carry transverse loads or distributed moments along its length — not just at its ends.
The impact of DoF on the connection
The most common mistake beginning analysts make isn't choosing the wrong element in isolation — it's mixing them without thinking about which degrees of freedom each one has active. The compatibility — or incompatibility — of those DoF is what automatically decides how every joint in the model behaves.
Connecting two beams together produces, by default, a rigid joint: since both transmit translations and rotations, the connection behaves like a perfect weld with no extra definition required. Connecting a beam to a truss produces the opposite result: the joint automatically acts as a hinge, because the truss has no rotational stiffness with which to "restrain" the beam's rotation at that node. It isn't an option you pick from a software menu — it's a direct mathematical consequence of which DoF each element has formulated.
Fig. 3 — DoF compatibility decides the joint type without you defining it: two beams create a rigid joint that carries moment by default (left); a beam connected to a truss behaves like a hinge, because the truss has no rotational stiffness to restrain the rotation (right).
An element doesn't transmit what you imagine it transmits. It transmits exactly what its degrees of freedom allow it to transmit, and not a single newton-millimetre more.
That same logic produces the most expensive — and least obvious — mistake in truss modelling: the mechanism. If you design a structure using only truss elements and don't constrain its movements correctly, you can end up with a system able to displace without deforming: a kinematic chain, not a structure. The solver doesn't fail by accident — the global stiffness matrix becomes singular because, mathematically, there's at least one direction with zero resistance. One particular and very real case: a beam element with both ends pinned (pinned-pinned) can rotate freely about its own longitudinal axis if nothing else constrains that rotation, and the solver will end up returning a singular-matrix message without it being obvious, at first glance, where it's coming from.
# Minimum properties — don't leave it to the software's guessworktruss.dof_node = 3# translations only (3D)truss.area = A# only geometric property neededbeam.dof_node = 6# 3 translations + 3 rotations (3D)beam.area = Abeam.Iyy, beam.Izz = Iyy, Izz# bending inertia, both planesbeam.J = J# torsional constant — watch open sections!
How to choose
The decision doesn't depend on which element is "more complete" — the beam always is — but on what physically happens at the real joint you're modelling:
Use trusses when the real joints allow free rotation and loads are applied only at the nodes: lattices, tie rods, actuators. Adding rotational stiffness here doesn't make the model more accurate — it introduces physics that doesn't exist in the real part.
Use beams when the member must resist bending, shear, or torsion, or when the real joint transmits moment: frames, chassis, shafts. Modelling it as a truss isn't a valid simplification — the element will "fold" with no resistance at all, and the result will be physically impossible.
Property
Truss
Beam
Primary loads
Axial (tension / compression)
Axial, shear, bending, torsion
DoF per node (3D)
3 translations
3 translations + 3 rotations
Joint type
Pinned
Rigid (welded / frame)
Required properties
Area (A)
Area (A), inertia (Iyy, Izz), torsion (J)
Rule of thumb: don't complicate the model with beams if your joints are genuinely pinned and the loads live at the nodes — that's stiffness that doesn't exist, dressed up as precision. And never force a truss to do a beam's job: the problem isn't that the result comes out "a little off," it's that the truss cannot offer the bending resistance the real geometry actually has. In both cases, the right element isn't the most sophisticated one available in the software — it's the one that exactly reproduces the degrees of freedom of the real joint you're representing.