I'll start responce by putting up the spell as it shows in SR4A.
Physical Barrier (Environmental, Area)
Type: P • Range: LOS (A) • Duration: S • DV: (F ÷ 2) + 3
Barrier spells create glowing, translucent force- elds with both 1 point
of Armor and Structure rating per hit (see Barriers, p.194). e caster
can form the barrier as a dome with a radius and height equal to the
spell’s normal radius. The caster can also form a wall with a height and
length equal to the spell’s Force. e caster can adjust size of the barrier
the same as the radius of an area spell (p.183).
Physical Barrier creates a physical wall. Anything the size of a molecule
(or less) can pass through the barrier, including air or other gases.
Anything bigger treats the barrier as a normal physical wall. Attacks
directed through a barrier have a –1 dice pool visibility penalty. e
barrier does not impede spells. e barrier can be brought down by
physical attacks, but as long as it is sustained it regenerates damage
quickly—any reductions in Structure Rating are restored at the beginning
of the next Combat Turn. If the barrier is penetrated, however,
it collapses and the spell ends. Physical Barrier cannot be used on the
astral plane.
So to answer a few of the questions.
It simply says it must be a wall it doesn't say that the wall has to be flat so yes in theory you can create a cylinder provided that the circumference of the base is no longer than the length you can create.
As the spell is an areas spell then yes you can a just the height of the 'wall' with the usual penalties so -1 per meter or fraction thereof. If this is to allow grenades in i would point out that simply putting the barrier up afterwards is more effective and at worst would mean the mage delaying their action.
The ramp. with RAW to create a ramp 12m X 1m form a force 6 spell would incur a - 11 modifier ( -5 for reducing the 'height' and -6 for extending the length)
However in my games i rule that the barrier can either create the dome/ sphere as advises or a surface with an area of force squared.
The -1 modifier as shown in the spell description has no reference to force or hits so is a flat -1.
You have the bit about length of the wall incorrect a force wall would have a length of 6m and a height of 6m.
You asked about if the wall is too big for it's surroundings. I can two obvious interpretations. 1. as stated that the wall conforms to its surroundings. or 2. that the barrier actually passes through wall eg. if there 2 corridors adjacent to one another that are both 3 m wide a force 6 barrier would block both of then. assuming a negligible thickness of intervening wall.
let me copy in the section of reducing dice pool for area spell it will amke the next bit easier to answer.
The caster can reduce or expand
the base radius by 1 meter for every die withheld from the Spellcasting
Test. Dice expended to change the radius of the effect cannot be used in
any related test, such as resisting Drain for that spell.
This doesn't mean that you lose the dice from both pools only that the dice lost from the spell-casting pool are just that lost and can't be added or used on any other test. this is in reference to an old rule from previous editions where you could withhold dice from the spell casting test to help resist drain. this was removed in SR4 however there are many erroneous references to it through out the books. incidentally a lot of people i knoww still use this as a house rule though.
last but not least moving and shaping the barrier once cast.
[quote author = sr4a p184]If an area-effect spell is sustained, the area effected area may be moved
with a Complex Action, as long as it remains within line of sight.
Characters who “drop out” of the a effected area are no longer affected
by the spell; characters who are “enveloped” by the area must defend
against the e ects of the spell as appropriate.[/quote]
So put simply no you couldn't re-size the barrier once cast.
However you could move it. it would be up to GM to decide how a barrier moved whether it traveled or just reappeared in its new location.
But yes in theory you could use a physical barrier as wall crushing trap with a bit of GM nicety. the question would be how to resolve the 'attack' and whether the barrier could withstand the crush itself.
IMO it would be an opposed test of the barrier's 'strength' vs the characters strength +body. with net hits being damage caused by crushing. this assumes of course that the other wall doesn't just crumble.