Tire Wear and Grip Editor Web-Tool

Discussion in 'Car Modding' started by redapg, Feb 2, 2016.

  1. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Coming from HERE, i thought it would be better to open a seperate Thread.
    I offer a Webscript/- Tool, that allows to modify Abraison-, Degradation, and other Entries of the rF2 Tire/TGM Files Realtime Section.


    The current editable Entries are shown on the Screenshot.

    I would appreciate every Feedback and Suggestions, to improve the Tool!

    And a big "Thank you!" goes to Marco (Slow Motion) for Supporting me with this.


    My last Script-Modifications have been:

    - Added some more Entries and fixed some Bugs
    (The Screenshot below shows the current Version)

    - Added the Entry StaticCurve

    - Added the SizeMultiplier
    - fixed a Bug where an error-message was shown at the "Start:" field of AbrasionCurveWLFStartStep was shown, even if a valid Value has been entered.

    - fixed a Bug where changes for the StaticBaseCoefficient and SlidingBaseCoefficient hasn't been saved
    - i've added the Entries: TemporaryGripLossForWetness and WetConductance
    - i've removed all Dropdown-Menus, to get the Script load quicker and to don't have Restrictions in the Range of possible Values

    Use it at your own risk and be sure that you know what you are doing. ;)

    [​IMG]
     
    Last edited by a moderator: Feb 13, 2016
  2. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
  3. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Yes, of course, thank you for the Hint. :)

    I forgot it, because i normally post a Hint that the Link is shown in my Signature, what i totally forgot here. :D
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Added "MarbleEffectOnEffectiveLoad".
     
  5. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    - Added the SizeMultiplier
    - fixed a Bug where an error-message was shown at the "Start:" field of AbrasionCurveWLFStartStep was shown, even if a valid Value has been entered.
     
  6. Butters

    Butters Registered

    Joined:
    May 20, 2011
    Messages:
    134
    Likes Received:
    0
    Any tutorials for those that have a need but no idea lol

    Sent from my SM-G928I using Tapatalk
     
  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    - Added the Entry StaticCurve

    No, i'm sorry.

    To be honest, even if i wanted, i couldn't create such a Tutorial, because the Tire-thing is a very complex Theme and i don't have the Knowledge to be able to answer all Questions to every of its influencing Values and give detailed Instructions.

    If you don't know what to do/ which Values you have to change, i would recommend to read the rF2_TGM_TyreTool_QuickStart_V3.pdf first.

    But some things are kind of "Self-explaining", like e.g. the AbrasionVolumePerUnitEnergy Entries, or the ones for the Degradation.
     
  8. peterchen

    peterchen Registered

    Joined:
    Oct 25, 2011
    Messages:
    2,099
    Likes Received:
    287
    Thanks a million! ;)
     
  9. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    The latest Version is online now.
    I've fixed some Bugs and added some more Entries.

    I have seen that some of you have uploaded some TGM Files, that caused some Error-Messages.

    It would be great if you would post every Error you get or every Malfunction, here in this Thread.
    Because older TGM Files don't have all Entries of the newer ones, Errors can happen, i can not test every existing TGM File. ;)

    But to improve the Script in a way that it loads every, also older TGM Files correctly, i need your Help in that way, that you post all Errors that you get, here.

    Thank you
     
  10. Radek Sirc

    Radek Sirc Registered

    Joined:
    Jan 11, 2016
    Messages:
    33
    Likes Received:
    2
    Hello.
    Please, can you explain, what are exactly doing the added variables "TemporaryGripLossForWetness" and "WetConductance", and how they are working? What is the range of their entry values? I didn´t find them in any my .tgm files or in ISI´s tire example as well. If I uploaded any my .tgm file through your Grip Editor, this variables didn´t show there..

    Thank you...
     
  11. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Hello Rodd,
    unfortunately i can only give the Information that i've found so far.

    Hint: all these Informations are already shown inside of the Tool, if you click on the blue Icon with the questionmark.

    To the Entry "TemporaryGripLossForWetness" i haven't found any official Information yet.
    My Supposes (not officially confirmed) are:
    - It's a percentual Value
    - Range 0-1
    - could work this way: If the Value e.g. is 0.35, you loose 35% of the dry Grip. But i can't tell you at which Situation/State of Wetness

    To "WetConductance", i only have this:
    (<multiplier_by_dampness>,<multipli er_by_wetness>,<reserved1>,<reserved2>) ... Dampness is non-standing water. Wetness is standing water. As the track gets wet, dampness goes from 0.0-1.0 and then wetness goes from 0.0-1.0.

    And most Entries interact with other Entries.....

    That your TGM Files don't have these Entries, shows that it aren't newer ones.
    You can e.g. try a Tire from the Megane 2013 V 1.02 (the 2013 TGM Files), that do have it.
     
  12. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    TemporaryGripLossForWetness is the percentage of grip to lose on a full wet track (100% wet, or 1.0). This only starts getting applied after 50% wetness - because up til then is considered 'damp', and only the DampnessEffects are considered.

    WetConductance I'm not sure on right now.
     
  13. Radek Sirc

    Radek Sirc Registered

    Joined:
    Jan 11, 2016
    Messages:
    33
    Likes Received:
    2
    Redapg and Lazza, thank you for your answer. You are right, in the new Megane mode there are these entries in .tgm files. I have never seen it in any .tgm file before. I have to try, if it is possible to add these items to older .tgm files. In any case it´s good news. Because now it´s clear that ISI knows about the problem with state of racetracks in wet weather and they are trying to react somehow. On the other side, it´s very strange, that ISI does it very quietly and secretly instead of announcing this improvement. I didn´t read about it in any notices to new features and improvements in any of new builds. But anyway, if the build 1052 is able to calculate with this entries, it´s big step to improvement of rF2.
     
    Last edited by a moderator: Feb 21, 2016
  14. Radek Sirc

    Radek Sirc Registered

    Joined:
    Jan 11, 2016
    Messages:
    33
    Likes Received:
    2
    By the way, there are much more entries in the .tgm´s of Megane mode 2013, which are not explained in older ISI´s tire examples... Some of them seems to be very interesting. Especially:

    VerticalDampingMultiplier=(2.1,1.23,0.74,0.74,0.74,1.23,2.1)
    HystereticVerticalDamperPerUnitArea=13545
    LoadVsDeflectionMultiplier=0.94
    LateralDistributionMultiplier=0.83
    LongitudinalDistributionMultiplier=1
    GrooveSqrdEffects=(0,0,-0.01,-0.02)

    I will be very grateful for an explanation of these items.. Thx
     
  15. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Lazza, do you remember from where you got the Information?

    New "Informations" are normally given in one of the TGM Files of the DevModes Skip Barber.
    And Basic Informations you can find in the rF2_TGM_TyreTool_QuickStart_V3.pdf.
    Below you can see the Informations from the Build 1052 Skip Barber TGM.

    Code:
    StaticBaseCoefficient=1.985 // base grip coefficient for static friction
    SlidingBaseCoefficient=1.34 // base grip coefficient for sliding friction
    AbrasionCurveWLFStartStep=(-8.5,0.5) // WLF lookup start and step value
    AbrasionVolumePerUnitEnergy=(7.02e-10,6.90e-10,6.66e-10,6.36e-10,5.95e-10,5.40e-10,4.25e-10,3.16e-10,2.29e-10,1.55e-10,1.20e-10,9.49e-11,7.64e-11,6.55e-11,6.00e-11,6.27e-11,6.82e-11,7.75e-11,9.71e-11,1.23e-10,1.64e-10,2.35e-10,3.22e-10,3.82e-10,4.31e-10,4.53e-10,4.64e-10,4.73e-10,4.80e-10,4.85e-10,4.88e-10,4.89e-10) // m^3/J volume of rubber sheared per Joule energy, max 32 values
    DegradationPerWearFraction=(0.993,1,0.9992,0.998,0.9972,0.9966,0.9961,0.9956,0.9951,0.9946,0.9941,0.9937,0.9933,0.9929,0.9925,0.9921,0.9917,0.9913,0.9909,0.9905,0.9901,0.9897,0.9893,0.9889,0.9885,0.9881,0.9877,0.9873,0.9869,0.986,0.98,0.88) // Degradation based on wear fraction, max 32 values
    DegradationCurveParameters=(344.15,6000) // (<activation_temperature_K>,<heat_history_step_Ks>) heat history is a linear progression of temperature over activation point multiplied by time
    DegradationPerUnitHistory=(1,0.9925,0.9862,0.9809,0.9765,0.9729,0.97,0.9677,0.9659,0.9643,0.9628,0.9614,0.96,0.9586,0.9572,0.9558,0.9544,0.953,0.9516,0.9502,0.9488,0.9474,0.946,0.9446,0.9432,0.9418,0.9403,0.9386,0.9367,0.9345,0.9322,0.93) // Degradation per heat history step, up to 32 values
    MassInertiaMultiplier=(1.0,1.0,1.0,1.0) // multipliers for mass (m), inertia (p,q,r)
    TemporaryRingDamper=(0.085,0.094,0.094,0.17,0.16,0.16) // tire ring damping for x,y,z,p,q,r
    TemporaryBristleSpring=(21700, 14500, 28500) // bristle spring rate for Lat/Vert/Long
    TemporaryBristleDamper=(0.95, 0.9, 0.95)
    MarbleEffectOnEffectiveLoad=-0.06 // fraction of load available for grip when driving on maximum marbles (10% less load in this case)
    TerrainWeightOnContactTemperature=0.1 // temperature used for WLF is influenced by the track temperature (in this case, 90% tire surface, 10% terrain surface)
    WLFParameters=(228.15,50,-8.86,51.5) // glass transition temperature.  Other values pretty much the same for all rubbers, except butyl.  Most likely, you won't touch the last three values.
    StaticRoughnessEffect=-0.2 // terrain roughness influence on static friction
    GrooveEffects=(0.092,0.092,0.076,0.048) // maximum groove influences grip here for: static friction, sliding adhesion, sliding micro-deformation, sliding macro-deformation
    DampnessEffects=(-0.055,-0.06,-0.04,-0.01) // fully damp track (at threshold of standing water or more) influence on grip for same things as GrooveEffects
    StaticCurve=(153, 0.66, 353, 1.176, 653, 0.65) // at -100C there's 52% of maximum static grip, at 100C it's maximum, at 400C it's back down to 52% of max static grip
    SlidingAdhesionCurve=(-9.2, 0.4, -5.2, 1.68, -1.2, 0.2) // min sliding speed (log(10) aTv), grip multiplier (for min), peak sliding speed, grip multiplier (for peak), max sliding speak, grip multiplier (for max)
    SlidingMicroDeformationCurve=(-5.2, 0.3, -1.2, 1.8, +2.5, 0.3) // these values are blended following a cosine rule
    SlidingMacroDeformationCurve=(-1.2, 0.2, +2.5, 2, +6.0, 0.4) // to get the totals the adhesion, micro and macro curves are then multiplied by the surface types as defined in the TDF files, the defaults of which are 0.25 for adhesion, 0.5 microroughness, 0.25 macroroughness
    RubberPressureSensitivityPower=(-1.17,4.04e5,5e5,1) // rubber contact pressure sensivity power, offset, nominal maximum, normalize (1=yes,2=no)
    IgnitionParameters=(493,0.06,49) // ignition temperature of rubber in Kelvin, heat power factor, nominal max of area*temperature_over_ignition
    SizeMultiplier=(1,1) // if necessary, an adjustment to the geometrical width and radius; default is (1,1)
    ThermalDepthAtSurface=0.0001 // the depth of the temperature sample layer used for contact properties (i.e. grip and wear); if provisional second layer is disabled, tread will never be allowed to get thinner than this value
    ThermalDepthBelowSurface=0.0004 // (if provisional code enabled) the depth of the second layer; value should be >= surface layer but not too big; tread will never be allowed to get thinner than these two layers
    BristleLength=0.12 // tuned to aid collision detection, no other physical effects
    DampingHeatEnergy=(1.0,0.4,0.8) // (Fraction of ring damping heat into sidewall (should probably be 1.0), fraction of bristle damping heat into carcass, fraction of bristle damping heat into tread) the 2nd and 3rd values should generally add up to 1.0
    InternalGasHeatTransfer=(10,5,0.6) // (base, mult, power) - heat transfer coefficients to internal gas cavity = base+(mult*(vel^power)), where vel is linear velocity of tire
    ExternalGasHeatTransfer=(8,4,0.6) // (base, mult, power) - heat transfer coefficients to external air = base+(mult*(vel^power)), where vel is linear velocity of tire
    GroundConductance=(1000,0.003,0) // (base, mult, reserved) - thermal contact conductance coefficient to ground = base+(mult*pressure), where pressure is contact pressure and the reserved variable will be used at some later stage.
    TireRadiationEmissivity=0.936 // thermal radiation emissivity for external tire surface
    InternalGasSpecificHeatAtConstantVolume=(250,716) // (temperature (K), specific heat at constant volume (J/(kg*K)))
    InternalGasSpecificHeatAtConstantVolume=(300,718) // 719 J/(kg*K) is an approximation for dry air, but value
    InternalGasSpecificHeatAtConstantVolume=(350,721) // changes slightly depending on temperature
    InternalGasSpecificHeatAtConstantVolume=(400,726) //
    InternalGasSpecificHeatAtConstantVolume=(450,733) //
    InternalGasSpecificHeatAtConstantVolume=(500,742) // you may have other issues if the internal gas reaches 500 degrees Kelvin
    
     
  16. Radek Sirc

    Radek Sirc Registered

    Joined:
    Jan 11, 2016
    Messages:
    33
    Likes Received:
    2
    I know this .pdf document and .tgm file as well. But I don't see entries about which I wrote before in their content. Maybe I am blind, but I really can't find it:)
     
  17. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Yes, that's true and you aren't blind. :)

    The only thing i can add to it, is for the "GrooveSqrdEffects" and it's just:
    Added GrooveSqrdEffect with the primary purpose of reducing speedway grip a fraction

    Maybe the other Lines that you've listed has been "explained" in older DevMode TGM Files.
    If i am very bored one Day, i will install every available SDK/DevMode and look into all TGM Files....

    But it would be much easier if ISI would provide a complete overhauled Tire pdf File, containing all new Values with usable Explanations.
     
  18. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    Sorry, no, I don't recall if it was clearly spelled out or I tested with some values and deduced how it works. I'm pretty sure I set it to a large value (like 0.99) and observed no extra grip loss on a damp track in devmode (wetness < 0.50), then massive grip loss as wetness approached 1.0. And by testing a very small value you can also see that the figure is applied after the dampness effects, because if it were relative to the dry grip you could lose a decent amount of grip via dampnesseffects and then gain grip again with a low TemporaryGripLossForWetness - but that doesn't happen.

    I should also say the introduction of this parameter came after some questions to ISI (via PM) regarding dampness and wet grip, so it very quickly made sense in filling that particular hole. Some of the comments in the files now help clear up the 0.0 < dampness < 0.50 < wetness < 1.0 thing; at the time it wasn't clear how that worked.

    I agree new devmode files with some clear explanations would be good. You can basically work most of it out by considering all the lines and how they would fit together, but it's not much fun for newcomers (generally people want to adjust one thing, and take stabs at which line they need... you can't really understand any of it without looking at all or most of it).
     
  19. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,960
    Likes Received:
    2,809
    Thanks for the reply Lazza, i guess we all would apreciate a better flow of Information from ISI, regarding to such things.
     

Share This Page