Sunday, November 15, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Legacy Fortran Solver Revived for Laminar Flow Benchmarks

November 9, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 5 mins read
0
Legacy Fortran Solver Revived for Laminar Flow Benchmarks

Legacy Fortran Solver Revived for Laminar Flow Benchmarks

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A recovered 1995 Fortran finite-volume solver for laminar contraction flow has been recompiled, documented, and exercised as a reusable research-software object. The study focuses on a two-dimensional incompressible flow problem in a channel with a symmetric step contraction, a geometry that generates sharp gradients and recirculation zones useful for testing numerical methods. By reviving this specific code, the authors aim to demonstrate how older scientific software can be inspected, validated, and repurposed for modern reproducibility workflows.

The contraction flow problem is deceptively simple in its geometry but complex in its numerical behavior. A channel with a symmetric step contraction forces the computed flow to adjust through acceleration, pressure redistribution, and the possible formation of separated regions near the step. This setup tests whether a code can accurately represent the qualitative response of a viscous flow to a localized geometric singularity. The step corners create localized regions where gradients can become large, making the benchmark more revealing than a straight-channel test because it stresses the interaction among geometry, pressure correction, convection, and boundary conditions.

The original dissertation implemented a projection time-stepping method for the two-dimensional Stokes and Navier–Stokes equations. It compared three classical convection discretizations: central differencing, upwinding, and QUICK. The current reproduction revisits this framework to answer whether the recovered code can produce finite, nearly divergence-free fields on the original-style grid. The authors also investigate whether the three convective schemes reproduce the qualitative hierarchy reported in the 1995 dissertation and where modern reproducibility checks reveal behavior that might be missed from console output alone.

The software package is written in Fortran and uses a finite-volume spatial discretization with a staggered arrangement, where velocity components are stored on cell faces and pressure is stored at cell centers. The pressure is handled by a projection step involving a dense LU factorization through LAPACK routines. The convective term in the Navier–Stokes runs is approximated using one of the three schemes: central differencing, upwind differencing, or QUICK. The code is compact enough to be inspected directly, consisting of a global variable module, input parsing, array allocation, and assembly of the pressure Poisson matrix. This design favors conceptual directness over the sparse iterative solvers expected in modern large-scale CFD packages.

The reproduction campaign used a consistent 120 by 30 pressure grid and the same contraction ratio for all runs. The authors recorded the maximum velocity-change residual printed by the code and computed the maximum absolute discrete divergence from the output file. In valid reproduced runs, the maximum absolute divergence is typically of order 10 to the power of negative 12, indicating that the pressure-correction step performs its intended role even when the velocity residual has not reached the nominal tolerance. This divergence diagnostic serves as an independent check on the incompressibility constraint, which is central to the interpretation of the results.

At a Reynolds number of 20, all three convection schemes produced finite, nearly divergence-free fields. Their streamfunctions were close, with QUICK being especially close to central differencing, showing a mean absolute streamfunction difference of approximately 7.9 times 10 to the power of negative 5. The corresponding upwind-central difference was approximately 5.1 times 10 to the power of negative 4. This result is consistent with the expected behavior that QUICK is less diffusive than first-order upwinding. The residual histories for all three schemes decayed to the same practical residual band, although none reached the nominal tolerance of 10 to the power of negative 8.

At a Reynolds number of 500, QUICK remained stable and continued to reduce the residual through 10,000 time steps. The streamfunction changed very little between the 7,000-step and 10,000-step outputs, with a mean absolute change of approximately 1.4 times 10 to the power of negative 6. Although the printed residual did not reach the nominal tolerance, the field itself was effectively steady for qualitative plotting and comparison. This demonstrates the distinction between residual convergence and field stationarity, a nuance important for interpreting legacy code outputs.

At a Reynolds number of 2000, the schemes separated more clearly. Upwinding converged robustly to a residual plateau near 2 times 10 to the power of negative 8. QUICK remained finite and the projection step continued to produce small divergence, but the residual did not approach a steady-state tolerance in the tested runs. Central differencing failed due to overflow and NaNs under the tested settings. These observations reproduce the qualitative hierarchy reported in the original dissertation: upwinding is robust, QUICK is less diffusive but more demanding, and central differencing becomes fragile under higher Reynolds numbers.

One numerical-safety issue was identified during reproduction: if a run overflows and produces NaNs, the convergence function may report false convergence because comparisons with NaNs do not update the residual maximum. Such cases are identified as failures, even if the final console line says “converged.” Valid fields are required to contain no NaNs and to have a small divergence diagnostic. This finding highlights why reproducibility packages should test for finite-valued fields rather than relying only on a final convergence message, a lesson applicable to many legacy scientific codes.

The software is released under the MIT License and includes the preserved numerical source, an immutable recovered 1995 copy, archived example configurations, validation and post-processing scripts, automated tests, and documentation. The executable workflow is built with make and run with ./run.sh from the repository root. The input file step.dat controls all principal run parameters, including the method, Reynolds number, time step, convergence tolerance, and grid size. This simple text interface makes the code useful as a reproducibility object, allowing individual experiments to be reconstructed from a small input file and a console log.

The recovered solver is not intended to compete with modern production CFD packages but serves as a small, inspectable, and transparent benchmark. It is useful in teaching settings where students need to connect finite-volume discretization, pressure projection, convergence histories, and flow visualization without first learning a large software framework. The package can also serve as a lightweight reference case for researchers building automated workflows around legacy scientific codes, where build commands, input files, run logs, and derived figures must be archived together.

The results support the original numerical narrative with a more explicit reproducibility framing. The solver can be compiled and run with modern Fortran tooling, and its valid outputs are strongly divergence-free. Differences among convection schemes appear mainly in their stability, convergence rate, and numerical diffusion. The exercise shows why resurrecting legacy scientific codes requires more than successful compilation, necessitating explicit tests for finite residuals, termination on NaNs or infinities, and machine-readable run metadata. The contribution is a documented reconstruction of a classical finite-volume contraction-flow computation, highlighting the broader computational-science lesson that fast modern workflows still require conservative baseline tests and reconstructable run evidence.

Subject of Research: Step-contraction finite-volume solver: A reproducible fortran solver for laminar contraction flow

Article Title: Step-contraction finite-volume solver: A reproducible fortran solver for laminar contraction flow

Article References: Chaisi, M. (2026). Step-contraction finite-volume solver: A reproducible fortran solver for laminar contraction flow. SoftwareX, 36, Article 103199. https://doi.org/10.1016/j.softx.2026.103199

Image Credits: AI Generated

DOI: 10.1016/j.softx.2026.103199

Keywords: Step-contraction, finite-volume, solver, reproducible, fortran, laminar, contraction, flow, scientific research

Cite Scienmag News

Denise Maddox. (November 9, 2026). Legacy Fortran Solver Revived for Laminar Flow Benchmarks. Scienmag. https://scienmag.com/legacy-fortran-solver-revived-for-laminar-flow-benchmarks/

Denise Maddox. "Legacy Fortran Solver Revived for Laminar Flow Benchmarks." Scienmag, 9 November 2026, https://scienmag.com/legacy-fortran-solver-revived-for-laminar-flow-benchmarks/. Accessed 15 November 2026.

Denise Maddox. "Legacy Fortran Solver Revived for Laminar Flow Benchmarks." Scienmag. November 9, 2026. https://scienmag.com/legacy-fortran-solver-revived-for-laminar-flow-benchmarks/

Tags: contractionfinite-volumeflowfortranlaminarreproducibleScientific ResearchsolverStep-contraction
Share26Tweet16
Previous Post

Dopamine D1 Receptors Mediate Nesfatin-1 Anorexia in Broilers

Next Post

Ecosystem Services on Qinghai-Tibet Plateau Show Synergy and Divergence

Related Posts

Increasing Weak Interlayers Reduces Rock Compressive Strength and Increases Fracture Density
Earth Science

Increasing Weak Interlayers Reduces Rock Compressive Strength and Increases Fracture Density

November 15, 2026
Numerical investigation of passive and active, filter-based vehicle-integrated tire and road wear capture systems: Effectiveness and electric vehicle energy and range effects
Earth Science

Numerical investigation of passive and active, filter-based vehicle-integrated tire and road wear capture systems: Effectiveness and electric vehicle energy and range effects

November 15, 2026
Integrated Deep Learning Framework Predicts Underground Hazards in Smart Mine Testing
Technology and Engineering

Integrated Deep Learning Framework Predicts Underground Hazards in Smart Mine Testing

November 15, 2026
Higher Triglyceride-Glucose Index Links to Recurrent Kidney Stones in Nondiabetic Adults
Medicine

Higher Triglyceride-Glucose Index Links to Recurrent Kidney Stones in Nondiabetic Adults

November 15, 2026
Secondary Cold Expansion Balances Residual Stress in Large Aluminum Lug Holes
Technology and Engineering

Secondary Cold Expansion Balances Residual Stress in Large Aluminum Lug Holes

November 15, 2026
Stiffer Composite Wraps Reduce Required Repair Thickness for Corroded Steel Pipelines
Technology and Engineering

Stiffer Composite Wraps Reduce Required Repair Thickness for Corroded Steel Pipelines

November 15, 2026
Next Post
Ecosystem Services on Qinghai-Tibet Plateau Show Synergy and Divergence

Ecosystem Services on Qinghai-Tibet Plateau Show Synergy and Divergence

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Air Pollution Linked to Arthritis Flares Weakens After Adjusting for Season
  • MicroRNA-337-5p Levels Differentiate Diabetic Retinopathy Severity and Protect Retinal Cells via WNK1
  • Second-Line Regimens Show Modest Efficacy in SMARCA4-Mutant Lung Cancer Database Study
  • Proteomic Profiling Uncovers Circulating Markers Linked to Gastric Cancer Survival

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading