Papers
Topics
Authors
Recent
Search
2000 character limit reached

FlowSlider: CFD & Generative Methods

Updated 5 July 2026
  • FlowSlider is a term for two distinct methods in CFD and generative modeling, each defined by unique mathematical frameworks and evaluation criteria.
  • In computational fluid dynamics, FlowSlider employs a mortar-based sliding interface for DGSEM that ensures conservation, free-stream preservation, and efficient MPI communication.
  • In generative modeling, FlowSlider enables training-free continuous image editing via a fidelity-steering decomposition that maintains edit fidelity while allowing slider-style control.

FlowSlider is a term that appears in two distinct technical contexts in the arXiv literature. In computational fluid dynamics, it denotes a high-order, mortar-based sliding-mesh interface for DGSEM, introduced as an efficient implementation for discontinuous Galerkin compressible Navier–Stokes solvers and demonstrated in large-scale turbomachinery LES (Dürrwächter et al., 2020). In generative modeling, it denotes a training-free method for continuous image editing in Rectified Flow, based on a fidelity-steering decomposition of FlowEdit’s update that enables slider-style control without post-training (Endo et al., 2 Apr 2026). The shared name therefore refers not to a single framework, but to two domain-specific constructions with different mathematical objects, implementation constraints, and evaluation criteria.

1. Name, scope, and disciplinary usage

In the current literature represented here, “FlowSlider” names two separate methods.

Usage Domain Core characterization
FlowSlider Computational fluid dynamics High-order, mortar-based sliding-mesh interface for DGSEM
FlowSlider Generative modeling Training-free continuous image editing via fidelity-steering decomposition

The CFD usage is embedded in the theory and implementation of sliding meshes for deformed domains, where different parts of the domain are in relative motion. Its primary concerns are non-conforming interface coupling, conservation, free-stream preservation, and efficient MPI communication in a dynamically changing mesh topology. The image-editing usage is embedded in Rectified Flow-based prompt-pair editing on real images, where the central problem is continuous edit-strength control under fidelity constraints.

A recurrent source of ambiguity is therefore terminological rather than methodological. The two methods share a label but operate on different state spaces: DG face and mortar representations in one case, and latent ODE trajectories and guided velocity fields in the other.

2. Mortar-based sliding interfaces for DGSEM

In the CFD setting, FlowSlider is defined as a high-order, mortar-based sliding-mesh interface for DGSEM with minimal overhead in both computation and MPI communication (Dürrwächter et al., 2020). At each non-conforming interface between a static and a moving sub-domain, a layer of 2D mortar elements is introduced, and each DG face Ω\Omega is split into two mortars Ξ1,Ξ2\Xi_1,\Xi_2. The coupling consists of three operations: projecting the DG solution, and its gradients for viscous terms, from the face onto the mortars; computing a unique numerical flux via a Riemann solver on each mortar; and projecting that flux back onto the two faces.

For the projection ΩΞ\Omega \to \Xi, with i\ell_i denoting the 1D Lagrange basis on [1,1][-1,1] at the Gauss–Lobatto nodes, the face representation is written as

Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).

On the mortar Ξ\Xi, a local coordinate z[1,1]z \in [-1,1] is introduced, with a linear mapping ξ=ξ(z)\xi=\xi(z) depending on the hanging-node position σ\sigma. The un-weighted Ξ1,Ξ2\Xi_1,\Xi_20 projection onto Ξ1,Ξ2\Xi_1,\Xi_21 yields

Ξ1,Ξ2\Xi_1,\Xi_22

where

Ξ1,Ξ2\Xi_1,\Xi_23

The operator Ξ1,Ξ2\Xi_1,\Xi_24 depends only on Ξ1,Ξ2\Xi_1,\Xi_25 and Ξ1,Ξ2\Xi_1,\Xi_26 and can be precomputed for planar interfaces or assembled on the fly for curved ones.

For the back-projection Ξ1,Ξ2\Xi_1,\Xi_27, after computing a unique flux Ξ1,Ξ2\Xi_1,\Xi_28 on the mortar, FlowSlider enforces

Ξ1,Ξ2\Xi_1,\Xi_29

which yields

ΩΞ\Omega \to \Xi0

For straight faces, conservation follows because ΩΞ\Omega \to \Xi1 and ΩΞ\Omega \to \Xi2 are exact for polynomials of degree ΩΞ\Omega \to \Xi3, so that

ΩΞ\Omega \to \Xi4

The free-stream test is also exact: for ΩΞ\Omega \to \Xi5, one has ΩΞ\Omega \to \Xi6 for all ΩΞ\Omega \to \Xi7, and therefore

ΩΞ\Omega \to \Xi8

with back-projection again returning ΩΞ\Omega \to \Xi9. This establishes constant-state preservation on plane interfaces.

3. Three-dimensional algorithmics, MPI workflow, and scaling

For the general curved-interface case, FlowSlider represents surface mortars as 2D curved patches. In DGSEM, each mortar is represented by tensor-product polynomials of degree i\ell_i0 in both mortar directions, and the 2D projections decompose into two successive 1D operations along each coordinate line (Dürrwächter et al., 2020). In the planar-interface specialization, interfaces are Cartesian in one movement-parallel direction and possibly curved in the other two. If the movement is pure rotation about a fixed axis or pure translation, hanging-node positions i\ell_i1 are identical for all faces at a given time, so i\ell_i2 and i\ell_i3 are shared.

The implementation uses explicit connectivity and storage structures. Each static face is indexed by i\ell_i4, and each mortar has a sub-index i\ell_i5. A one-to-one map i\ell_i6 stores process-local ordering. The principal arrays are i\ell_i7, i\ell_i8, i\ell_i9, and [1,1][-1,1]0. The parameter [1,1][-1,1]1 is updated every stage or time-step; if [1,1][-1,1]2 crosses [1,1][-1,1]3, hanging indices [1,1][-1,1]4 shift by one and the sorting is recomputed only then.

Parallelization emphasizes a priori communication partner determination. During initialization, for each static face [1,1][-1,1]5, the MPI rank [1,1][-1,1]6 of the adjacent moving-subdomain process is looked up and broadcast, and the moving side stores [1,1][-1,1]7. This global exchange is performed once. To satisfy the conditions that partners and message size are known a priori, data are contiguous, and ordering is identical on send and receive, a local index array [1,1][-1,1]8 of tuples [1,1][-1,1]9 is built and sorted lexicographically by Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).0. The sorted column index is Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).1, which defines both packing of Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).2 before MPI_Isend and unpacking of incoming Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).3 after MPI_Irecv. The inverse map Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).4 is retained for fast packing and unpacking during projection.

The per-stage or per-time-step workflow computes local Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).5; checks whether Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).6 has changed and, if so, recomputes Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).7 and the sorting; interpolates Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).8 using Uk(ξ)i=0NU^iki(ξ).U^k(\xi) \simeq \sum_{i=0}^N \hat U_i^k\,\ell_i(\xi).9; exchanges replica and primary data by nonblocking MPI; overlaps the exchange with local DG interior work; waits for the arrival of Ξ\Xi0; computes the mortar flux Ξ\Xi1 on the static side via a Riemann solver; exchanges flux data; and finally projects Ξ\Xi2 on the moving side and Ξ\Xi3 on the static side.

Performance data were reported on Hazel Hen, a Cray XC40 with 24 cores per node, at DG order Ξ\Xi4. Strong scaling up to 12 288 cores achieved efficiency Ξ\Xi5 for Ξ\Xi6 DOF/core. Weak scaling from 36 to 288 elements/core achieved efficiency Ξ\Xi7. Relative to static DGSEM, PID degrades by approximately Ξ\Xi8 due to ALE flux and mortar operations. Additional memory scales as Ξ\Xi9, and for a typical rotor-stator partition it adds approximately z[1,1]z \in [-1,1]0–z[1,1]z \in [-1,1]1 to total memory.

4. Validation and turbomachinery application

The CFD FlowSlider was validated by both analytical and application-oriented studies (Dürrwächter et al., 2020). In a 2D isentropic vortex crossing a curved interface, z[1,1]z \in [-1,1]2 errors of z[1,1]z \in [-1,1]3 at z[1,1]z \in [-1,1]4 showed rates approximately z[1,1]z \in [-1,1]5 for z[1,1]z \in [-1,1]6. In a 3D manufactured sine wave with a planar sliding interface, z[1,1]z \in [-1,1]7 errors at z[1,1]z \in [-1,1]8 recovered full order. These results support the stated high-order accuracy of the mortar-based interface treatment.

A large-scale practical application was a wall-resolved implicit LES of the 1½-stage Aachen turbine. The mesh comprised 966 288 hexahedral elements, 24 layers in span, 5th-order curved geometry, and approximately 208 M DOF with sixth-order polynomials. Sliding interfaces were placed between stator–rotor and rotor–stator, with periodicity in pitch. Boundary conditions were measured inflow z[1,1]z \in [-1,1]9 at the stator inlet, pressure outflow with sponge, and adiabatic no-slip walls. Time integration used a 4-stage low-storage RK scheme with ξ=ξ(z)\xi=\xi(z)0, ξ=ξ(z)\xi=\xi(z)1, ξ=ξ(z)\xi=\xi(z)2, and ξ=ξ(z)\xi=\xi(z)3.

The reported compute cost was approximately 27 000 CPU h per rotor period on 4800 cores, with ξ=ξ(z)\xi=\xi(z)4. Phase-averaged surface pressure on stator 1, rotor, and stator 2 matched URANS and experiments at trailing edges. Instantaneous ξ=ξ(z)\xi=\xi(z)5-isosurfaces revealed transition on the stator suction side, wake–rotor interaction, and vortex shedding. Rotor blade lift versus phase showed maxima and minima when the stator wake impinged on the pressure side and suction side, and the lift spectrum exhibited a dominant 3rd harmonic of the blade-passing frequency and peaks near stator-wake shedding frequency.

Taken together, these results support the concluding characterization that the mortar approach achieves high-order accuracy ξ=ξ(z)\xi=\xi(z)6 across moving interfaces, provable conservation and free-stream preservation, excellent strong and weak scaling with only approximately ξ=ξ(z)\xi=\xi(z)7 overhead, and practical utility in expensive LES of turbomachinery.

5. Continuous image editing in Rectified Flow

In the generative-modeling setting, FlowSlider is a training-free method for continuous image editing in Rectified Flow that requires no post-training (Endo et al., 2 Apr 2026). Rectified Flow models define a learnable ODE via the straight-line interpolation

ξ=ξ(z)\xi=\xi(z)8

with learned velocity ξ=ξ(z)\xi=\xi(z)9. Conditioning by classifier-free guidance is written as

σ\sigma0

where σ\sigma1 is the guidance scale.

The immediate precursor is FlowEdit, which extends Rectified Flow from single-prompt generation to prompt-pair editing σ\sigma2 on real images without inversion. At each integration time σ\sigma3, FlowEdit forms a noisy source state

σ\sigma4

maintains an edit trajectory σ\sigma5 initialized to σ\sigma6 at the chosen edit-start step, anchors a target state

σ\sigma7

computes the difference update

σ\sigma8

and advances σ\sigma9 by Ξ1,Ξ2\Xi_1,\Xi_200.

The motivation for FlowSlider is that FlowEdit, at its default strength Ξ1,Ξ2\Xi_1,\Xi_201, produces high-fidelity edits, but naively scaling Ξ1,Ξ2\Xi_1,\Xi_202 by Ξ1,Ξ2\Xi_1,\Xi_203 amplifies both semantic change and residual noise, leading to artifacts and drift, including ringing and structural collapse. FlowSlider addresses this by introducing an additional term Ξ1,Ξ2\Xi_1,\Xi_204 and decomposing

Ξ1,Ξ2\Xi_1,\Xi_205

In compact form,

Ξ1,Ξ2\Xi_1,\Xi_206

with

Ξ1,Ξ2\Xi_1,\Xi_207

and

Ξ1,Ξ2\Xi_1,\Xi_208

Within this formulation, the fidelity term Ξ1,Ξ2\Xi_1,\Xi_209 acts as a source-conditioned stabilizer because both velocities use the same prompt Ξ1,Ξ2\Xi_1,\Xi_210 and differ only in state, while the steering term Ξ1,Ξ2\Xi_1,\Xi_211 isolates the cross-prompt velocity difference at the same state Ξ1,Ξ2\Xi_1,\Xi_212. The strength-parameterized update is then defined as

Ξ1,Ξ2\Xi_1,\Xi_213

or, in shorthand,

Ξ1,Ξ2\Xi_1,\Xi_214

This recovers FlowEdit exactly at Ξ1,Ξ2\Xi_1,\Xi_215 and permits attenuated edits for Ξ1,Ξ2\Xi_1,\Xi_216 and amplified edits for Ξ1,Ξ2\Xi_1,\Xi_217 without retraining.

6. Fidelity-steering geometry, inference-time procedure, and empirical behavior

A central claim of the image-editing FlowSlider is geometric: the instantaneous angle Ξ1,Ξ2\Xi_1,\Xi_218 between Ξ1,Ξ2\Xi_1,\Xi_219 and Ξ1,Ξ2\Xi_1,\Xi_220 is measured by

Ξ1,Ξ2\Xi_1,\Xi_221

and empirically clusters near Ξ1,Ξ2\Xi_1,\Xi_222 (Endo et al., 2 Apr 2026). Under the scaled update Ξ1,Ξ2\Xi_1,\Xi_223, the squared norm becomes

Ξ1,Ξ2\Xi_1,\Xi_224

When Ξ1,Ξ2\Xi_1,\Xi_225, varying Ξ1,Ξ2\Xi_1,\Xi_226 changes the steering magnitude almost independently of the fidelity component. The reported projections are

Ξ1,Ξ2\Xi_1,\Xi_227

and

Ξ1,Ξ2\Xi_1,\Xi_228

which formalize the claim that steering grows linearly in Ξ1,Ξ2\Xi_1,\Xi_229 while fidelity remains stable.

Implementation is entirely at inference time. At each solver step, three guided velocity fields are evaluated: Ξ1,Ξ2\Xi_1,\Xi_230, Ξ1,Ξ2\Xi_1,\Xi_231, and Ξ1,Ξ2\Xi_1,\Xi_232. Relative to FlowEdit’s two calls, this adds one extra network call but introduces no new weights and no training. With Ξ1,Ξ2\Xi_1,\Xi_233 ODE steps, as in the experiments, and one RK2 or Euler step per Ξ1,Ξ2\Xi_1,\Xi_234, the velocity evaluations are the only stated overhead. The operational loop initializes Ξ1,Ξ2\Xi_1,\Xi_235 and Ξ1,Ξ2\Xi_1,\Xi_236 at Ξ1,Ξ2\Xi_1,\Xi_237; for Ξ1,Ξ2\Xi_1,\Xi_238, recomputes Ξ1,Ξ2\Xi_1,\Xi_239, forms Ξ1,Ξ2\Xi_1,\Xi_240, computes Ξ1,Ξ2\Xi_1,\Xi_241 and Ξ1,Ξ2\Xi_1,\Xi_242, forms Ξ1,Ξ2\Xi_1,\Xi_243, and updates Ξ1,Ξ2\Xi_1,\Xi_244 before returning Ξ1,Ξ2\Xi_1,\Xi_245.

The experiments used FLUX.1-dev and Stable Diffusion 3 Medium as Rectified Flow backbones. Evaluation included a 250-image continuous-editing benchmark spanning season, weather, decay, style, and portrait attributes, together with PIE-Bench general editing for out-of-distribution evaluation. Edit quality was measured by CLIP-dir and DreamSim, while slider behavior was measured by Monotonicity, defined as the fraction of consecutive Ξ1,Ξ2\Xi_1,\Xi_246 steps where CLIP-TΞ1,Ξ2\Xi_1,\Xi_247 and DreamSimΞ1,Ξ2\Xi_1,\Xi_248, and by Smoothness, defined as the worst-case normalized triangle deficit over LPIPS distances. Baselines included learning-based sliders, namely Kontinuous Kontext and SliderEdit, as well as heuristic alternatives such as CFG-scale tuning, edit-window tuning Ξ1,Ξ2\Xi_1,\Xi_249, naive Ξ1,Ξ2\Xi_1,\Xi_250 scaling, and linear interpolation of velocities.

On the FLUX.1 backbone, averaged over Ξ1,Ξ2\Xi_1,\Xi_251, FlowSlider achieved the highest Ξ1,Ξ2\Xi_1,\Xi_252 and lowest Ξ1,Ξ2\Xi_1,\Xi_253, together with top-tier edit quality at Ξ1,Ξ2\Xi_1,\Xi_254 and Ξ1,Ξ2\Xi_1,\Xi_255. Qualitatively, it yielded artifact-free, smoothly intensifying edits across the stated tasks. The paper identifies several advantages: no fine-tuning, no extra data, plug-in compatibility with Rectified Flow editors, exact recovery of FlowEdit at Ξ1,Ξ2\Xi_1,\Xi_256, and bidirectional editing by Ξ1,Ξ2\Xi_1,\Xi_257. It also states clear limitations: at very large Ξ1,Ξ2\Xi_1,\Xi_258, orthogonality breaks down and structure can collapse, so practical Ξ1,Ξ2\Xi_1,\Xi_259 is recommended; and discrete concept changes such as “rabbit Ξ1,Ξ2\Xi_1,\Xi_260 cat” saturate at Ξ1,Ξ2\Xi_1,\Xi_261, after which further scaling yields artifacts. The stated future directions are adaptive step-size or higher-order integrators, combination with learned inversion or latent-space adapters, and extension to multi-instruction editing by decomposing additional steering axes in a similar fidelity-steering subspace.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to FlowSlider.