View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000976 | OpenFOAM | Bug | public | 2013-08-26 09:27 | 2013-08-26 11:40 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000976: the streamFunction utility computes \Psi*\Delta z instead of \Psi | ||||
Description | Hi, 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 Reproduce | increase/decrease \Delta z by a factor. The 'streamFunction' will increase/decrease by the same factor. | ||||
Tags | No tags attached. | ||||
|
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 |