Adding a BC for pointPatchField/tetPolyPatchField
I just came across some strange problem which I could not solve yet. Maybe someone has a hint for me:
I have created some user defined BC which I want to use in the "pointDisplacement" field of the fvMotionSolver as well as in the "motionU" field of the tetDecomposition motion solver. I therefore templated the class:
As far as I understand, there should be nothing changed in my code except than defining the appropriate preprocessor symbol. Or do I miss something?
Thanks for any hint.
Best regards, Hannes
case 1 : if you have compiled your new boundary condition under openfoam src, then you have to include that executable/ .so file in controlDict of your case.
case 2 : if not as mentioned above, i.e. if you have compiled your b.c separately, you have to recompile your solver by including the new bc file in its header and changing files and options appropriately.
from what i understand based on ur post, case 1 is the solution. hope this helps..
|All times are GMT -4. The time now is 07:21.|