Modern flex track, the kind with plastic ties (at least the brands I've been using) do tend to straighten out. Bending them around a large diameter tube or rod...or even the steel support poles in your basement...probably won't get them to stay at the curvature you want. I agree with Selector that you can solder the rails of one end to a piece of tangent (straight) track and then curve the flex track, but I've just finished laying track on my new layout and haven't soldered any joints yet. (I probably will to maintain good electrical continuity, when I get around to wiring the layout.)
The main thing to do is get your roadbed in place first. If you are using cork roadbed, then lay out the centerline of the curves on the sub-roadbed, and align the cork halves to the centerline marking. I prefer to either tack the cork in place temporarily or use a staple gun with 5/8 or 3/4" staples. I don't glue it down yet. I make sure the roadbed is going where I want it to go, and then, one half at a time, glue it to the plywood subsurface with white glue or construction glue. Then, starting with the straight tract, I start laying the track using "long" (that's what the package says) track nails that go clear through the cork and into the plywood. You will probably bend quite a few of these before pushing them home. I use a needlenose pliars, grabbing the nail as close to the point as I can and still have enough exposed to hit the plywood under the cork.
When you get to a curve, just start bending the flex track and nailing them in as you go. Allow the free rail (the one that slides in the plastic ties) to slide along, changing the apparent length relative to the ties as it will. THERE ARE SOME CURVATURE FORMS YOU CAN BUY FOR VARIOUS RADII CURVES...18", 20" and 22" at least. They are aluminum and fit between the rails. Bend and nail until you get to the end of the curve. Don't try to cut the track to length until you've finished making the curve. If you are also using flex track on the straightaway, simply slide the free rail so it matches the end of the other piece. If you have to cut away some ties on one piece or the other, do so. It is NOT necessary that the ends of both rails of the curved flex track be opposite one another, unless you are tying into a turnout or other fixed track. If you are, simply lay the turnout on top of the flex track, so you are touching the shorter rail on the curved flex track. Mark the location of where you need to cut off the rail that is sticking out the end of the curved flex track, and cut it with a razor saw or a carbide cutoff wheel in a motor tool. (If the end of the flex track is loose enough and you can get at it, you might also use a Xuron track cutting tool, followed by filing to clean up any burrs.)
Frankly, for curves much sharper than 24-inches, I prefer using sectional track. Atlas makes 15", 18" and 22" radius curved sections. For other sizes (I use 20" radius on my main line due to space requirements), Walthers has Shinohara track available in other radii sizes from IIRC 9" to 30-some".