Numerical Analysis of Steady and Unsteady Fluid Flow and Energy Distribution through a Curved Square Geometry Driven by Variable Pressure Gradients