I am working on an idea that involves a jet engine, but I don't quite know how the fuel system works. In a combustion engine like that in a car, you have nozzles that spray the fuel into the piston chambers (I think, correct me if I am mistaken), and then it's ignited when the piston compresses the chamber (sometimes using a spark plug, sometimes it doesn't). How is fuel mixed with air and ignited inside a jet engine? I know that compressed air comes from the intake system (the fan blades pull in and compress air and direct it into the part where it mixes with fuel), but how does fuel get mixed in?
The place where air and fuel are mixed is the combustor, also known as the flame holder:
The diffuser takes in the compressed air and slows it down (remember that aircraft with jet engines are traveling extremely fast). If the air goes too fast, it won't burn enough; if it goes too slow, it won't provide enough thrust.
Air goes in through gaps in the liner. There are holes all along it, called primary holes, intermediate holes and dilution holes*. These further slow the air down, and help it enter the main part of the combustion chamber. However, most of the air goes through the swirler, which mixes the air as it enters. The dome is a related device.
Inside this chamber is an igniter, which creates the sparks needed for the fuel to burn. Next to it is the fuel injector, a pipe which inserts fuel into the chamber.
The air follows a series of complex paths inside the combustor:
This picture should give you a good idea of them. Now you probably understand the names of the holes into the main chamber! They cool the combusted air (entering through the swirler) as it goes out the other end and into the next (and rear) section of the engine.