wrong cell to cell normal in periodic meshes #205
Comments
|
benny.malengier@gmail.com attached ben_bug02.py on 06-30-2010 at 17:58 |
|
benny.malengier@gmail.com attached celcelnormal.diff on 06-30-2010 at 17:58 |
|
The reason this patch is needed is when inheriting classes of fipy, and eg using the concatenate code, terms like DiffusionTerm will not work as they use cell to cell normal when the grid is not orthogonal (creating an antidiffusion). Trac comment by benny.malengier@gmail.com on 06-30-2010 at 18:24 |
|
Fixed with r4630. Trac comment by wd15 on 06-20-2011 at 16:30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a periodic mesh, the cell to cell normal is wrong.
See attached example test code ben_bug02.py, the cell to cell normal on one of the faces where there is periodicity is pointing opposite the face normal.
Patch celcelnormal.diff contains the fix: call update on cell-cell normal calculation after the connect faces code
Imported from trac ticket #301, created by benny.malengier@gmail.com on 06-30-2010 at 17:58, last modified: 06-20-2011 at 16:30
The text was updated successfully, but these errors were encountered: