newtsim

Why Does Your CFD Solver Diverge on Non-Newtonian Flows?

· newtsim Engineering · 8 min read

You have a 24-inch subsea pipeline carrying waxy crude from a deepwater field. Your reservoir model says it works. Your process engineer signs off on the steady-state hydraulics. Then, six months into production, the line plugs — and you spend $40M on remediation that a better simulation would have caught before first oil.

This is not a hypothetical. It is the recurring, expensive lesson of applying Newtonian CFD tools to fundamentally non-Newtonian problems. The oil and gas industry runs on fluids that violate every assumption baked into standard solver architectures: drilling muds with a measurable yield stress, waxy crudes that transition from mobile liquid to gel on a timescale of hours, sediment-laden slurries in which particle concentration feeds back onto local viscosity in ways that destabilize numerical schemes. Conventional CFD handles none of these cleanly, and the failure modes are specific and predictable.


The Yield-Stress Singularity Problem

The Herschel-Bulkley model is the standard constitutive equation for yield-stress fluids used by conventional CFD tools:

τ = τ₀ + K γ̇ⁿ    (when τ > τ₀, fluid flows)
γ̇ = 0              (when τ ≤ τ₀, no flow — unyielded plug)

The difficulty is the discontinuity at γ̇ = 0. In the unyielded region, the viscosity is formally infinite, and any iterative solver that computes apparent viscosity as η = τ / γ̇ will attempt to divide by zero — or, more commonly, by a very small number that drifts across the mesh during iteration. The result is numerical divergence, and it manifests in the residuals as oscillations that do not decay.

Engineers typically respond by increasing regularization: replacing the sharp yield-stress transition with a smooth approximation such as the Papanastasiou model. But the regularization parameter introduces its own error, and for yield-stress values above roughly 10 Pa, the unyielded zone geometry — the location and shape of the plug — is highly sensitive to that parameter. You are no longer simulating the physics; you are simulating your own numerical fix.

This matters directly in drilling mud transport. Water-based and oil-based drilling muds are formulated as yield-stress fluids, with yield stresses in the range of 5–40 Pa depending on weighting agent concentration. In the annular geometry between drill string and casing, the flow is neither fully plug nor fully sheared — there are coexisting yielded and unyielded regions whose interface moves as the drill string rotates and translates. Standard finite-volume solvers applied to this geometry routinely produce solutions where the plug zone is numerically smeared over several cell widths, underpredicting cuttings transport efficiency by 15–30%. That error translates directly into stuck pipe events and NPT.


Wax Deposition: Where Thermal Hydraulics and Phase Change Collide

Wax deposition in subsea flowlines is a multiphysics problem in which the fluid rheology is not fixed — it evolves as a function of temperature, pressure, and the fraction of wax already precipitated. Below the wax appearance temperature (WAT), paraffin crystals begin to nucleate and the effective viscosity of the crude climbs sharply. Below the pour point, the fluid exhibits a measurable yield stress and the pipe-flow assumption of a radially symmetric velocity profile breaks down.

The Foinaven field in the Atlantic Frontier — West of Shetland, in approximately 500 m water depth — is a well-documented case where thermal hydraulics and wax precipitation interact across production system timescales. The pipeline runs in ambient seawater temperatures close to 4°C, and during planned or unplanned shutdowns the bulk fluid temperature drops toward the seabed ambient on a timescale of hours. Any simulation of restart conditions must correctly capture the transition from a gelled, yield-stress material back to a mobile fluid as pump pressure is applied.

Conventional CFD approaches this problem by decoupling: run a steady-state thermal model, extract a temperature field, apply a wax precipitation correlation to get a viscosity map, then run the hydraulic solve. The error introduced by decoupling is not small. The deposition rate at the pipe wall depends on the radial wax concentration gradient, which is itself a function of the local velocity profile, which is a function of the viscosity distribution, which is a function of the deposition already accumulated. This feedback loop requires a tightly coupled solver. When it is missing, deposition thickness predictions carry errors of 40–60% over a six-week production cycle — errors that determine whether your pigging schedule is safe or whether you are pushing a pig into a partially gelled line.


Multiphase Instability in Non-Newtonian Systems

Adding a second phase — gas, water, or solid particles — to a non-Newtonian continuous phase creates solver instabilities that go beyond anything encountered in single-phase non-Newtonian flow.

The canonical difficulty is the coupling between local void fraction and local apparent viscosity. In a gas-liquid system where the liquid phase is a power-law fluid, the gas bubbles preferentially migrate toward regions of lower shear rate, which are also regions of higher local viscosity. The resulting void-fraction distribution is not uniform, and the drag correlations used in Eulerian-Eulerian two-fluid models — which were developed for Newtonian fluids — produce incorrect phase distribution predictions. Errors in local void fraction propagate into predicted pressure drop, heat transfer coefficient, and flow pattern transitions.

Hydrate formation in high-pressure, low-temperature multiphase lines creates a transient solid-liquid-gas system in which hydrate particles increase the effective viscosity of the liquid phase and can, at sufficient concentration, induce a gel-like yield stress. Simulating the onset of plug formation requires simultaneously tracking hydrate nucleation kinetics, particle concentration transport, and the resulting rheological evolution of the continuous phase. No standard CFD package couples these scales correctly out of the box.


Sediment Transport: The Concentration Feedback Problem

Dense sediment transport in non-Newtonian carrier fluids is a further layer of complexity. The governing challenge is that sediment concentration and carrier fluid rheology are mutually dependent. The Einstein-Batchelor correction to viscosity is adequate at low concentrations (φ < 0.05), but at the volume fractions typical of pipeline slurries (φ = 0.10–0.35) the effective medium viscosity is highly nonlinear.

The Krieger-Dougherty model captures the concentration dependence:

η_r = (1 − φ/φ_m)^(−[η]φ_m)

where φ_m is the maximum packing fraction and [η] is the intrinsic viscosity. The problem in CFD is that φ is a transported scalar with its own convection-diffusion equation. During the iterative solve, if the concentration field and the viscosity field are not updated in a tightly coupled inner loop, the solution can drift into a regime where the predicted viscosity is inconsistent with the predicted concentration distribution — and the solver diverges, or converges to a physically inadmissible state in which sediment accumulates in regions where the flow should be capable of carrying it.


What a Purpose-Built Multiscale Solver Changes

The failures described above are not primarily physics failures. The physics is understood. They are numerical architecture failures: regularization choices that introduce hidden errors, decoupled solvers that miss the critical feedback between phase change and rheology, and standard two-fluid models that were never validated for non-Newtonian continuous phases.

newtsim addresses these problems at the architecture level. Rather than starting from empirical constitutive models and patching the singularities, newtsim simulates from individual particle and molecular interactions at the micro scale. Machine learning models trained on those interactions carry the physics upward through scale without empirical approximation. The entire chain — from particle dynamics to industrial-scale flow — executes GPU-resident, staying in GPU memory from particle to continuum scale.

There is no regularization parameter to tune. There is no decoupled thermal-hydraulic solve. The constitutive behavior — including yield stress, wax precipitation onset, and sediment concentration feedback — emerges from the simulation itself. This is why newtsim converges on problems where residuals in ANSYS Fluent or OpenFOAM simply will not drop.

If your current workflow ends with residuals that will not drop, plug-formation predictions that miss the timeline by weeks, or wax deposition maps that do not match pigging observations, the problem is almost certainly not your mesh or your boundary conditions. It is the solver assumptions.

Running non-Newtonian CFD in oil and gas?

newtsim is built for exactly this class of problem — drilling fluid transport, wax deposition, slurry pipelines, hydrate plugging. Start a free simulation and run your case on a solver designed to converge where standard codes do not. Or book a 15-minute technical consultation with our non-Newtonian CFD consulting team.

Start a free simulation →    Talk to an engineer →

Frequently Asked Questions

Why does my CFD solver diverge on drilling mud or waxy crude?

Standard CFD solvers diverge on yield-stress fluids because their constitutive models compute apparent viscosity as the ratio of stress to shear rate. In the unyielded zone — where shear rate approaches zero — this produces a near-infinite viscosity that the solver cannot handle numerically. The standard fix is regularisation, which smooths the discontinuity but introduces a parameter-dependent error that grows at higher yield stresses.

How accurate are wax deposition predictions from standard CFD?

Conventional CFD decouples the thermal, phase-change, and hydraulic solves when modelling wax deposition. The error introduced by this decoupling is significant — deposition thickness predictions typically carry 40–60% error over a six-week production cycle compared to observed pigging data. This error determines whether your pigging schedule is safe.

What is the best CFD software for non-Newtonian multiphase flows in oil and gas?

General-purpose tools like ANSYS Fluent, STAR-CCM+, and OpenFOAM can model non-Newtonian single-phase flows with user-defined constitutive models, but they are not designed for combined multiphase and non-Newtonian problems. newtsim is built specifically for this class: it simulates individual particle interactions from first principles, uses ML to scale those interactions, and executes GPU-resident — eliminating the regularisation and decoupling errors that cause standard tools to fail on complex oil and gas fluids.

Can I outsource non-Newtonian CFD simulations for oil and gas?

Yes. newtsim offers non-Newtonian CFD consulting services for oil and gas operators and engineering firms that need specialist multiphase simulation capabilities. This includes one-off studies, simulation backlog clearance, and ongoing managed simulation services. Contact us at [email protected] or book a technical consultation at newtsim.com.