Skip to content

Core: Flow fields incorrect when generating Compartment Model from CFD #8

@Benncs

Description

@Benncs

Flow fields incorrect when generating Compartment Model from CFD

Description
When generating a Compartment Model (CM) from CFD data, scalar fields are generated correctly, but flow fields are incorrect.

Observed behavior

  • Scalar fields match expectations
  • Flow fields deviate significantly from CFD results

Suspected cause

  • Likely originates from compute_intersection_area
  • Original implementation uses bounding box planes
  • Porting to more generic bounded planes seems to trigger errors in computed intersection areas

Steps to reproduce

  1. Generate CM from CFD using current compute_intersection_area
  2. Compare with c++ results

Notes

  • Plane-bounding differences in intersection computation may be the source
  • Fixing cross-sectional area calculation could resolve the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions