Title | Previous | Next

mir

Set options for the material interface reconstruction algorithm.

Synopsis:

mir option = value [,option = value, ...]

Arguments:

option

An option for the algorithm. See table below.

value

A value associated with the matching option . See table below.

Option

Value

Value Meaning

Default Value

algorithm

old, new

Which algorithm to use. The old algorithm is an isosurface based algorithm, and it is less accurate. The new algorithm is a probability based algorithm which better handles clean zones and zones with more than two materials.

new

subdiv

1,2,3

The level of subdivision to use. 1 implies no subdivision, and the algorithm is fastest when level 1 is selected. 3 is the highest amount of subdivision and can better handle zones with higher numbers of materials, but it takes longer and can introduce minor oscillations in the material surface. Note that this only applies to 3D plots.

1

iter

nonnegative integer, typically between 0 and 20

This specifies the maximum number of iterations to use when attempting to make the volume fractions in the reconstruction represent the true volume fractions. Note that iteration can take a while in 3D, and that most of the accuracy is recovered after only a few iterations.

0

vf

real number from 0.0 to 1.0

This applies only to the old algorithm. If this number is less than 0.5, the material boundaries grow. If the number is more than 0.5, the material boundaries encompass less.

0.501

Description:

The mir command sets options which apply to future invocations of the material interface reconstruction algorithm. This algorithm is used when doing a filled or unfilled material boundary plot, or when doing material selection in 3D. Setting these options does not recalculate existing material interfaces, so a replot must be issued for each plot you wish to regenerate.

The subdiv and iter options apply only to the new algorithm, and the vf option applies only to the old algorithm.

Examples:

mir subdiv=3 iter=2

mir algorithm=old vf=0.4

See Also:

replot , smat , bnd , and matsel in the defvar command


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.