Hi JMH,
I have checked the declarations_telemac2d.f file and there is already a line for 'TYPE(BIEF_OBJ), TARGET :: PRIVE', so I have kept it as it was (I have removed the 'TYPE(BIEF_OBJ), TARGET :: power' line).
I have put the command 'power => PRIVE%ADR(1)%P%R' in the same do loop that is used to calculate drag at each point on the mesh inside the defined array in the dragfo.f file, however when I try to run the code I get an error message as follows...
t2dfort.f(284): error #6793: The POINTER attribute is required [POWER]
power => PRIVE%ADR(1)%P%R
However if I use the command 'PRIVE%ADR(1)%P%R = power(m)' the code does run, is this OK?
By doing this variable 23 still remains constant at 2.176e-13 when animated in Blue Kenue so cannot be correct, I do not understand why though.
Th number of private arrays defined in the steering file was already set to 1, so I have left that alone (and also tried putting it to 2 and this has no effect).
It seems the issue must be in copying the power values calculated at each node in the specified area to the values over to the PRIVE%ADR(1)%P%R structure, any further insight would be much appreciated, I have attached the latest dragfo file, along with the declarations file.
Cheers
Danny