Anisotropic Conductivity Macro
This macro file can be imported to an input file with $ import anisotropicConductivity.mac
.
This collection of macros can be used to add the computation of anisotropic conductivity tensor to MHD input files.
- addAnisotropicConductivity ( ):
- Adds computation of anisotropic conductivity tensor to MDH input files.
- addAnisotropicConductivity (DIFFUSION_CFL):
- Adds computation of anisotropic conductivity tensor to MDH input files.
addAnisotropicConductivity Macro Parameters
DIFFUSION_CFL
:
- Apply a separate CFL condition to the diffusion solve, specified by the value of DIFFUSION_CFL
- addKPerpendicularParameter (varName, varValue):
- Specify a variable for computing kPerpendicular
addKPerpendicularParameter Macro Parameters
varName
:
- Name to assign the quantity that is independent of grid position
varValue
:
- Value to assign the quantity that is independent of grid position
- addKPerpendicularPreExpression (expression):
- Specify a preExpression for computing kPerpendicular
addKPerpendicularPreExpression Macro Parameters
expression
:
- The mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
- addKPerpendicularExpression (expression):
- Specify an Expression for computing kPerpendicular
addKPerpendicularExpression Macro Parameters
expression
:
- The mathematical expression to evaluate. f=f(expression,variable,t,x,y,z)
- addKParallelParameter (varName, varValue):
- Specify a variable for computing kParallel
addKParallelParameter Macro Parameters
varName
:
- Name to assign the quantity that is independent of grid position
varValue
:
- Value to assign the quantity that is independent of grid position
- addKParallelPreExpression (expression):
- Specify a preExpression for computing kParallel
addKParallelPreExpression Macro Parameters
expression
:
- The mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
- addKParallelExpression (expression):
- Specify an Expression for computing kParallel
addKParallelExpression Macro Parameters
expression
:
- The mathematical expression to evaluate. f=f(expression,variable,t,x,y,z)
- anisotroipcDiffusionScheme ( ):
- Add a finite volume discretization of an anisotropic diffusion operator, \(\nabla \cdot \kappa \nabla \Phi\)
- diffusionTimeAdvance (order):
- Add an explicit Super-Time Step scheme for evolving the total energy of the gas with an anisotropic conductivity tensor
diffusionTimeAdvance Macro Parameters
order
:
- Order of the method. Can be ‘first’, ‘second’.