you can go through the FLUENT tutorial especially compressible cases. However you can define the total and static pressure corressponding to your mach number, also you need to set operating pressure to zero. At outlet you can perform extrapolation. Basically, you define inlet as pressure inlet and outlet as pressure outlet.
thank you very much for your information, actually there is a relation between total pressure and static pressure in terms of Mach number, we can calculate total pressure if we know the value of static pressure, but not mentioned anything about this in the problem, then how to calculate the total pressure?
Here I am attaching some BCs, but I have not understood how the pressure value defined and what is the type of boundary condition considered to define all these parameters.