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
- Generate CM from CFD using current
compute_intersection_area
- Compare with c++ results
Notes
- Plane-bounding differences in intersection computation may be the source
- Fixing cross-sectional area calculation could resolve the issue
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
Suspected cause
compute_intersection_areaSteps to reproduce
compute_intersection_areaNotes