View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001380 | OpenFOAM | Bug | public | 2014-08-22 09:48 | 2015-03-02 20:40 |
Reporter | fabian_roesler | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Other | OS Version | (please specify) |
Summary | 0001380: faceSource does not flip face normals anymore | ||||
Description | I use a faceZone to sum the face flux phi in order to get the volume flow in simple foam. Recently (about 4 to 6 weeks ago) I did a git pull and compiled the latest bug fixed version of OF 2.3.x. The cases before the git pull calculated the volume flow correctly. After the pull, the volume flow is wrong. I searched for a reason and believe, that the faceSource function does not flip the face normals anymore. I ran parallel cases. The face normals per processor patch were all oriented the same way. So the `bug` only appears in parallel cases with more then one processor per faceZone. | ||||
Steps To Reproduce | - Take a case and decompose it - Produce a faceZone to evaluate the volume flow using topoSet - The faceZone has to be spread over several processors - Evaluate the volume flow using the faceSource function | ||||
Tags | No tags attached. | ||||
|
Possibly related to Bug ID 0001364 |
|
There is now a distinction between oriented fields such as phi, and non-oriented fields such as pressure. For your case, can you try defining your function object using: orientedFields (phi); instead of fields (phi); Similarly, the weightField should also be specified using orientedWeightField for phi. |
|
This is not working for me. The solver gives the error: keyword fields is undefined in dictionary "IOstream.functions.massflow" However, the last git pull was 6 weeks ago. When did you change the function? |
|
The fields entry is still required (for non-oriented fields), so you will need both entries, i.e.: fields (); orientedFields (phi); |
|
Works now! Along the way I did a new git pull and compiled the newest OF 2.3.x. Where can I find out what has changed from one to the next git pull? |
|
This gives you a list of all changes: > git log Once you have the commit of interest, you can see the actual source code changes like this: > git show 941999150704877d5b2ace6c9d2e937d2c895087 Also the short versions work: > git show 9419991 To see all changes since a certain commit (quite messy though): > git diff 941999150704877d5b2ace6c9d2e937d2c895087 Also, if you prefer a GUI: Something like 'qgit' is quite nice. ;) |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-22 09:48 | fabian_roesler | New Issue | |
2014-08-22 09:50 | fabian_roesler | Note Added: 0003214 | |
2014-08-22 10:25 |
|
Note Added: 0003215 | |
2014-08-22 10:38 | fabian_roesler | Note Added: 0003216 | |
2014-08-22 10:49 |
|
Note Added: 0003217 | |
2014-08-22 11:34 | fabian_roesler | Note Added: 0003218 | |
2014-08-22 12:47 | dkxls | Note Added: 0003219 | |
2014-08-22 12:52 | dkxls | Note Edited: 0003219 | |
2014-08-22 12:54 | dkxls | Note Edited: 0003219 | |
2014-08-22 13:17 | dkxls | Note Edited: 0003219 | |
2015-01-01 14:03 | henry | Status | new => closed |
2015-01-01 14:03 | henry | Assigned To | => henry |
2015-01-01 14:03 | henry | Resolution | open => no change required |
2015-03-02 20:40 |
|
Assigned To | henry => user2 |
2015-03-02 20:40 |
|
Status | closed => resolved |
2015-03-02 20:40 |
|
Resolution | no change required => fixed |
2015-03-02 20:40 |
|
Fixed in Version | => 2.3.1 |