Heusdens you suggest we look at the spatially flat case
"...or flatness of space (omega = 1)...
What if we would choose the metric so that it comes very close indeed to omega = 1?"
this is good it makes the equations simpler, everything simpler:
(flat case) Big Friedmann:
3 (a'/a)2 = 3 H2 = (8piG/c2) rho
Little Friedmann:
3 (a''/a) = - (4piG/c2) (rho + 3pressure)
rho is the energy density
you get to say what fraction of it is dark energy (the Lambda fraction is a critical part of the picture)
To make it simple (as I think you want) let's make Lamda the cosmological constant equal zero. So the matter density is what matters. Also matter has negligible pressure so we can drop the pressure term from the equation!
Heusden you asked
"... is the expansion or contraction ratio determined by the matter distribution, and the density?"
You are right. The rate of expansion or contraction depends on the rate you START WITH and on the average energy density
Now everything is so simple that all you get to choose is rho
(the joules of mass energy per cubic kilometer)
Big Friedmann:
3 (a'/a)
2 = (8piG/c
2) rho
Little Friedmann:
3 (a''/a) = - (4piG/c
2) rho
If we drop all the 3 and 8piG stuff, which is just constants then
it gets really simple
Big Friedmann:
(a'/a)
2 = 2 rho
Little Friedmann:
a''/a = - rho
you can see the change-in-the-change---the second derivative--is proportional to MINUS the density
(this is what slows expansion down, or if we get in a contraction, speeds the contraction up)
you can also see that the square of rate of change of the scale---the a prime or first time derivative---is proportional to rho.
So you get to choose rho----some joules per cubic km----and then you only have two choices left you can have it start with a' positive or negative. Any positive number has two square roots, a positive and a negative.
In simplifying at the start according to your preference for the flat case without Lambda, we have thown out almost all free choice.
But maybe that is best, for a toy model.
So you can start it expanding and it will expand for ever, or you can start it contracting and it will contract faster and faster and eventually crunch.
Do you mind my calling the two main equations of cosmology by the unserious names of Big and Little Friedmann. Most people would say "First Friedmann equation" and "Second Friedmann equation" but this sounds a bit over solemn. Must go
my chorus is learning Die Schoepfung by Haydn and we must practice!