MAST3
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::Physics::Conduction Namespace Reference

Namespaces

 GradientOperator
 
 libMeshWrapper
 

Classes

class  ConductionKernel
 
class  ConductionKernel< FEVarType, SectionPropertyType, Dim, ContextType, true, true >
 This class implements the discrete evaluation of the conduction (Laplace operator) kernel defined as

\[ \int_{\Omega_e} \frac{\partial \phi}{\partial x_i} k \frac{\partial T}{\partial x_i}, \]

where, $ \phi$ is the variation and $ T $ is the temperature. More...

 
class  IsotropicMaterialConductance
 
class  SourceHeatLoad
 This class implements the discrete evaluation of the conduction (Laplace operator) kernel defined as

\[ - \int_{\Omega_e} \phi q_v~d\Omega, \]

where, $ \phi$ is the variation and $ q_v $ is the source load value. More...

 
class  SurfaceFluxLoad
 This class implements the discrete evaluation of the surface heat flux kernel defined as

\[ - \int_{\Gamma_e} \phi a q_n~d\Gamma, \]

where, $ \phi$ is the variation, $ a $ is the section thickness for 2D elements or section area for 1D elements, and $ q_n $ is the boundary normal flux. More...

 

Functions

template<typename ScalarType , typename SectionAreaType , typename FluxFieldType , typename ContextType , uint_t Dim>
std::enable_if< Dim==3, ScalarType >::type flux_multiplier (const FluxFieldType *f, const SectionAreaType *s, ContextType &c)
 
template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , uint_t Dim>
std::enable_if< Dim==3, ScalarType >::type source_load_multiplier (const SourceLoadFieldType *f, const SectionAreaType *s, ContextType &c)
 

Variables

template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , typename ScalarFieldType , uint_t Dim>
std::enable_if< Dim< 3, ScalarType >::typesource_load_derivative_multiplier(const SourceLoadFieldType *f, const SectionAreaType *s, ContextType &c, const ScalarFieldType &p) { Assert0(f, "Invalid pointer");Assert0(s, "Invalid pointer");return(f->value(c) *s->derivative(c, p)+s->value(c) *f->derivative(c, p));}template< typename ScalarType, typename SectionAreaType, typename SourceLoadFieldType, typename ContextType, typename ScalarFieldType, uint_t Dim >typename std::enable_if< Dim==3, ScalarType >::typesource_load_derivative_multiplier(const SourceLoadFieldType *f, const SectionAreaType *s, ContextType &c, const ScalarFieldType &p) { Assert0(f, "Invalid pointer");Assert0(!s, "Pointer must be nullptr");return f-> derivative (c)
 
template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , uint_t Dim>
std::enable_if< Dim< 3, ScalarType >::typesource_load_multiplier(const SourceLoadFieldType *f, const SectionAreaType *s, ContextType &c) { Assert0(f, "Invalid pointer");Assert0(s, "Invalid pointer");return f-> value (c) *s -> value(c)
 

Function Documentation

◆ flux_multiplier()

template<typename ScalarType , typename SectionAreaType , typename FluxFieldType , typename ContextType , uint_t Dim>
std::enable_if<Dim==3, ScalarType>::type MAST::Physics::Conduction::flux_multiplier ( const FluxFieldType *  f,
const SectionAreaType *  s,
ContextType &  c 
)

Definition at line 51 of file surface_flux.hpp.

53  {
54  Assert0(f, "Invalid pointer");
55  Assert0(!s, "Pointer must be nullptr");
56  return f->value(c);
57 }
#define Assert0(cond, msg)
Definition: exceptions.hpp:134

◆ source_load_multiplier()

template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , uint_t Dim>
std::enable_if<Dim==3, ScalarType>::type MAST::Physics::Conduction::source_load_multiplier ( const SourceLoadFieldType *  f,
const SectionAreaType *  s,
ContextType &  c 
)

Definition at line 51 of file source_kernel.hpp.

53  {
54  Assert0(f, "Invalid pointer");
55  Assert0(!s, "Pointer must be nullptr");
56  return f->value(c);
57 }
#define Assert0(cond, msg)
Definition: exceptions.hpp:134

Variable Documentation

◆ derivative

template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , typename ScalarFieldType , uint_t Dim>
std::enable_if<Dim<3, ScalarType>::typeflux_derivative_multiplier(const FluxFieldType *f, const SectionAreaType *s, ContextType &c, const ScalarFieldType &p) { Assert0(f, "Invalid pointer"); Assert0(s, "Invalid pointer"); return (f->value(c) * s->derivative(c, p) + s->value(c) * f->derivative(c, p));}template <typename ScalarType, typename SectionAreaType, typename FluxFieldType, typename ContextType, typename ScalarFieldType, uint_t Dim>typename std::enable_if<Dim==3, ScalarType>::typeflux_derivative_multiplier(const FluxFieldType *f, const SectionAreaType *s, ContextType &c, const ScalarFieldType &p) { Assert0(f, "Invalid pointer"); Assert0(!s, "Pointer must be nullptr"); return f-> MAST::Physics::Conduction::derivative(c, p)

Definition at line 91 of file source_kernel.hpp.

◆ value

template<typename ScalarType , typename SectionAreaType , typename SourceLoadFieldType , typename ContextType , uint_t Dim>
std::enable_if<Dim<3, ScalarType>::typeflux_multiplier(const FluxFieldType *f, const SectionAreaType *s, ContextType &c) { Assert0(f, "Invalid pointer"); Assert0(s, "Invalid pointer"); return f-> MAST::Physics::Conduction::value(c) *s -> value(c)

Definition at line 42 of file source_kernel.hpp.