View Issue Details

IDProjectCategoryView StatusLast Update
0004175OpenFOAMBugpublic2024-11-12 11:06
Reportersaklep Assigned Towill  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Versiondev 
Fixed in Versiondev 
Summary0004175: wallHeatFlux-function object crashes when used on nonConformalMappedWall
DescriptionwallHeatFlux-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 ReproduceApply 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;
}
TagsNo tags attached.

Activities

will

2024-11-12 11:06

manager   ~0013459

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

Issue History

Date Modified Username Field Change
2024-11-08 11:29 saklep New Issue
2024-11-12 11:06 will Assigned To => will
2024-11-12 11:06 will Status new => resolved
2024-11-12 11:06 will Resolution open => fixed
2024-11-12 11:06 will Fixed in Version => dev
2024-11-12 11:06 will Note Added: 0013459