Access volume field in the boundary condition of a point field
Dear Foamers
I have developed a new boundary condition for a point field. In this boundary condition, I need to calculate forces that act on a specific surface; therefore, I have loaded pressure from the object registry. The code was compiled successfully but whenever I run a case with this boundary and the code wants to access to pressure field (please see below), I receive the floating-point error. here is the code: Code:
const polyMesh& pointMeshIF = this->dimensionedInternalField().mesh()(); I will appreciate it if anyone has any idea or suggestion about this problem. Kind regards, Peyman |
All times are GMT -4. The time now is 01:29. |