-
Notifications
You must be signed in to change notification settings - Fork 130
Passive Scalars
Kyle Gerard Felker edited this page May 3, 2019
·
20 revisions
A passive scalar is a quantity that is transported by the fluid but does not alter the fluid's behavior. To configure the code to evolve one or more species of passive scalars, run the configure.py
script with --nscalars=N
. This will set the internal preprocessor macro NSCALARS
to N
. See Configuring page for more details.
When NSCALARS > 0
, the Outputs that specify either cons
or prim
variables will automatically include the conservative or primitive formulation of each passive scalar species, respectively.
Diffusion Processes are also supported for the passive scalars, and can be activated by setting a positive problem/nu_scalar_iso
value in The Input File or when Overriding Input Parameters.
Getting Started
User Guide
- Configuring
- Compiling
- The Input File
- Problem Generators
- Boundary Conditions
- Coordinate Systems and Meshes
- Running the Code
- Outputs
- Using MPI and OpenMP
- Static Mesh Refinement
- Adaptive Mesh Refinement
- Load Balancing
- Special Relativity
- General Relativity
- Passive Scalars
- Shearing Box
- Diffusion Processes
- General Equation of State
- FFT
- Multigrid
- High-Order Methods
- Super-Time-Stepping
- Orbital Advection
- Rotating System
- Reading Data from External Files
- Non-relativistic Radiation Transport
- Cosmic Ray Transport
- Units and Constants
Programmer Guide