Elmer FEM solver Elmer is an open source finite element software for multiphysical problems

## Functions/Subroutines

subroutine advectiondiffusionsolver (Model, Solver, Timestep, TransientSimulation)

subroutine diffuseconvectivecompose (MassMatrix, StiffMatrix, ForceVector, LoadVector, NodalCT, NodalC0, NodalC1, NodalC2, Temperature, EPotential, Ux, Uy, Uz, MUx, MUy, MUz, SoretD, NEC, Compressible, AbsoluteMass, Stabilize, UseBubbles, Element, n, Nodes)

subroutine advectiondiffusionsolver_init (Model, Solver, Timestep, TransientSimulation)

subroutine diffuseconvectivebboundary (BoundaryMatrix, Parent, pn, ParentNodes, Ratio, Element, n, Nodes)

subroutine diffuseconvectiveboundary (BoundaryMatrix, BoundaryVector, LoadVector, NodalAlpha, Element, n, Nodes)

subroutine diffuseconvectivegencompose (MassMatrix, StiffMatrix, ForceVector, LoadVector, NodalCT, NodalC0, NodalC1, NodalC2, Temperature, EPotential, Ux, Uy, Uz, MUx, MUy, MUz, SoretD, NEC, Compressible, AbsoluteMass, Stabilize, Element, n, Nodes)

subroutine diffuseconvectivegenbboundary (BoundaryMatrix, Parent, pn, ParentNodes, Ratio, Element, n, Nodes)

subroutine diffuseconvectivegenboundary (BoundaryMatrix, BoundaryVector, LoadVector, NodalAlpha, Element, n, Nodes)

## Function/Subroutine Documentation

 subroutine advectiondiffusionsolver ( type(model_t), target Model, type(solver_t) Solver, real(kind=dp) Timestep, logical TransientSimulation )

Advection-diffusion equation solver for scalar fields.

Parameters
 solver Linear & nonlinear equation solver options model All model information (mesh, materials, BCs, etc...) timestep Timestep size for time dependent simulations transientsimulation Steady state or transient simulation

Here is the call graph for this function:

 subroutine advectiondiffusionsolver::diffuseconvectivecompose ( real(kind=dp), dimension(:,:) MassMatrix, real(kind=dp), dimension(:,:) StiffMatrix, real(kind=dp), dimension(:) ForceVector, real(kind=dp), dimension(:) LoadVector, real(kind=dp), dimension(:) NodalCT, real(kind=dp), dimension(:) NodalC0, real(kind=dp), dimension(:) NodalC1, real(kind=dp), dimension(:,:,:) NodalC2, real(kind=dp), dimension(:) Temperature, real(kind=dp), dimension(:) EPotential, real(kind=dp), dimension(:) Ux, real(kind=dp), dimension(:) Uy, real(kind=dp), dimension(:) Uz, real(kind=dp), dimension(:) MUx, real(kind=dp), dimension(:) MUy, real(kind=dp), dimension(:) MUz, real(kind=dp), dimension(:) SoretD, real(kind=dp), dimension(:) NEC, logical Compressible, logical AbsoluteMass, logical Stabilize, logical UseBubbles, type(element_t), pointer Element, integer n, type(nodes_t) Nodes )

Diffuse-convective local matrix computing (cartesian coordinates) Returns element local matrices and RSH vector for diffusion-convection equation.