Version changes

This section details changes to the arb syntax that have occurred for each version update.

v0.7

TODO copy from licence directory info

v0.61

v0.60

NONE_CONSTANT <b[l=<<i>>]> "2.d0**<<i>>" # defines all components of b listed in <<dimensions>>
NONE_CONSTANT <a[l=<<i>>,<<j>>]> "<a[l=<<i>>,<<j>>]> + permutation(<<i>>,<<j>>,<<k>>)*<b[<<j>>]>*<c[<<k>>]>" # calculates cross product of b and c
NONE_CONSTANT <i[l=<<i>>,<<j>>]> "kronecker(<<i>>,<<j>>)" # the identity matrix
NONE_TRANSIENT <d[r=<<r>>]> "" "<e[r=<<r>>]>" # defines all relstep versions of d listed in <<relsteps>>

The basic idea behind ‘index replacements’ is that the expression is repeated recursively for every unique index string found, over <<dimensions>> for l-type indices, and <<relsteps>> for r-type indicies. Navier-stokes template files updated to use index replacement notation. Watch out for missing <<dimensions>> definitions in non-3D problems. Time to revise BSL vector algebra notation! See the new examples file, vector_tensor_algebra. * New ‘colon’ operators cross and mag, complementing dot and ddot * Code communication ‘touch’ files now by default are looked for in the output directory, rather than the working directory, controlled by

GENERAL_OPTIONS outputdirtouchfiles
CELL_CONSTANT <a> "contextif(<d>,2,0)" # here 'context' becomes 'cell' when operator is used
FACE_CONSTANT <b> "contextif(<d>,2,0)" # here 'context' becomes 'face' when operator is used
NONE_CONSTANT <c> "nodesum(contextif(<d>,2,0),region=<allnodes>)" # here 'context' becomes 'node' when operator is used

v0.59

v0.58

REPLACEMENTS REPLACE '<<string>>' WITH 'another string' # sets <<string>>
REPLACEMENTS SUBSTITUTE '<<string>>' WITH 'another other string' # redefines <<string>>, using its original scope
REPLACEMENTS SUBSTITUTE '<<string2>>' WITH 'woops' # results in an error as <<string2>> has not previously been defined
INCLUDE_WORKING "my_reactions.rxn"

This just causes the rxntoarb script (ie, arb_reactions) to be run on the file before it is included in the solver code.

arb

v0.70

manual

contents