PLUTO Test Problems  4.4-patch2
Functions
init.c File Reference

Orbital (Kepler) test problem for dust particles. More...

Functions

void Init (double *v, double x1, double x2, double x3)
 
void InitDomain (Data *d, Grid *grid)
 

Detailed Description

In the program output, particles positions and velocity are written to disk together with the analytical solution, obtained by solving Kepler's equation the equations of motion with an ODE solver.

Config. Geometry Grid Drift Scheme Stopping time
01 Polar Uniform 1 Inf
02 Polar Uniform 2 Inf
Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it) M. Flock
Date
Aug 2, 2019

References

Function Documentation

◆ Init()

void Init ( double *  v,
double  x1,
double  x2,
double  x3 
)

Here we use

  • r = spherical radius
  • R = cylindrical radius

◆ InitDomain()

void InitDomain ( Data *  d,
Grid *  grid 
)

Assign initial condition by looping over the computational domain. Called after the usual Init() function to assign initial conditions on primitive variables. Value assigned here will overwrite those prescribed during Init().