adjoint solver in OpenFOAM
Dear All,
I am trying to implement an adjoint solver for external flow. I have implemented the sensitivity. Now I would need to implement the normals to a certain patch, but - while coding - I get an error. My idea is to write something like Code:
forAll(mesh.boundary(), patchi) Thanks for help, Samuele |
Hallo,
It is more difficult, when you are not telling, what the compiler complains about. But, the problem at least lies in line 9, where you assign a vector field to a single element in a vector field. Cheers, Niels |
All times are GMT -4. The time now is 19:58. |