Multiple Inlets Adjoint
Hello everyone,
I'm trying to modify the shapeOptimizationFoam in order to account for multiple inlets. In the original createFields.H file there is a line of code that is used to set a zero alpha at the inlet Code:
const labelList& inletCells = mesh.boundary()["inlet"].faceCells(); Code:
const labelList& inletCells1 = mesh.boundary()["inletLeft"].faceCells(); Code:
zeroCells(alpha, inletCells1); I run the simulation and at the beginning I had this strange warning line and the simulation stopped at the first iteration of the adjoint problem. Code:
Reading field pa Thank you for your help |
All times are GMT -4. The time now is 23:27. |