Saltar al contenido ForoHackers

Computational science: start here

Ciencia computacional
#3243 · · Citar · Denunciar

Computational science uses computers as an instrument of discovery: you turn a question about nature or engineering into a mathematical model, solve it numerically, and compare the result with measurement. It sits beside theory and experiment, and it is how we study things too large, small, fast, slow or dangerous to test directly, from weather to bridges.

Key concepts

  • Modelling: choose what to include and what to ignore, and state the equations and assumptions plainly.
  • Discretisation: turn continuous problems into finite ones with grids, time steps and finite elements.
  • Error and stability: round-off, truncation and conditioning decide whether a numerical answer can be trusted.
  • Verification and validation: check that you solved the equations right, then that they describe reality.
  • Performance: vectorisation, parallelism and memory layout often matter more than clever algorithms.

Vocabulary

  • Convergence: the numerical answer approaching the exact one as the grid or step shrinks.
  • Stiff problem: one where stability, not accuracy, forces tiny time steps.
  • Monte Carlo: estimating a quantity by random sampling.
  • Reproducibility: another person, or you later, getting the same result from the same inputs.

What to study, in order

  1. Calculus, linear algebra and a programming language with numerical arrays, such as Python with NumPy or Julia.
  2. Solve an ordinary differential equation with Euler's method, then a better one, and plot the error against step size.
  3. Study floating-point arithmetic by finding where a formula loses digits.
  4. Solve a heat or wave equation on a grid, and test convergence against a known solution.
  5. Profile your code, parallelise the slow part, and write down how you validated it.

Related tags

#numerical-analysis #simulation #hpc #research-software #linear-algebra

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder