1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.30 Bug Reporting thread
    Solutions and more information may already be available.

Sway Bar Spring Rate

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Dingo135, May 28, 2022.

  1. Dingo135

    Dingo135
    Expand Collapse

    Joined:
    Aug 28, 2020
    Messages:
    120
    In the suspension jbeam of the 200BX and some modded cars based on it, there is a section called "torsionbars". It governs the behavior of the roll bar using a spring rate value. These values are determined by the diameter and some spring rates are given for certain diameters.

    Front Sway Bar:

    "torsionbars": [
    ["id1:", "id2:", "id3:", "id4:"],
    //21mm 5277
    //22mm 6356
    //22.5mm 6953
    //23mm 7592
    //24mm 9002
    //25mm 10598
    //26mm 12398
    //27mm 14419
    {"spring":5277, "damp":10, "deform":10000, "strength":9999999},
    ["arbfr", "f10rr", "f10ll", "arbfl"],
    ],

    Rear Sway Bar:

    "torsionbars": [
    ["id1:", "id2:", "id3:", "id4:"],
    //14mm 253
    //15mm 333
    //16mm 432
    //17mm 549
    //18mm 690
    //19mm 857
    //20mm 1052
    {"spring":549, "damp":10, "deform":"FLT_MAX", "strength":"FLT_MAX"},
    ["arbrr", "rx2r", "rx2l", "arbrl"],
    ],

    These sections are taken from the stock sway bars of the 200BX.

    I was wondering if there was an equation to use to calculate the spring rate for the front and rear bar from the diameter or if there was an expanded table of bar diameter vs spring rate. I looked online and found calculators like this one but I do not know all of the values needed for it and Beam may calculate it differently.
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,060
    I found some formulas in the Covet Jbeam but they might be outdated due to how old the car is. As far as I remember it was that the stiffness you get would equal the beamSpring you put in multiplied by length of the arm to the power of 2. There is also something called the motion ratio which is the difference between a real life sway bar and the Jbeam one, idk much about it, but it definitely means that you shouldn't use real life values.
     
  3. dumpling

    dumpling
    Expand Collapse

    Joined:
    Jan 28, 2021
    Messages:
    750
    For me, I just experiment around with different values and use the best one. I understand that this is very inefficient but it ultimately reaches my goal.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice