Direct numerical simulations (DNSs) of two-dimensional stratified gravity current are carried out using OpenFOAM. Three different aspect ratios, h0/l0 (where h0 is the height of the dense fluid and l0 is the length of the dense fluid) are simulated with stratification strength, S=0.2, 0.5, and 0.8. Reynolds number is kept constant at Re=4000. For the equivalent h0/l0 ratio, the stratification strength reduces the front velocity, uf and results in a shorter front location, xf-l0. Stratification strength has a strong effect on the size and shape of the gravity current. Gravity current with aspect ratio, h0/l0 of 0.25 propagating in the stratified ambient of S=0.2 and 0.5 experienced two acceleration phases. Qualitiative analysis of contours ranging from subcritical to supercritical flow in comparison to the flow structures was presented in this study. Subcritical flow was smooth and minimal vortices formed in the head of the gravity current was obtained in all the cases with strong stratification strength, S=0.8. Supercritical flow occurs in weak stratification with h0/l0=1 and 4. Strong vortices formed in the head of the gravity current followed by Kelvin-Helmholtz (K-H) billows at the back of the head. The propagation of the internal waves was faster than the gravity current flow in the subcritical regime. Case h0/l0=4 with S=0.5 had the Froude number closest to the critical regime (Fr=0.324 ≈ 1/π) and can be deemed to be in the critical regime.