Skip to content

very different behavior GEOM vs OBST #14744

Open

Description

@drjfloyd

Simple square burner on the floor.

OBST
GEOM with same XB as OBST
GEOM with same XB as OBST rotated 45 deg
GEOM with same XB off set 1/2 a grid cell

The centerline temperatures are very different (I would expect GEOM offset to be slightly different than OBST because of the offset. But not by a lot).

Image

As are at the ceiling (o=offset, r=rotate):

Image
Image
Image
Image

Activity

  1. drjfloyd commented on Jun 5, 2025

    @drjfloyd
    ContributorAuthor

    Here are the inputs. I used ULMAT for the OBST case to remove that as a cause.

    obst_fire.txt
    geom_fire_o.txt
    geom_fire_r.txt
    geom_fire.txt

  2. marcosvanella commented on Jun 5, 2025

    @marcosvanella
    Contributor

    Probably corner handling on this. We'll take a look.

  3. mcgratta commented on Jun 5, 2025

    @mcgratta
    Contributor

    I'm going to focus on the first two cases -- OBST vs GEOM with everything else the same. For the other two cases, we might have to increase the resolution because a coarse grid is going to effect that rotate and offset case significantly.

  4. mcgratta commented on Jun 5, 2025

    @mcgratta
    Contributor

    Marcos -- focus on comparing the various GEOM cases to ensure that they are consistent. Try a finer grid resolution to see if that is the problem.

  5. mcgratta commented on Jun 5, 2025

    @mcgratta
    Contributor

    I split the domain into 9 meshes (-1.2<x<1.2; -1.2<y<1.2) to get the mesh interface out of play. Here are the vertical profiles

    Image

    This looks similar to Jason's results. Let's do the offset and rotate cases with a finer grid.

  6. marcosvanella commented on Jun 5, 2025

    @marcosvanella
    Contributor

    Ok, running with UGLMAT should take care of velocity error in the mesh interfaces. Worth trying to see if these have any effect in the original setup.

  7. drjfloyd commented on Jun 5, 2025

    @drjfloyd
    ContributorAuthor

    Occurred to me I didn't do a true comparison. I opened the obst file in Pyrosim and rotated the burner 45 deg. Verified that the total area of grid cells stayed the same at 0.36 m2. This looks alot like the geom rotated.

    Image

    Here is the rotated OBST as OBST

    &OBST ID='Obstruction #1', XB=-0.4,0.0,-0.05,0.0,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.35,0.0,-0.1,-0.05,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.3,0.0,-0.15,-0.1,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.25,0.0,-0.2,-0.15,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.2,0.0,-0.25,-0.2,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.15,0.0,-0.3,-0.25,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.1,0.0,-0.35,-0.3,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.05,0.0,-0.4,-0.35,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.05,-0.4,-0.35,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.1,-0.35,-0.3,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.15,-0.3,-0.25,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.2,-0.25,-0.2,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.25,-0.2,-0.15,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.3,-0.15,-0.1,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.35,-0.1,-0.05,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.4,-0.05,0.0,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.4,0.0,0.0,0.05,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.35,0.0,0.05,0.1,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.3,0.0,0.1,0.15,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.25,0.0,0.15,0.2,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.2,0.0,0.2,0.25,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.15,0.0,0.25,0.3,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.1,0.0,0.3,0.35,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=-0.05,0.0,0.35,0.4,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.05,0.35,0.4,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.1,0.3,0.35,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.15,0.25,0.3,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.2,0.2,0.25,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.25,0.15,0.2,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.3,0.1,0.15,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.35,0.05,0.1,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/
    &OBST ID='Obstruction #1', XB=0.0,0.4,0.0,0.05,0.0,0.1, SURF_IDS='FIRE','INERT','INERT'/

  8. mcgratta commented on Jun 6, 2025

    @mcgratta
    Contributor

    I ran the GEOM and GEOM ROTATE cases at 2.5 cm resolution. The HRR looks comparable,

    Image

    but the temperature profile indicates that the plume in the rotated case looks as if the turbulence has been suppressed.

    Image

  9. marcosvanella commented on Jun 6, 2025

    @marcosvanella
    Contributor

    Interesting. We compute and extrapolate vorticity and wall stress to Cartesian edges with GEOM, and use that in momentum computation in cut-faces. I also run the cases at twice the grid resolution. I still see the difference with offset and rotated burner:

    Image

    Image

    Image

    I'll move out the open boundaries and re-run these cases. I'll run them also with NO_SLIP=T in the burner to see effect of burner edges.

  10. removed their assignment
    on Aug 25, 2025
  11. ghaffari-eng commented on Mar 9, 2026

    @ghaffari-eng

    I ran simplified single-mesh versions of the test cases (20×20×20, T_END=10s) and enabled GET_CUTCELLS_VERBOSE=.TRUE on the &DUMP line. The cut-cell area diagnostic shows a potentially relevant mismatch:

    • GEOM Surf Area = 0.9600E+00
    • InBoundary Cut-faces Area = 0.6000E+00
    • Relative Difference = 0.3750E+00 (37.5%)

    The area breakdown for the XB=-0.3,0.3,-0.3,0.3,0.0,0.10 box:

    • AREA_GEOM = 0.96 m² — full closed-box surface (top 0.36 + bottom 0.36 + 4 sides 0.24)
    • InBoundary cut-faces = 0.60 m² — top 0.36 + 4 sides 0.24 (bottom face is buried in the floor)

    The 0.5-cell offset case shows identical numbers (0.96 / 0.60, same 37.5% difference).

    In the temperature profiles I'm seeing GEOM running hotter near the source but cooler at mid-plume and ceiling heights compared to OBST — consistent with a more diffuse fire base, as if the effective fire area is wider than intended.

    Worth checking: does AREA_GEOM (or the total closed-body triangulated area) feed into the HRRPUA → mass-flux conversion anywhere in the CC-IBM boundary condition setup? If so, using the per-SURF cut-face area instead of the total body area as the HRRPUA reference might resolve the discrepancy.

    Reproduced on FDS 6.10.1, ARM64/GNU, single-mesh

  12. marcosvanella commented on Mar 10, 2026

    @marcosvanella
    Contributor

    @ghaffari-eng boundary cut-faces are cut-faces that look at the gasphase inside the mesh. The geometry area will be the whole box as you comment. Are you seeing these lines after the Area centroid writeout?

    SURF_ID = INERT, Area : 0.240000E+00
    SURF_ID = FIRE, Area : 0.360000E+00

    If not checkout do arepo update and recompile.

  13. ghaffari-eng commented on Nov 7, 2026

    @ghaffari-eng

    @marcosvanella Thanks, and sorry for the long gap. You are right about the area: the 37.5 % is the bottom of the box, which sits in the floor. The per-SURF_ID lines are there (they were in 6.10.1 too, I missed them): FIRE 0.36 m², INERT 0.24 m², and the HRR is 360 kW in all the cases below.

    I went back to Jason's setup on current master (b7dc77f, GNU/OpenMPI, dx = 5 cm, his 4 meshes, UGLMAT for both OBST and GEOM, 20 s, line devices averaged over 10-20 s). A 10 s average of this plume moves a lot from run to run, so I repeated the main cases with RND_SEED = 0, 1 and 2. With the OBST alone, the centreline temperature above 1 m changes by up to about 140 °C between seeds.

    1. Rotated (and offset) burner: not GEOM-specific. Jason's stair-stepped OBST burner (his comment of 5 June 2025) gives about the same plume as the rotated GEOM (within about 50 °C), and both are 150-210 °C hotter than the square burner at 1.1-1.4 m, which is outside the seed range. So the hotter, less mixed plume comes from the orientation of the burner on the grid at this resolution (D*/dx ≈ 13), with OBST as well as with GEOM.

    2. Aligned burner: the same, except just above the burner. Above 0.8 m the GEOM and OBST agree within the seed scatter (mean difference -13 to -2 °C). Below 0.5 m the GEOM is hotter in every seed:

    z (m) GEOM - OBST, master GEOM - OBST, with the change in 3.
    0.13 +57 -3
    0.23 +59 -7
    0.34 +49 -7
    0.45 +40 +1

    (mean of 3 seeds; the seed-to-seed spread is about ±10 °C here). The difference stays with RADIATION=F and with HEAT_TRANSFER_COEFFICIENT=0, and goes away with NO_SLIP=T or FREE_SLIP=T on the burner surfaces (one seed each: -9 to +4 °C and 0 to +15 °C).

    Centreline temperature: aligned and rotated burners

    3. Where I think the near-burner difference comes from. In CC_EDGE_TAU_OMG (ccib.f90, around line 14746 in b7dc77f), an external corner edge of a GEOM gets a half-slip ghost velocity (SLIP_FACTOR = 0) with the wall-model stress ρu_τ². The OBST corner edge in VELOCITY_BC (velo.f90, around line 2369) gets a no-slip ghost velocity with the stress μ·du/dn, μ being the averaged viscosity of the adjacent gas cells. The comment in ccib.f90 says "done to match VELOCITY_BC", but the two are not the same. As a test I gave the GEOM corner edge the OBST treatment (diff attached, one routine). With that, the near-burner difference goes from +51 °C to -4 °C on average over the three seeds, and higher up it stays within the scatter. The OBST case is bit-for-bit unchanged. I have not run the verification suite with it, so please take it as a pointer rather than a fix.

    Inputs (seeds via &MISC RND_SEED=n/): obst_square.txt, obst_stair_diamond.txt, geom_aligned.txt, geom_rotated45.txt. Diff: geom_corner_edge_patch.txt. A 2.5 cm run of the square vs stair OBST is going now; I will add it when it is done.

  14. ghaffari-eng commented on Nov 8, 2026

    @ghaffari-eng

    @marcosvanella Here is the 2.5 cm run I mentioned: the square and the stair-stepped OBST burner at dx = 2.5 cm (16 meshes, 512k cells, D*/dx ≈ 26), UGLMAT, 20 s, the same line devices averaged over 10-20 s, one seed each. At 2.5 cm the stair steps are one cell wide, so the stair-stepped burner is 0.34 m² and its HRRPUA is raised to keep 360 kW; the mean HRR over 10-20 s is 359 kW in both.

    z (m) stair - square, 5 cm stair - square, 2.5 cm
    0.23 +25 -53
    0.45 +29 -86
    0.67 +65 -31
    0.89 +104 +44
    1.10 +173 +107
    1.32 +209 +166
    1.54 +192 +226
    1.76 +144 +187

    (°C, every second device; at 5 cm the square burner is the mean of 3 seeds.)

    Above 1 m the difference is about as large as at 5 cm: the stair-stepped burner is 110-230 °C hotter at 1.1-1.8 m (140-210 °C at 5 cm). Near the burner it changes sign (50-100 °C cooler at 0.2-0.5 m). At both resolutions the stair-stepped profile peaks about 0.2 m higher than the square one, so I read this as the hot region moving up rather than as a separate effect. With one seed I would not read much into the exact numbers (at 5 cm the square burner's seeds differed by up to about 140 °C above 1 m), but it agrees with what Kevin and you saw with the rotated GEOM at 2.5 cm. So the effect of the burner orientation on the grid is still there at twice the resolution, with OBST as well.

    Centreline temperature: square and stair-stepped OBST burner at 5 cm and 2.5 cm

    That leaves the difference just above the aligned burner (points 2 and 3 in my previous comment) as the only GEOM-specific part I have found. If the corner-edge change looks worth following up, I can run the verification suite with it.

    Inputs attached (r25_obst.txt, r25_obst_stair.txt).

    r25_obst.txt
    r25_obst_stair.txt

  15. marcosvanella commented on Nov 9, 2026

    @marcosvanella
    Contributor

    Hi Mohammad, thank you for the detailed tests on this issue. I'll revisit these tests and look at you suggestion for edge treatment. We've been around the block quite a bit on corner treatment for the wall model, noting that no slip leads to lower burning in these burner fire plume cases. It is surprising to see how just changing the random seed affects average results on these cases, the objective of the initial noise is just to break any symmetry that will not happen in reality but the code will maintain for a long time.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions