Magic‎ > ‎Spells (Paizo)‎ > ‎W‎ > ‎

Wall of Force

School evocation [force]; Level magus 5, sorcerer/wizard 5

CASTING

Casting Time 1 standard action
Components V, S, M (powdered quartz)

EFFECT

Range close (25 ft. + 5 ft./2 levels)
Effect wall whose area is up to one 10-ft. square/level
Duration 1 round /level (D)
Saving Throw none; Spell Resistance no

By the way...
The effects of this spell do not move with a ship unless specifically anchored to the ship. Otherwise, a ship running into the effects makes a ramming maneuver.

Source Skull & Shackles Player's Guide