View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004175 | OpenFOAM | Bug | public | 2024-11-08 11:29 | 2024-11-12 11:06 |
Reporter | saklep | Assigned To | will | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004175: wallHeatFlux-function object crashes when used on nonConformalMappedWall | ||||
Description | wallHeatFlux-function object crashes the simulation when used on a nonConformalMappedWall-patch connecting 2 regions. This seems to happen when the connection between the patches is broken due to relative motion. | ||||
Steps To Reproduce | Apply wallHeatFlux-FO on tutorials/multiRegion/CHT/engine2Valve2D-case on a valve, the simulation will crash on valve opening. Example FO: heatFlux_to_EV { type wallHeatFlux; libs ("libfieldFunctionObjects.so"); region exhaustValve; patches ( cylinderHeadValve1_on_nonCoupleExhaustValve ); objects (); executeControl 1; executeInterval 1; writeControl 1; writeInterval 1; } | ||||
Tags | No tags attached. | ||||
|
It's just a divide by zero error caused by the patch having no faces and hence zero area after the valve opening. Fixed here: https://github.com/OpenFOAM/OpenFOAM-dev/commit/f4b5dc9eba49e50b8fccfdd8291a2413985d8b8b |