#include <DiffusionTransportTensorModel.h>

Static Public Member Functions | |
| static void | bilogScale (std::vector< double > &u, const double a, const double b) |
| static std::shared_ptr< std::vector< double > > | bilogTransform (const std::vector< double > &u, const double a, const double b) |
Protected Attributes | |
| double | d_BilogEpsilonRangeLimit |
| std::array< double, 2 > | d_BilogRange |
| bool | d_BilogScaleCoefficient |
| scale the output coefficient as well as the variable. | |
| std::string | d_BilogVariable |
| the material argument to which the bilogarithmic transformation applies | |
| int | d_iDebugPrintInfoLevel |
| bool | d_IsTensor |
| std::shared_ptr< AMP::Materials::Material > | d_material |
| std::shared_ptr< AMP::Materials::Property > | d_property |
| bool | d_UseBilogScaling |
| Use a bilogarithmic scaling of material arguments. | |
Static Protected Attributes | |
| static const std::vector< libMesh::Point > | d_DummyCoords |
Definition at line 11 of file DiffusionTransportTensorModel.h.
|
explicit |
|
staticinherited |
|
staticinherited |
|
inlineinherited |
Definition at line 110 of file DiffusionTransportModel.h.
References AMP::Operator::DiffusionTransportModel::d_material.
|
inlineinherited |
Definition at line 111 of file DiffusionTransportModel.h.
References AMP::Operator::DiffusionTransportModel::d_property.
|
virtual |
transport model returning a vector of tensors
| result | result[i] is a tensor of diffusion coefficients. |
| args | args[j][i] is j-th material evalv argument |
| Coordinates | coordinates on the mesh that may be needed by the model. |
Reimplemented in AMP::Operator::DiffusionCylindricalTransportModel.
|
virtualinherited |
Reimplemented in AMP::Operator::ManufacturedDiffusionTransportModel.
|
inlinevirtualinherited |
Definition at line 69 of file DiffusionTransportModel.h.
|
inlineinherited |
Definition at line 113 of file DiffusionTransportModel.h.
References AMP::Operator::DiffusionTransportModel::d_IsTensor.
|
inlinevirtualinherited |
Definition at line 51 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 99 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 83 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 35 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 39 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 43 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 57 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 61 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 65 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 49 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 89 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 93 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 97 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 73 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 77 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 81 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 33 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 37 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 41 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 55 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 59 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 63 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 47 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 87 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 91 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 95 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 71 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 75 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Definition at line 79 of file DiffusionTransportModel.h.
|
inlinevirtualinherited |
Specify level of diagnostic information printed during iterations.
| [in] | print_level | zero prints none or minimal information, higher numbers provide increasingly verbose debugging information. |
Definition at line 36 of file ElementPhysicsModel.h.
References AMP::Operator::ElementPhysicsModel::d_iDebugPrintInfoLevel.
|
protectedinherited |
Definition at line 175 of file DiffusionTransportModel.h.
|
protectedinherited |
Definition at line 174 of file DiffusionTransportModel.h.
|
protectedinherited |
scale the output coefficient as well as the variable.
Definition at line 171 of file DiffusionTransportModel.h.
|
protectedinherited |
the material argument to which the bilogarithmic transformation applies
This must be one of the values returned by AMP::Materials::Material::get_arg_names(). The material argument bounds reported by AMP::Materials::Material::get_arg_range() will be used for \( a\) and \(b\).
Definition at line 166 of file DiffusionTransportModel.h.
|
staticprotectedinherited |
Definition at line 177 of file DiffusionTransportModel.h.
|
protectedinherited |
Variable that controls the amount of diagnostic information that gets printed within this material model.
Definition at line 39 of file ElementPhysicsModel.h.
Referenced by AMP::Operator::ElementPhysicsModel::ElementPhysicsModel(), and AMP::Operator::ElementPhysicsModel::setDebugPrintInfoLevel().
|
protectedinherited |
Definition at line 179 of file DiffusionTransportModel.h.
Referenced by AMP::Operator::DiffusionTransportModel::isaTensor().
|
protectedinherited |
Definition at line 116 of file DiffusionTransportModel.h.
Referenced by AMP::Operator::DiffusionTransportModel::getMaterial().
|
protectedinherited |
Definition at line 118 of file DiffusionTransportModel.h.
Referenced by AMP::Operator::DiffusionTransportModel::getProperty().
|
protectedinherited |
Use a bilogarithmic scaling of material arguments.
The chemical diffusion equation is
\[ \partial_t u = \nabla \cdot (K \nabla u). \]
Sometimes the variable \(u\) is physically restricted to be within a certain range, such as \( u \in [0,.2] \) for hyper non-stoichiometry. These bounds can wreak havoc with the convergence of nonlinear solvers. We can employ the transformation \( U=\log( (u-a)/(b-u) ) \) or \( u = (a+ b \exp(U)/(1+\exp(U)) \) to change to a variable \(U\) that ranges from \((-\infty, \infty)\). For any value of \( U \) it is rigorously true that \( a<u<b \), alleviating the problem of solver iterations sending the solution into forbidden territory. The equation for \(U\) is
\[ f(U) \partial_t U = \nabla \cdot (f(U) K \nabla U), \]
where \( f(U) = (b-a) \exp(U) / (1+\exp(U))^2 \). This adds a well-behaved mass matrix to the chemical diffusion equation and modifies the diffusion coefficient by the same factor. When using this transformation be sure to transform initial and boundary conditions as well in the input files. You have to specify this transformation in the mass operator for the chemical equation. The transformation must be specified within all operators using materials that depend on the transformed variable. When such an operator acts on a variable other than BilogVariable, you must specify "BilogScaleCoefficient=FALSE". Be sure to also to transform the default variables specified for this DiffusionTransportModel.
The thermal diffusion equation is
\[ \rho C_P \partial_t T = \nabla \cdot (D \nabla T) \]
The bilogarthmic transform may also be used with this equation to give
\[ \rho C_P f(T) \partial_t T = \nabla \cdot (f(T) D \nabla T), \]
with similar considerations as for the chemical equation.
Definition at line 156 of file DiffusionTransportModel.h.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:44. Comments on this page |