If it is mains you will need an invertor. Simple answer is this.
How To Turn Your Truck Into A Generator The Family Handyman
How to wire a house fan to a car battery. But it seems that this just burns up the rad fan switch leading to the fan never coming on. So now we have a wire that goes through the engine bay to the cabin of your car. If 12v then red to red and black to black or to the car body if the battery is connected to the car. Get the 10 gauge wire and place it through the hole in your fire wall. I guess the idea is that a blown fuse or faulty wiring would never lead to the fan not working and thus the car overheating. Take the second jumper wire and connect one end of the jumper wire to the positive wire from the fan.
Attach the red power inverter input clamp to the positive pos or battery post. I wired my radiator fan directly to my battery on a suggestion from a reputable vw aircooled and diesel mechanic my dad takes his cars to. Plug the fan into the power inverter. Connect the other end of that wire to the engine block or any metal part of the car body. Now take the power wire from your fan and connect it to the wire that is going through the firewall. Turn the fan power switch to off.
Connect one end of the 12 gauge jumper wire to the black ground wire of the fan. Connect the negative input clamp black to the negative battery post on the automobile battery. Positive red terminal of the battery to the red wire of the fan negative black terminal of the battery to the black wire of the fan. This will be the wire that connects your switch to your fan power wire. It depends if it is a 12v fan or mains powered. You may want to insert a switch in the red wire.
Connect the inverters positive input clamp red to the positive battery post on the automobile battery. Attach the black power inverter input clamp to the negative neg or battery post. Step 2 power inverters have one or more outlet plugs.