you can use Lennard_Jones Potential and use mixing rules for C and N. you define the potential in your input file.
haibin