If the damage is frontal and intercepted by the Barrier Field, the Field will absorb it. If the Barrier Field breaks, or the damage is from a direction Reinhardt is not blocking, then the Projected Barrier will absorb it. Only damage absorbed by the Projected Barrier will contribute to Zarya's Energy level.
My answer is mostly an opinion supported by a few hours of play with Genji. Someone with more experience may be more credible. Key points in bold text.
Genji is fragile, but extremely mobile. His double jump, wall climb, and dash attack allow you to get to positions many other players won't always be watching due to the limited number of ways to access a given point. Open windows and high ledges are your friend. These are typically sniper positions, which you can sometimes utilize as ambush positions or as an escape to disengage a serious foe.
He needs to win each battle with another hero within the first few seconds of engagement. If you're in close, use the right click (secondary fire) of your shuriken attack to release all 3 of your shurikens in a burst, rather than in succession. There are times where the speed difference could matter. If you are harassing at range, plink with left click (primary fire). Be very careful about harassing with Genji, as many characters return fire can cripple or kill you. Always be moving if you can, and be aware of your possible cover positions before you fire.
Engage targets that are isolated. Striking a group is going to get you killed relatively quickly. The exception to this case is having your ultimate ready, which you can readily dispatch groups with the sword, if you catch the party unaware such as from a flank or rear attack. Genji is largely about situational awareness and how to punish holes in defense lines with swift, brutal attacks. If you are striking a stronger character, such as a tank class, you may wish to wait until they are distracted by another attacker as you may not be able to kill them before they react to you. Again, pick targets you are likely to kill, not necessarily ones you might only wound.
If you are spotted during an engagement by a ranged attacker, using deflect will buy you some precious seconds and can even save you from a handful of ultimate attacks. Be aware your deflect is telegraphed visually to your opponents with swirling red glows in front of you and may increase your visibility, despite the client-side visual only showing Genji to be holding his short blade in a defensive posture.
Best Answer
I've found it most effective to use Zarya as artillery support with her alternate fire, which lobs an exploding ball of energy in an arc. Like Pharah's rockets, these explosions have small splash damage that quickly falls off the further away the enemy is from the explosion, so don't expect to deal more than 150~ damage withing a single reload if you're at 0 energy. Zarya's primary fire has very short range and unless you have good tracking, it won't deal much damage, so her secondary fire is better to use at a distance, and you want to stay at a distance until you've built up enough energy to kill enemies faster than they can kill you.
As you said, Zarya's gameplay revolves around her two shields. Both shields are identical except for cooldown (10 seconds for the self shield, 8 for the projected shield): they last a maximum of 2 seconds, they can absorb up to 200 damage, they protect from impairing effects like McCree's flashbang and Mei's freezing effect, and each individual shield can only charge Zarya's energy by 40 at most. It's also worth noting that if a shield is up, it will always fully absorb the hit that destroys it, even if the shield had less health than the absorbed hit. For example, a shield will always save yourself or an ally from D.Va's Self-Destruct, even though it deals 1000 damage.
The way Zarya should be played depends a lot on her current energy; while it's low, you don't have big changes of surviving a fight, since you won't be able to kill enemies before they can kill you. The basic idea is to attack from far away while your energy is low, using your secondary fire to safely damage the enemy while peeking around corners, and whenever your shield is up, you can run out in the open for 2 seconds and absorb energy from the enemies' attacks, which will make your grenades much stronger. Each point of energy translates to 1% extra damage from both primary and secondary fire, so you can see how much difference 80+ energy would make in Zarya's damage output. The secondary shield can be projected on your allies whenever they're being focused down, and it's a good idea to place one on a beefier tank than you like D.Va or Reinhardt while they're out in the open. Once your energy is high enough, around maybe 75+, you can afford to be aggressive and lead the charge, but keep in mind that your survivability still depends largely on having your self shield. Even on high energy, it's a good idea to attack mostly with your secondary fire unless in very close range, or against a large, slow tank that is hard to miss with your primary beam.
Zarya's ultimate is best used in conjunction with Barrage or Self-Destruct, but you can deal pretty good damage with a 100 energy alternate fire. Keep in mind that Graviton Surge does not prevent enemies from attacking and using abilities, so if you're not careful you might be quickly brought down before being able to pump out enough damage to be worth the ultimate.
Ultimately, Zarya works well with almost any allies, IMO, but she can't fulfill the role of primary tank, so you always want to pair with one. Low health heroes who still want to be fighting like Tracer and Reaper will benefit greatly from 200 extra health when they're caught out, heroes who can't fight on their own like Mercy and suitless D.Va will survive that bit longer when the enemy comes to flank them, big tanky heroes won't be helped by shields as much, but you'll love the instant 50 energy from the attention they draw, and finally, big AoE damage dealers or continuous damage dealers like Junkrat, Pharah, and Bastion, or high damage ultimates like Hanzo's, Genji's, and D.Va's work really well with Graviton Surge. Just make sure not to use it together with Winston's or Roadhog's, since they'll push enemies away from the black hole.