Skip to content

Main content

Poisson Stencil One Source Term Tool

Source contribution h squared*f/coefficient for the convention coefficient*Laplacian(u)=f.

Loading tool…

Description

Scale one Poisson-stencil source contribution.

Numerical grids and sampled modes require explicit coordinate, boundary and sign conventions. A staggered location, minimum-image gap or Nyquist label is one component of a discretization rather than a complete field solve or unique physical interpretation.

Scale one Poisson-stencil source contribution.

When to use this tool

Use Poisson Stencil One Source Term when checking the stated grid-coordinate, periodic-image or sampled-mode convention.

How to use the tool and how it works

  1. Enter source, spacing, coefficient. 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 scaledSource. Use the output convention below.

Scale one Poisson-stencil source contribution. Require spacing > 0 and coefficient != 0; scaledSource = source*spacing²/coefficient.1

Input fieldMeaning and unitsAccepted input
sourceSourceRequired. Finite number.
spacingSpacingRequired. Finite number; strictly above 0.
coefficientCoefficientRequired. Finite number.
Output fieldInterpretationReturned shape
scaledSourceScaled SourceRequired. Finite number.
json
{
  "input": {
    "source": 3,
    "spacing": 0.5,
    "coefficient": 2
  },
  "output": {
    "scaledSource": 0.375
  }
}

Limitations and assumptions

  • This is one supplied algebraic term, without a complete stencil, boundary condition or Poisson solution.
  • 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

Use the complete mesh, transform convention and boundary conditions for a consistent numerical simulation or physical interpretation.

References

  1. Calculation and input contract: computational-physics/poisson-stencil-one-source-term — tool.io

Similar or alternative tools