Skip to content

sandia pool nonsensical flame tilt #16814

Todo

Description

@drjfloyd

Ran the Sandia pool fires and after running the plotting scripts got errors about the flame tilt and height stat. Looking at the flame tilt scatterplot datat there are flame tilts > 90 deg. This is not physically possible as flame tilt is measured from the z-axis and on a flat domain the maximum a flame can tilt is 90 deg.

The flame tilt is being computed as:

&DEVC ID='x_max_2', XB=-10.0,10.0,-10.0,10.0,13.9,14.1, QUANTITY='TEMPERATURE', SPATIAL_STATISTIC='MAXLOC X', STATISTICS_START=50., STATISTICS_END=80. /
&CTRL ID='x/14_2', FUNCTION_TYPE='DIVIDE', INPUT_ID='x_max_2','CONSTANT', CONSTANT=14. /
&CTRL ID='tilt_rad_s_2', FUNCTION_TYPE='ATAN', INPUT_ID='x/14_2' /
&CTRL ID='tilt_deg_s_2', FUNCTION_TYPE='MULTIPLY', INPUT_ID='tilt_rad_s_2','CONSTANT', CONSTANT= 57.296 /

The height of 14 m is outside the flame volume (see image from ethylene case). Picking a maximum temperature at that height is not going to find the flame.

It isn't clear why one of the CONSTANT terms is -57. Tilt is still being measured from the vertical axis.

image

Activity

  1. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    I'll take a look. CONSTANT= 57.296 refers to $180/\pi$

  2. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    One CTRL is using 57 and the other is using -57. Shouldn't both by positive since in both cases we are measuring from the vertical?

  3. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    I updated the .out repo and ran FDS_validation_script.py for just Sandia Pool Fires. The file FDS_Flame_Tilt_raw_scatter_values.csv looks like this

    csv_rownum,Dataname,Predicted_Values,Measured_Values
    2232,Sandia Pool Fires,7.424,12.4
    2232,Sandia Pool Fires,0.7515,10.4
    2233,Sandia Pool Fires,32.64,58.0
    2233,Sandia Pool Fires,33.2,19.9
    2234,Sandia Pool Fires,19.03,18.3
    2234,Sandia Pool Fires,0.817,13.7
    2235,Sandia Pool Fires,34.12,40.9
    2235,Sandia Pool Fires,7.726,23.9
    2236,Sandia Pool Fires,13.58,12.4
    2236,Sandia Pool Fires,5.273,10.7
    2237,Sandia Pool Fires,35.25,58.0
    2237,Sandia Pool Fires,30.39,19.9
    
  4. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    Yes, I remember now. These cases are part of the DoT LNG protocol. There is a distinction between leaning one way, like to north, vs to the south. Let me dig deeper.

  5. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    In some cases, the experimental tilt angle is reported as a negative number because there were observation stations to the west and south of the fire. If the fire tilted to the north, as seen by the western observation post, its angle was given as negative. Like if the fire leaned over 10 deg in the northern direction, it was reported as -10 deg.

    image
  6. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    I don't see any points near the limits

    image
  7. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    I ran these cases this weekend. Here, for example, is the propane devc outputs for tilt. Note once the initial blip when averaging over a near zero time is over the direction for tilt_s_1 is at 140 degrees which is not possible.

    image
  8. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    Since the out results were odd I did not push them to the repo.

  9. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    I also still think it is a problem that we are getting the temperature from a plane that is well outside the flame volume in at least some cases (see the image). A temperature that high up is not a flame condition but a bouyant plume rise condition.

  10. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    Is there a problem if the statistics don't start until 50 s?

    &DEVC ID='x_max_2', XB=-10.0,10.0,-10.0,10.0,13.9,14.1, QUANTITY='TEMPERATURE', SPATIAL_STATISTIC='MAXLOC X', STATISTICS_START=50., STATISTICS_END=80. /
    
  11. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    That should not be a problem. If that turns out to be the problem, then I think there is some bug.

  12. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    Could you post one of the devc.csv file for a case with odd results.

  13. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor
  14. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    In the new devc file, tilt_2_1=135.7 whereas in the old, it is 34.1. This number is calculated using x_max_1 which is the same. atan(x_max_1/14)*57.296

    I don't understand why the new case calculates these different values.

  15. rmcdermo commented on Nov 30, 2026

    @rmcdermo
    Contributor

    Different versions of python handle integer division differently. If you mean real(x_max_1)/14.0, I'd use that.

  16. mcgratta commented on Nov 30, 2026

    @mcgratta
    Contributor

    This math is being done by FDS controls. I'm trying to think how ATAN might be misconstrued.

  17. drjfloyd commented on Nov 30, 2026

    @drjfloyd
    ContributorAuthor

    I was puzzled as well but then noticed the other issues with the overall concept that I opened an issue rather than try and delve into the details myself. It is possible there is a broken pointer somewhere in the logic resulting in something along the way not getting the correct input.

  18. mcgratta commented on Dec 2, 2026

    @mcgratta
    Contributor

    I reran the propane case and I also see the nonsensical angle.

  19. mcgratta commented on Dec 2, 2026

    @mcgratta
    Contributor

    For these lines of input

    &DEVC ID='x_max_1', XB=-10.0,10.0,-10.0,10.0,13.9,14.1, QUANTITY='TEMPERATURE', SPATIAL_STATISTIC='MAXLOC X', STATISTICS_START=10., STATISTICS_END=40. /
    &CTRL ID='x/14_1', FUNCTION_TYPE='DIVIDE', INPUT_ID='x_max_1','CONSTANT', CONSTANT=14. /
    &CTRL ID='tilt_rad_s_1', FUNCTION_TYPE='ATAN', INPUT_ID='x/14_1' /
    

    I see many evaluations of the ATAN control function. Is this intended? Are we evaluating all the DEVC values?

  20. drjfloyd commented on Dec 2, 2026

    @drjfloyd
    ContributorAuthor

    It should only be evaluating the final output of the DEVC and not the individual subdevices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions