GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Troubleshooting guide

Casting Defect Repair Technology: A Shop-Floor Troubleshooting Guide

A casting that fails inspection is not automatically scrap. This guide helps engineers and buyers decide when casting defect repair technology is worth applying and when the part should be remelted. It covers porosity, cold shuts, shrinkage, and weld repair limits.

NDT before repairPreheat and PWHTWeld + machine back100% inspection
Casting defect repair technology discussion on a machined casting
Symptom to action

Common casting defects: symptom, cause, and disposition

Read the left column first. If two symptoms overlap, fix the one that affects the load path before the cosmetic one.

Symptom on the partLikely causeDisposition
Round pinholes on a machined faceGas entrapment during pourWeld if depth < 20 mm and isolated
Linear crack along a filletHot tear from restrained shrinkageGrind out and weld, then stress relieve
Layered seam, no fusionCold shut from low pour temperatureScrap if it crosses a pressure wall
Spongy surface after machiningMicro-shrinkage in a thick sectionImpregnate for seals, do not weld
Dimensional shift after repairHeat from welding distorted the partMachine after PWHT, not before
Hard spot that kills the cutterChill or sand inclusion near surfaceExcavate to sound metal, then weld

Repair the defect, not the symptom

If the defect crosses a pressure wall or a fatigue radius, scrap it. If it is isolated, in a sound thick section, and away from sealing faces, a mapped excavation and weld repair can save the part and the lead time.

Decision basics

What casting defect repair technology can and cannot fix

Casting defect repair technology is not one process. It is a set of methods: excavation and welding, impregnation, plugging, and mechanical blending. The method you pick depends on where the defect sits in the part, how the part is loaded, and what the drawing allows. A cosmetic pit on a non-critical boss is a different problem from a void in a hydraulic wall.

The first question is not how to fix the defect, but whether the defect is repairable at all. Any defect that crosses a pressure boundary, sits in a fatigue-critical radius, or opens into a machined sealing face usually means scrap. Welding a pressure wall buys time and hides the problem until a leak test at the customer.

The second question is heat. Most casting repair methods add heat locally. That heat changes the microstructure around the repair and can move the part. On a 300 mm gearbox housing, a few weld passes can pull the bore out of tolerance by more than the ±0.005 mm you promised. Plan the repair before the final machining operation, not after.

  • 1
    RepairableIsolated porosity or shrinkage away from sealing faces and load paths
  • 2
    Repairable with limitsDefects in thick sections that can be excavated and welded, then remachined
  • 3
    Usually scrapCracks through pressure walls, cold shuts across ribs, widespread micro-shrinkage
Detection

Find the true size of the defect before you touch it

A pinhole you can see is often the top of a larger void below. Repair without mapping the defect is guesswork. Start with visual inspection under good light, then dye penetrant for surface-breaking indications. For subsurface defects, use ultrasonic testing or radiography depending on section thickness and geometry.

Ultrasonic testing works well on sections above roughly 6 mm and gives depth information. Radiography is better for complex internal shapes but is slower and needs access from two sides. On a 30 mm thick casting, UT can tell you whether a 3 mm indication is 2 mm deep or 20 mm deep. That difference decides whether you weld or scrap.

Mark the defect boundary with a paint pen before excavation. Excavate with a carbide burr or grinding wheel until you reach sound metal, and check with penetrant again. The rule is simple: no dark indication, no welding. If you weld over a partially excavated defect, the void stays inside and reappears after machining.

  • 1
    Dye penetrantSurface-breaking cracks and porosity; fast, cheap, no depth data
  • 2
    UltrasonicSubsurface voids above 6 mm section; gives depth and size
  • 3
    RadiographyComplex internal geometry; needs two-sided access
Welding

Casting defect repair technology with welding: preheat, filler, and post-weld

Welding is the most common repair method for ferrous and aluminium castings, and the one most often done badly. The filler must match the base metal or be deliberately softer. For grey iron, use nickel-based filler to avoid hard, crack-prone martensite. For aluminium ADC12, use a 4043 or 5356 filler depending on the required strength and anodizing response.

Preheat controls cracking. Thin sections may need no preheat, but thick cast iron sections are usually preheated to 200–400 °C before welding and cooled slowly under an insulating blanket. Aluminium castings are often preheated to 150–250 °C to drive off moisture and reduce the thermal gradient. Skip preheat and you get a crack beside the weld, not in it.

After welding, the repair zone is not the same as the parent casting. Post-weld heat treatment relieves residual stress and, on some alloys, restores ductility. Then machine the repair back to the drawing. If the repair is on a sealing face, check flatness after machining, not before. A welded face can move 0.05 mm overnight as it cools.

  • 1
    Grey ironNickel-based filler, preheat 200–400 °C, slow cool
  • 2
    Aluminium ADC124043 or 5356 filler, preheat 150–250 °C, no anodize over repair
  • 3
    Steel castingsMatching low-hydrogen filler, preheat per thickness, PWHT after
Impregnation

When impregnation beats welding

Impregnation fills interconnected porosity with a liquid resin that cures in place. It works on parts that must hold air or fluid but are not structurally critical. A cast aluminium cover with scattered micro-porosity is a good candidate. A load-bearing bracket with the same porosity is not, because the resin adds no strength.

The process is simple: clean the part, pull a vacuum, apply resin, cure, then machine or finish as needed. It seals leaks up to moderate pressure, but it does not stop a crack from growing. If the defect is a crack, not porosity, impregnation hides the symptom and the crack keeps moving.

Impregnation also has a temperature ceiling. Standard resins are rated around 150–200 °C. Above that, the seal breaks down. For engine parts or anything near exhaust, choose welding or scrap the part instead. Tell your machinist early, because impregnated parts need care during later machining and cleaning.

  • 1
    Good fitNon-structural covers, housings, and manifolds with scattered porosity
  • 2
    Poor fitCracks, load-bearing sections, hot components above 150–200 °C
  • 3
    TimingImpregnate before final machining so sealed surfaces stay flat
Machining after repair

Machining a repaired casting without losing the tolerance

A repaired casting is a different part than the one you planned to machine. The weld zone is harder or softer than the parent metal, and the heat has moved the geometry. If you machine a repaired casting with the same program and the same setup as a sound casting, you will chase dimensions all day.

Set up on the repaired casting and check the datums first. Weld heat can pull a 500 mm housing out of flatness by 0.1 mm or more. Re-establish the datums, then decide how much stock to leave. On a bore with a ±0.005 mm tolerance, leave 0.3–0.5 mm for a finishing pass after the repair has cooled and stabilized.

Tool wear is the other trap. A hard chill zone or a nickel weld bead will dull a carbide insert in a few passes. Use a tougher grade or reduce cutting speed in the repair zone. If the repair is on a sealing face, check surface finish after machining. A welded aluminium face often tears and needs a slower feed to reach Ra 0.8–1.6 μm.

  • 1
    Check datumsWeld heat moves geometry; re-establish before cutting
  • 2
    Leave stock0.3–0.5 mm for finishing on tight bores after repair
  • 3
    Watch tool lifeHard chill zones and nickel welds dull carbide fast
Repair workflow

Casting defect repair technology step by step

Follow the order. Skipping the inspection steps is how a small repair becomes a scrapped part.

  • 1
    Inspect and map the defectClean the area, run dye penetrant, and mark the boundary. Use UT if the section is above 6 mm and you need depth. Record size and location on a sketch.
  • 2
    Decide repairable or scrapReject if the defect crosses a pressure wall, sits in a fatigue radius, or opens into a sealing face. Repair only isolated defects in sound sections.
  • 3
    Excavate to sound metalGrind or burr until no penetrant indication remains. Blend the edges to at least a 1:3 slope. Do not leave a sharp step that traps slag or gas.
  • 4
    Preheat per materialGrey iron 200–400 °C, aluminium 150–250 °C, steel per thickness and grade. Measure with a contact thermocouple, not a color judgment.
  • 5
    Weld with matching fillerUse nickel filler for grey iron, 4043 or 5356 for ADC12, low-hydrogen filler for steel. Keep passes small and let the part cool between passes.
  • 6
    Post-weld heat treat and coolStress relieve where the alloy allows, then cool slowly under an insulating blanket. Rushing the cool is the most common cause of a new crack.
  • 7
    Machine and verifyRe-establish datums, leave 0.3–0.5 mm on tight features, then finish. Re-inspect the repair zone with penetrant and check dimensions against the drawing.
FAQs

Questions engineers ask about casting repair

Can you weld a casting and still hold ±0.005 mm?

Yes, but only if the repair happens before final machining and the part is allowed to cool and stabilize first. Weld heat moves geometry, so the finishing cuts must come after the repair, not before.

On tight bores we leave 0.3–0.5 mm of stock for a finishing pass after the repair zone has cooled. Machining a repaired casting with the original setup usually ends in a dimensional chase.

Is impregnation acceptable for a hydraulic housing?

It depends on the pressure and the standard the part must meet. Impregnation seals interconnected porosity, but it adds no structural strength and has a temperature ceiling around 150–200 °C.

A low-pressure cover may pass. A load-bearing hydraulic wall with a crack should be scrapped, because the resin hides the symptom while the crack keeps growing.

Why does a repaired aluminium casting anodize differently?

The filler alloy and the weld microstructure anodize at a different rate than the parent metal. A 4043 weld often shows a darker or duller patch after clear anodizing.

If the part is visible, either keep the repair out of cosmetic zones or plan to paint instead of anodize. Decide this before welding, not after.

How do you know the defect is fully removed before welding?

Penetrant check after excavation. No indication means sound metal. If dye still bleeds out, keep grinding until it stops.

For deep defects, UT before and after excavation gives a size check. Welding over a partially removed defect traps the void inside, and it reappears after the next machining pass.

Does a repaired casting need to be re-inspected?

Yes. The repair zone is new material with its own properties. We re-check with penetrant and verify dimensions against the drawing before the part moves on.

Inspection reports are available on request. Raw material check, in-process monitoring, and final inspection all apply to repaired parts as well.

What documentation should come with a repaired casting?

At minimum: defect location, repair method, filler used, preheat and post-weld treatment, and the inspection result. That record matters if the part fails later.

If your quality system requires traceability, ask for it up front. We can supply inspection reports on request and work under NDA when the drawing is sensitive.

Send us the drawing and the inspection result

We review casting defects, quote a repair or remachining path, and give you a DFM response within 12 hours.

12-hour quoteNDA on requestInspection reports on request

Follow our work

More from the shop floor

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC