We have generated two-dimensional magnetic arcades, with invariance al
ong the longitudinal axis, by solving, together, the Grad-Shafranov eq
uation and the pressure balance equation at the boundary between the a
rcade and the corona. We have used a particular class of magnetic fiel
ds in which the slope of the magnetic field lines only depends on one
coordinate and, with this approach, we have been able to obtain genera
l expressions for the magnetic field components, which only depend on
the gas pressure profile, without the need to know the analytical expr
ession for the flux function. These expressions for the magnetic field
components have allowed us to generate potential and non-potential fi
elds and to obtain some conclusions about the half-width, height and m
agnetic flux of the different arcades.