View Issue Details

IDProjectCategoryView StatusLast Update
0001703OpenFOAM[All Projects] Bugpublic2015-05-22 22:40
Reporteruser1059Assigned Tohenry 
PrioritylowSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version14.04
Product Version 
Fixed in Version 
Summary0001703: streamFunction does not work for a case in the XZ plane
DescriptionThere are two lines in streamFunction.C:
               edgeHat.replace(vector::Z, 0);
               edgeHat /= mag(edgeHat);
These both occur twice. If your case is in the XZ plane then the
edgeHat.replace(vector::Z, 0);
line will make the edgeHat vector zero on some boundaries, making the line
edgeHat /= mag(edgeHat);
divide by zero.
The code seems to work if I remove both of the
edgeHat.replace(vector::Z, 0);
lines
TagsNo tags attached.

Activities

henry

2015-05-22 22:40

manager   ~0004787

Resolved by commit f60808b4b84fe5cfd73fda5d04a0a3c5e9b8559f in OpenFOAM-dev

Issue History

Date Modified Username Field Change
2015-05-21 17:00 user1059 New Issue
2015-05-22 22:40 henry Note Added: 0004787
2015-05-22 22:40 henry Status new => resolved
2015-05-22 22:40 henry Resolution open => fixed
2015-05-22 22:40 henry Assigned To => henry