This page shows how to use the LM741 op-amp model file in LTSpice. This is surprisingly un-intuitive, but is a good thing to know how to do. Model files can often be downloaded by vendor sites, but LTSpice only comes pre-loaded with models of common LT components.
Save it wherever you want, but you will need to know the full path to this file later.
Open the model file in a text editor and look for the line starting with
.SUBCKT. The top of LM741.MOD looks like this:
* connections: non-inverting input * | inverting input * | | positive power supply * | | | negative power supply * | | | | output * | | | | | * | | | | | .SUBCKT LM741/NS 1 2 99 50 28
The last line tells us the name of this model's sub-circuit is
Click the ".op" button on the toolbar, then add
.include followed by the full path to the model file. After clicking OK place the text somewhere on your LTSpice circuit diagram.
We know the part we are including is a 5-pin op-amp, so we can start by placing a generic component. Notice the description says you must give the value a name and include this file. We will do this in the next step.
Right-click the op-amp and update its
Value to match the name of the subcircuit we read from the model file earlier.
Your new component will run using the properties of the model you downloaded.