Per GOST P 52857.3
Does the program calculate Eq.49 using dc = D2?
No,
The relationship dc = D2 is only used to calculate λc as the code indicates:
Then λc is used to solve for C2, which is then used to solve Mx_{2 }(Equation 49).
Bentley AutoPIPE