Menu

#2659 Dewpoint being artificially lowered

None
New
nobody
None
Low
2021-09-14
2021-09-14
No

If the air temperature is below the dew point, _recalc_sl_dewpoint() and _recalc_alt_dewpoint() in src/Environment/environment.cxx are simply resetting the dewpoint to the current air temperature, thus rendering any aircraft-side attempts to calculate condensation or icing intensity useless, for example this JSBSim icing function is always zero:

  <fcs_function name="atmosphere/icing-severity-norm">
   <function>
     <product>
      <!-- If condensation -->
      <ge>
       <p>atmosphere/dew-point-R</p>
       <p>propulsion/tat-r</p>
      </ge>
      <!-- Parabola between -20 and +2 °C -->
      <difference>
       <v>-20.0</v>
       <p>propulsion/tat-c</p>
      </difference>
      <difference>
       <p>propulsion/tat-c</p>
       <v>2.0</v>
      </difference>
      <!-- = 1 / max = 1 / 121 -->
      <value>0.008264462809917356</value>
     </product>
   </function>
   <clipto>
    <min>0.0</min>
    <max>1.0</max>
   </clipto>
  </fcs_function>

Or if that resetting is necessary, how else should one get the temperature below which condensation or icing occurs? As far as I know the "Appleman Chart" from Nasal/contrail.nas only works for contrails and not for icing?

Related

Tickets: #2659

Discussion

  • Anonymous

    Anonymous - 2021-09-14

    Sorry, this code is a bad example because it might actually work when <ge> would be true, or at least if replaced with comparison with tolerance dewpoint > (tat + 0.1).

    But still this resetting of dewpoint seems strange?

     
  • Anonymous

    Anonymous - 2021-09-14

    Actually it is a good example, because even with tolerance, TAT is always
    higher than air temp, so the result is always zero unless aircraft is not
    moving at all.

    On Tue, Sep 14, 2021, 06:27 Michael Danilov mike402@users.sourceforge.net
    wrote:


    Status: New
    Milestone: None
    Created: Tue Sep 14, 2021 04:27 AM UTC by Michael Danilov
    Last Updated: Tue Sep 14, 2021 04:27 AM UTC
    Owner: nobody

    If the air temperature is below the dew point, _recalc_sl_dewpoint() and
    _recalc_alt_dewpoint() in src/Environment/environment.cxx are simply
    resetting the dewpoint to the current air temperature, thus rendering any
    aircraft-side attempts to calculate condensation or icing intensity
    useless, for example this JSBSim icing function is always zero:

    <fcs_function name="atmosphere/icing-severity-norm">
    <function>
    <product>

    <ge>
    </ge></product></function></fcs_function>

    atmosphere/dew-point-R


    propulsion/tat-r




    <difference>
    <v>-20.0</v>

    propulsion/tat-c


    </difference>
    <difference>

    propulsion/tat-c


    <v>2.0</v>
    </difference>

    <value>0.008264462809917356</value>


    <clipto>
    <min>0.0</min>
    <max>1.0</max>
    </clipto>

    Or if that resetting is necessary, how else should one get the temperature
    below which condensation or icing occurs? As far as I know the "Appleman
    Chart" from Nasal/contrail.nas only works for contrails and not for icing?


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/flightgear/codetickets/2659/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Tickets: #2659

  • James Turner

    James Turner - 2021-09-14

    Michael, I think this would be easier to disucss on the devel list: more people who understand atmospheric modelling (I don't, unfortunately) wil be able to give their opinion and discuss changes to the environment.cxx functions.

     

Log in to post a comment.

MongoDB Logo MongoDB