There was an error fetching the commit references. Please try again later.
BUG: fixedNormalSlip BC: add 'value' keyword (#1980,#1981)
DOC: improve header-file content
Co-authored-by:
Kutalmis Bercin <kutalmis.bercin@esi-group.com>
Showing
- src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.C 2 additions, 1 deletion...lds/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H 45 additions, 29 deletions...lds/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H
-
A correction to my submitted issue: I wrote that the
value
in thewrite
funtion is needed "for restart and visualisation in paraview". In fact, restart will probably work correctly without thevalue
written out becauseevaluate()
is called by thedict
-reading constructor and, indeed, this reconstructs the face values on the patch correctly using thefixedValue
and slip condition.The point about paraview not showing the correct velocity on a patch when using the BC still holds. I have confirmed that, and that the addition of the
value
inwrite
solves this (I used paraview, not paraFoam). So one could argue that this is a paraview OpenFOAM reader problem, rather than a problem with the BC implementation itself.
Please register or sign in to comment