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 ( ) Macro

addAnisotropicConductivity ( ):
Adds computation of anisotropic conductivity tensor to MDH input files.

addAnisotropicConductivity (DIFFUSION_CFL) Macro

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 Macro

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 Macro

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 Macro

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 Macro

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 Macro

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 Macro

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)

anisotropicDiffusionScheme Macro

anisotroipcDiffusionScheme ( ):
Add a finite volume discretization of an anisotropic diffusion operator, \(\nabla \cdot \kappa \nabla \Phi\)

diffusionTimeAdvance Macro

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’.