Example 8 : Material Properties

Overview

• This is a convection-diffusion problem with a non-linear material property.

• The ExampleDiffusion kernel uses a coefficent produced from a linearly interpolated tabulated Material property.

• The ExampleMaterial object couples in the gradient of the "diffused" variable and uses it to make a gradient material property.

• The ExampleConvection kernel uses the gradient material property as a velocity vector.

ex08.i

ExampleApp.C

Example Material Object

ExampleMaterial.h

ExampleMaterial.C

Diffusion with Material Property

ExampleDiffusion.h

ExampleDiffusion.C

Convection with Material Property

ExampleConvection.h

ExampleConvection.C

Convection

Diffusion