USim Documentation
3.0.1
Tech-X
Documents
USim 3.0 Installation, Licensing and Release Notes
Introduction
Installation
USim Installation Instructions
Included Software
USim Documentation
License Installation
Windows or Linux
On Mac OS X
Release Notes
New and Updated Features in 3.0
New and Updated Features in 2.2
New and Updated Features in 2.0
USim Quick Start
USim Quick Start: Getting Started with the USim Series of Computational Applications
USimComposer Introduction
Setup
Run
Visualize
USimComposer Menu Bar
USimBase Examples
Flow over a Forward-Facing Step (forwardFacingStep.pre)
Kelvin-Helmholtz Instability (khInstability.pre)
Magnetized Ramp Flow (rampFlow.pre)
Rayleigh-Taylor Instability (rtInstability.pre)
Shock Tube (shockTube.pre)
Unstable Plasma zPinch (zPinch.pre)
USimHEDP Examples
Anisotropic Diffusion (anisotropicDiffusion.pre)
Anisotropic Poisson (anisotropicPoisson.pre)
Multi-Fluids with Collisions (collisionalMultiFluid.pre)
Dense Plasma Focus (densePlasmaFocus.pre)
Gas Injection (gasInjection.pre)
Two-Fluid Magnetic Reconnection (gemChallenge.pre)
Magnetic Nozzle (magneticNozzle.pre)
Merging Plasma Jets (plasmaJetMerging.pre)
Ten-Moment, Two-Fluid Shock (tenMomentShock.pre)
Verify EOS Table (verifyEOSTable.pre)
USimHS Examples
Diffusion (diffusion.pre)
Turbulent Flow Over Flat Plate (flatPlate.pre)
Flow over a Cylindrical Rod (highSpeedRod.pre)
Supersonic Crossflow over a Cylinder (mach2Cylinder.pre)
Blunt-Body Reentry Vehicle (ramC.pre)
3D Reentry Vehicle (ramC3d.pre)
Coupled USimHS and USimHEDP Examples
Arc Plasma Torch (plasmaTorch.pre)
Radio Communication Blackout (ramCEM.pre)
USim In Depth
Basic Concepts
Pre File Syntax
Key Parameters
Macros
Introduction
Overview
Basic USim Simulations
Using USim to solve the Euler Equations
Using USim to solve the Magnetohydrodynamic Equations
Solving Multi-Dimensional Problems in USim
Solving Problems on Advanced Structured Meshes in USim
Solving Problems on Unstructured Meshes in USim
Advanced USim Simulations
Advanced USim Simulation Concepts
Advanced Methods for Solving the Euler Equations with USim
Advanced Methods for Solving the Magnetohydrodynamics Equations with USim
Advanced Methods for Solving for Solving Problems in Multi-Dimensions with Usim
Advanced Methods for Solving Problems on Advanced Meshes with USim
Using USim to Solve Advanced Physics Problems
Using USim to Solve a Diffusion Problem
Using USim to Solve the Two-Fluid Plasma Model
Using USim to Solve MHD with General Equation of State
Using USim to Solve MHD with General Equation of State
Using USim to Solve a Magnetic Nozzle Problem
Using USim to Solve an Anisotropic Diffusion Problem
Using USim to Solve Multi-Fluid Problems with Collisions
Using USim to solve 10 moment ions with 5 moment electrons
Using USim to Solve Navier-Stokes Equations
Using USim to Solve Multi-Species Reactive Flows
Advanced Time-Stepping Methods in USim
Running USim from the Command Line
Restarting a USim Simulation
Running on a Remote Host
USim Reference Manual
Introduction
Macros
Mathphys Macro
Grid Macro
Euler Macro
Ideal MHD Macro
Anisotropic Conductivity Macro
Grid
cart (1d, 2d, 3d)
bodyFitted (1d, 2d, 3d)
unstructured
DataStruct
bin
dynVector
nodalArray
DataStructAlias
UpdateStep
UpdateSequence
Updater
initialize (1d, 2d, 3d)
linearCombiner (1d, 2d, 3d)
uniformCombiner (1d, 2d, 3d)
combiner (1d, 2d, 3d)
dynVectorOperator
equation (1d, 2d, 3d)
computePrimitiveState(1d, 2d, 3d)
vertexJetUpdater (1d, 2d, 3d)
firstOrderMusclUpdater (1d, 2d, 3d)
classicMusclUpdater (1d, 2d, 3d)
unstructMusclUpdater (1d, 2d, 3d)
thirdOrderMusclUpdater (1d, 2d, 3d)
vector (1d, 2d, 3d)
diffusion (1d, 2d, 3d)
navierStokesViscousOperator (1d, 2d, 3d)
kOmegaOperator (1d, 2d, 3d)
kEpsilonOperator (1d, 2d, 3d)
generalizedOhmsLaw (1d, 2d, 3d)
resitiveOperator (1d, 2d, 3d)
multiUpdater (1d, 2d, 3d)
implicitMultiUpdater (1d, 2d, 3d)
localOdeIntegrator (1d, 2d, 3d)
timeStepRestrictionUpdater (1d, 2d, 3d)
boundaryEntityGenerator (1d, 2d, 3d)
characteristicCellLength (1d, 2d, 3d)
entityGenerator (1d, 2d, 3d)
minDistanceToWall (1d, 2d, 3d)
operatorEntityGenerator (1d, 2d, 3d)
paintEntity (1d, 2d, 3d)
binCells (1d, 2d, 3d)
fieldAtPoint (1d, 2d, 3d)
intCombinedFields (1d, 2d, 3d)
lineIntegral (1d, 2d, 3d)
maxCombinedFields (1d, 2d, 3d)
surfaceIntegral (1d, 2d, 3d)
surfaceVariables (1d, 2d, 3d)
nanChecker (1d, 2d, 3d)
pressureDensityCorrector (1d, 2d, 3d)
valueCorrector (1d, 2d, 3d)
Time Integrator
Preconditioner
Hyperbolic Equations
eulerEqn
realGasEqn
realGasEosEqn
tenMomentEqn
multiSpeciesSingleVelocityEqn
mhdDednerEqn
mhdDednerEosEqn
gasDynamicMhdDednerEqn
simpleTwoTemperatureMhdDednerEqn
twoTemperatureMhdDednerEqn
maxwellEqn
maxwellDednerEqn
gasDynamicMaxwellDednerEqn
twoFluidEqn
userDefinedEqn
Algebraic Equations
eulerSym
mhdSym
maxwellSym
multiSpeciesSym
twoFluidSym
exprHyperSrc
mhdSrc
tenMomentFluidSrc
twoFluidSrc
idealGasVariables
idealGasComputeVariables
propaceosVariables
propaceosComputeVariables
sesameVariables
sesameComputeVariables
vanDerWaalsVariables
vanDerWaalsComputeVariables
bremsPowerSrc
radiationAbsorption
radiationEmission
coilFieldEqn
current
lorentzForce
wireFieldEqn
computeChargeError
hyperbolicCleanSym
collisionFrequency
conductivityTensor
momentumEnergyExchange
NFluidSrc
reactionTableRhs
temperatureRelaxation
transportCoeffSrc
Boundary Conditions
copy (1d, 2d, 3d)
eulerBc (1d, 2d, 3d)
functionBc (1d, 2d, 3d)
generalBc (1d, 2d, 3d)
maxwellBc (1d, 2d, 3d)
mhdBc (1d, 2d, 3d)
periodicCartBc (1d, 2d, 3d)
simpleBc (1d, 2d, 3d)
sufaceEvaporation (1d, 2d, 3d)
tenMomentBc (1d, 2d, 3d)
Time Step Restriction
cyclotronFrequency (1d, 2d, 3d)
frequency (1d, 2d, 3d)
hyperbolic (1d, 2d, 3d)
plasmaFrequency (1d, 2d, 3d)
positiveValue (1d, 2d, 3d)
quadratic (1d, 2d, 3d)
whistlerWave (1d, 2d, 3d)
Multi-Species Data Files
Multi-Species Chemical Reactions
Multi-Species Specific Heat At Constant Pressure
Multi-Species Energy of Formation, Molecular Weight, Molecular Diameter and Degrees of Freedom
Current Topic
centralFlux
Contents
USim 3.0 Installation, Licensing and Release Notes
USim Quick Start
USim In Depth
USim Reference Manual
centralFlux
ΒΆ
Computes the local central flux at an interface. The definition of the central flux is given below.
\[\notag \begin{align} \tilde{f}_{i+1/2}=\frac{1}{2}\left(f^{+}_{i}+f^{-}_{i+1}\right) \end{align}\]