Hello,
A tentative code sample below (not tested), suppose that you want to write the velocity U of point 123 (original mesh):
DOUBLE PRECISION P_DMAX,P_DMIN
EXTERNAL P_DMAX,P_DMIN
DOUBLE PRECISION U123
U123=0.D0
DO I=1,NPOIN
IF(MESH%KNOLG%I(I).EQ.123) U123=U%R(I)
ENDDO
U123=P_DMAX(U123)+P_DMIN(U123)
WRITE(LU,*) 'U OF POINT 123=',U123
Note that: PRINT*,'U OF POINT 123=',U123
would cause all the processors to write on the screen. With the WRITE, LU of processors other than 0 is redirected to log files.
IF(IPID.EQ.0) PRINT*,'U OF POINT 123=',U123
also works.
With best regards,
Jean-Michel Hervouet