DFLUX

This problem contains basic test cases for one or more Abaqus elements and features.

The following topics are discussed:

ProductsAbaqus/Standard

Features tested

User subroutine to define nonuniform distributed flux in heat transfer and mass diffusion analyses.

Heat transfer analysis

Elements tested

DC2D8

Problem description

A steady-state heat transfer analysis of a unit block is performed. The block is composed of six DC2D8 elements. Side A of the block (nodes 1–7) has its temperature, θA, ramped up linearly over the course of a step. The opposite side of the block, side B (nodes 201–207), has a nonuniform distributed flux, qB, applied to it via user subroutine DFLUX. The value of the distributed flux varies as a function of the current temperature of this side, θB. This variation of applied flux is chosen to be qB(θB)=-kθB, where k is the conductivity of the block material. A thermal energy balance,

q=-kθy=-k(θA-θB)Δy=qB(θB)=-kθB,

gives us a solution for θB such that θB=θA/2.

The inclusion of dq/dθB in user subroutine DFLUX is essential for good convergence of the solution.

Results and discussion

The results match the exact solution.

Input files

udfluxxx.inp

Test of DFLUX in a heat transfer analysis.

udfluxxx.f

User subroutine DFLUX used in udfluxxx.inp.

Mass diffusion analysis

Elements tested

DC2D8

Problem description

A steady-state mass diffusion analysis of a unit block is performed. The block is composed of six DC2D8 elements. Side A of the block (nodes 1–7) has its normalized concentration, ϕA, ramped up linearly over the course of a step. The opposite side of the block, side B (nodes 201–207), has a nonuniform distributed flux, qB, applied to it via user subroutine DFLUX. The value of the distributed flux varies as a function of the current normalized concentration, ϕB; temperature, θB; and equivalent pressure stress, pB, of this side. This variation of applied flux is chosen to be qB(ϕB,θB,pB)=-D(θ,p)ϕB, where D(θ,p) is the diffusivity of the block material. The diffusivity is defined as

D(θ,p)=D0+D1θ+D2p+D3θp,

and diffusion is otherwise considered to be independent of temperature and equivalent pressure stress (i.e., κp=κs= 0). The temperature and pressure stress fields are specified at all nodes and are ramped up linearly over the course of the step. The mass balance,

q=-D(θ,p)ϕy=-D(θ,p)(ϕA-ϕB)Δy=qB(ϕB,θB,pb)=-D(θ,p)ϕB,

gives a solution for ϕB such that ϕB=ϕA/2.

The inclusion of dq/dϕB in user subroutine DFLUX is essential for good convergence of the solution.

Results and discussion

The results match the exact solution.

Input files

udfluxmd.inp

Test of DFLUX in a mass diffusion analysis.

udfluxmd.f

User subroutine DFLUX used in udfluxmd.inp.