Skip to content

Main content

Grid Courant Component Tool

Compute one supplied signed Courant component without assessing stability of an unspecified numerical scheme.

Loading tool…

Description

Return one signed Courant number and magnitude.

A dimensionless time-step ratio, free-diffusion scale or sampling weight assumes a particular model and data basis. Local bounds and factors can help diagnose a method, but accuracy, stability and statistical uncertainty depend on the complete algorithm and its assumptions.

Return one signed Courant number and magnitude.

When to use this tool

Use Grid Courant Component when checking the stated local stability, diffusion or sampling convention.

How to use the tool and how it works

  1. Enter velocity, timeStep, spacing. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read signedCourant, magnitude. Use the output convention below.

Return one signed Courant number and magnitude. Require timeStep >= 0 and spacing > 0; signedCourant = velocity*timeStep/spacing, magnitude is its absolute value.1

Input fieldMeaning and unitsAccepted input
velocityVelocityRequired. Finite number.
timeStepStep duration in the same time unit used by rates and accelerations.Required. Finite number; minimum 0.
spacingSpacingRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
signedCourantSigned CourantRequired. Finite number.
magnitudeMagnitudeRequired. Finite number.
json
{
  "input": {
    "velocity": 2,
    "timeStep": 0.5,
    "spacing": 4
  },
  "output": {
    "signedCourant": 0.25,
    "magnitude": 0.25
  }
}

Limitations and assumptions

  • Matching length/time units are required; the tool does not select a scheme-specific stability threshold.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Analyze the full numerical or stochastic method, its support and error behavior before treating a local factor as a reliability guarantee.

References

  1. Calculation and input contract: computational-physics/grid-courant-component — tool.io

Similar or alternative tools