! File FE_Mod_CP_3_Post.inp
! Postprocessor plot of acoustic pressure
! along the path between the nodes N_RES1, N_RES2 at the frequency FRES
! N_RES1, N_RES2, FRES - should be determined earlier
/POST1
/COLOR,CURVE,WHIT,1,6 ! graph color -- white (black after invertion)
/COLOR,GRID,WHIT, ! grid color -- white (black after invertion)
/PLOPTS,TITLE,OFF ! no graph title
/PLOPT,FRAME,OFF ! no frame
/AXLAB,X,Y ! label for X-axis
/AXLAB,Y,Re PRES ! label for Y-axis
/XRANG
/DSCALE,,OFF ! Remove displacement scaling (scale displacements by 0)
! Read results for real part at the frequency FRES
SET,NEAR,,,0,FRES
! Commands to determine a path with keypoints
PATH,YY,2,,120
PPATH,1,N_RES1
PPATH,2,N_RES2
! Determine the value of RePRES to plot the graph along the path
PDEF,RePRES,PRES
PLPATH,RePRES ! Plot the graph RePRES along the path
! Plot picture of pressure distribution (uncomment)
! ESEL,S,TYPE,,2,4
! PLNSOL,PRES
! Read results for imaginary part at the frequency FRES
! SET,NEAR,,,1,FRES
! PLNSOL,PRES