Elmer FEM solver
Elmer is an open source finite element software for multiphysical problems
 All Classes Files Functions Variables Typedefs Macros Groups Pages
CompressibleNS.src File Reference

Functions/Subroutines

subroutine compressiblens (Model, Solver, dt, TransientSimulation)
 
subroutine localmatrix (STIFF, Mass, FORCE, LOAD, NodalT, Nodalrho, Nodalmu, NodalVelo, Element, n, nd, dim, Stabilization, PicardIteration, gamma, cv, k, la, T0, rho0)
 

Function/Subroutine Documentation

subroutine compressiblens ( type(model_t)  Model,
type(solver_t)  Solver,
real(kind=dp)  dt,
logical  TransientSimulation 
)

A monolithic compressible Navier-Stokes solver. The equation includes velocity components, pressure and temperature. Ideal gas law is assumed.

Parameters
solverLinear & nonlinear equation solver options
modelAll model information (mesh, materials, BCs, etc...)
dtTimestep size for time dependent simulations
transientsimulationSteady state or transient simulation

References coordinatesystems::coordinatesystemdimension(), coordinatesystems::currentcoordinatesystem(), defutils::defaultdirichletbcs(), defutils::defaultfinishassembly(), defutils::defaultfinishbulkassembly(), defutils::defaultinitialize(), defutils::defaultsolve(), messages::fatal(), defutils::getactiveelement(), defutils::getbodyforce(), defutils::getelementdofs(), defutils::getelementnofbdofs(), defutils::getelementnofnodes(), defutils::getmaterial(), defutils::getreal(), messages::info(), lists::listgetconstreal(), lists::listgetinteger(), lists::listgetlogical(), lists::listgetstring(), localmatrix(), and solver().

Here is the call graph for this function:

subroutine compressiblens::localmatrix ( real(kind=dp), dimension(:,:), target  STIFF,
real(kind=dp), dimension(:,:), target  Mass,
real(kind=dp), dimension(:), target  FORCE,
real(kind=dp), dimension(:,:), target  LOAD,
real(kind=dp), dimension(:)  NodalT,
real(kind=dp), dimension(:)  Nodalrho,
real(kind=dp), dimension(:)  Nodalmu,
real(kind=dp), dimension(:,:)  NodalVelo,
type(element_t), pointer  Element,
integer  n,
integer  nd,
integer  dim,
logical  Stabilization,
logical  PicardIteration,
real(kind=dp)  gamma,
real(kind=dp)  cv,
real(kind=dp)  k,
real(kind=dp)  la,
real(kind=dp)  T0,
real(kind=dp)  rho0 
)

References elementdescription::elementinfo(), integration::gausspoints(), and defutils::getelementnodes().

Here is the call graph for this function: