Hi.
I am trying to couple APE solver with a fluid solver (OpenFOAM) via coupling library. For this purpose, the time dependent sources (calculated from the fluid sover) from a particular region in the grid are sent to APE solver. This means that the source terms are read from the coupling library rather than defining them in the configuration file at each time step.
Now I have the mean flow terms and the source terms at each point in a grid. I want APE solver to read this grid along with the data.

Can anyone suggest me how should I proceed with this approach, or is there any documentation which can help me with this.

Sincerely,
Nitish Arya