View Issue Details

IDProjectCategoryView StatusLast Update
0000976OpenFOAMBugpublic2013-08-26 11:40
Reporteruser742Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000976: the streamFunction utility computes \Psi*\Delta z instead of \Psi
DescriptionHi,

the streamFunction utility does not compute the streamfunction
\Psi of a 2D case, but instead \Psi*\Delta z, where \Delta z is the cell
length in the empty direction.

This arises from using phi = U_f & S_f for updating the function from one
vertex to the next, instead of U_f & S_f/\Delta z.

see also
http://www.cfd-online.com/Forums/openfoam-paraview/120197-streamfunction.html
Steps To Reproduceincrease/decrease \Delta z by a factor. The 'streamFunction' will increase/decrease by the same factor.
TagsNo tags attached.

Activities

henry

2013-08-26 11:40

manager   ~0002440

This is a known property of the stream-function utility but given that the result is for visualisation it didn't matter that the stream-function was scaled by a constant.

However, as this is causing confusion I have added code to compute the 2D-slab thickness and normalise the steam-function field.

See commit 50aede162869cfaa8d8d8511026403cd8fb0f22b

Issue History

Date Modified Username Field Change
2013-08-26 09:27 user742 New Issue
2013-08-26 11:40 henry Note Added: 0002440
2013-08-26 11:40 henry Status new => resolved
2013-08-26 11:40 henry Resolution open => fixed
2013-08-26 11:40 henry Assigned To => henry