Memosa-FVM
0.2
|
#include <BatteryModel_impl.h>
Public Types | |
typedef Array< T > | TArray |
typedef Gradient< T > | TGradType |
typedef Array< Gradient< T > > | TGradArray |
typedef CRMatrix< T, T, T > | T_Matrix |
typedef Vector< T, 3 > | VectorT3 |
typedef Array< VectorT3 > | VectorT3Array |
typedef SquareTensor< T, 3 > | SquareTensorT3 |
typedef Array< Gradient < VectorT3 > > | VectorT3GradArray |
typedef Gradient< VectorT3 > | VectorT3Grad |
typedef DiagonalTensor< T, 3 > | DiagTensorT3 |
typedef Vector< T, 2 > | VectorT2 |
typedef Array< VectorT2 > | VectorT2Array |
typedef SquareTensor< T, 2 > | SquareTensorT2 |
typedef Array< Gradient < VectorT2 > > | VectorT2GradArray |
typedef Gradient< VectorT2 > | VectorT2Grad |
typedef DiagonalTensor< T, 2 > | DiagTensorT2 |
Private Attributes | |
const MeshList | _realMeshes |
const MeshList | _meshes |
GeomFields & | _geomFields |
vector< BatterySpeciesFields * > | _speciesFieldsVector |
vector< BatterySpeciesBCMap * > | _sbcMapVector |
vector< BatterySpeciesVCMap * > | _svcMapVector |
BatteryPotentialBCMap | _pbcMap |
BatteryPotentialVCMap | _pvcMap |
BatteryThermalBCMap | _tbcMap |
BatteryThermalVCMap | _tvcMap |
BatteryModelOptions< T > | _options |
MFRPtr | _initialPotentialNorm |
MFRPtr | _initialThermalNorm |
MFRPtr | _initialPCNorm |
vector< MFRPtr * > | _initialSpeciesNormVector |
int | _niters |
const int | _nSpecies |
BatteryModelFields | _batteryModelFields |
MFRPtr | _currentPotentialResidual |
MFRPtr | _currentThermalResidual |
MFRPtr | _currentPCResidual |
vector< MFRPtr * > | _currentSpeciesResidual |
Definition at line 44 of file BatteryModel_impl.h.
typedef DiagonalTensor<T,2> BatteryModel< T >::Impl::DiagTensorT2 |
Definition at line 66 of file BatteryModel_impl.h.
typedef DiagonalTensor<T,3> BatteryModel< T >::Impl::DiagTensorT3 |
Definition at line 58 of file BatteryModel_impl.h.
typedef SquareTensor<T,2> BatteryModel< T >::Impl::SquareTensorT2 |
Definition at line 63 of file BatteryModel_impl.h.
typedef SquareTensor<T,3> BatteryModel< T >::Impl::SquareTensorT3 |
Definition at line 55 of file BatteryModel_impl.h.
typedef CRMatrix<T,T,T> BatteryModel< T >::Impl::T_Matrix |
Definition at line 50 of file BatteryModel_impl.h.
typedef Array<T> BatteryModel< T >::Impl::TArray |
Definition at line 47 of file BatteryModel_impl.h.
typedef Array<Gradient<T> > BatteryModel< T >::Impl::TGradArray |
Definition at line 49 of file BatteryModel_impl.h.
typedef Gradient<T> BatteryModel< T >::Impl::TGradType |
Definition at line 48 of file BatteryModel_impl.h.
typedef Vector<T,2> BatteryModel< T >::Impl::VectorT2 |
Definition at line 61 of file BatteryModel_impl.h.
typedef Array<VectorT2> BatteryModel< T >::Impl::VectorT2Array |
Definition at line 62 of file BatteryModel_impl.h.
typedef Gradient<VectorT2> BatteryModel< T >::Impl::VectorT2Grad |
Definition at line 65 of file BatteryModel_impl.h.
typedef Array<Gradient<VectorT2> > BatteryModel< T >::Impl::VectorT2GradArray |
Definition at line 64 of file BatteryModel_impl.h.
typedef Vector<T,3> BatteryModel< T >::Impl::VectorT3 |
Definition at line 53 of file BatteryModel_impl.h.
typedef Array<VectorT3> BatteryModel< T >::Impl::VectorT3Array |
Definition at line 54 of file BatteryModel_impl.h.
typedef Gradient<VectorT3> BatteryModel< T >::Impl::VectorT3Grad |
Definition at line 57 of file BatteryModel_impl.h.
typedef Array<Gradient<VectorT3> > BatteryModel< T >::Impl::VectorT3GradArray |
Definition at line 56 of file BatteryModel_impl.h.
|
inline |
Definition at line 68 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesBC< T >::bcType, BatteryPotentialBC< T >::bcType, BatteryThermalBC< T >::bcType, Mesh::getBoundaryFaceGroups(), Mesh::getID(), FaceGroup::groupType, FaceGroup::id, BatterySpeciesVC< T >::vcType, BatteryPotentialVC< T >::vcType, and BatteryThermalVC< T >::vcType.
|
inline |
Definition at line 2786 of file BatteryModel_impl.h.
References LinearSystem::initAssembly(), LinearSystem::initSolve(), LinearSystem::postSolve(), and LinearSystem::updateSolution().
|
inline |
Definition at line 2710 of file BatteryModel_impl.h.
References LinearSystem::initAssembly(), LinearSystem::initSolve(), LinearSystem::postSolve(), and LinearSystem::updateSolution().
|
inline |
BatterySpeciesFields& sFields = *_speciesFieldsVector[m];
Definition at line 2638 of file BatteryModel_impl.h.
References LinearSystem::initAssembly(), LinearSystem::initSolve(), LinearSystem::postSolve(), and LinearSystem::updateSolution().
|
inline |
Definition at line 2748 of file BatteryModel_impl.h.
References LinearSystem::initAssembly(), LinearSystem::initSolve(), LinearSystem::postSolve(), and LinearSystem::updateSolution().
|
inline |
Definition at line 3147 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, BatterySpeciesFields::concentrationN2, Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), BatterySpeciesFields::massFlux, and FaceGroup::site.
|
inline |
Definition at line 3335 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::diffusivity, Mesh::getCells(), and StorageSite::getCount().
|
inline |
Definition at line 2952 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, BatterySpeciesFields::concentrationN2, Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), BatterySpeciesFields::massFlux, and FaceGroup::site.
|
inline |
Definition at line 2493 of file BatteryModel_impl.h.
References BatterySpeciesFields::concentration, Mesh::getCells(), and StorageSite::getSelfCount().
|
inline |
Definition at line 598 of file BatteryModel_impl.h.
|
inline |
Definition at line 597 of file BatteryModel_impl.h.
|
inline |
Definition at line 3383 of file BatteryModel_impl.h.
References Mesh::getAllFaceGroups(), StorageSite::getCount(), FaceGroup::id, and FaceGroup::site.
|
inline |
Definition at line 3406 of file BatteryModel_impl.h.
References Mesh::getAllFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), FaceGroup::id, and FaceGroup::site.
|
inline |
Definition at line 2452 of file BatteryModel_impl.h.
References Mesh::getBoundaryFaceGroups(), StorageSite::getCount(), Mesh::getInterfaceGroups(), FaceGroup::id, and FaceGroup::site.
|
inline |
Definition at line 2369 of file BatteryModel_impl.h.
References Mesh::getBoundaryFaceGroups(), StorageSite::getCount(), Mesh::getInterfaceGroups(), FaceGroup::id, BatterySpeciesFields::massFlux, and FaceGroup::site.
|
inline |
Definition at line 3434 of file BatteryModel_impl.h.
References Mesh::getCells(), and StorageSite::getSelfCount().
|
inline |
Definition at line 606 of file BatteryModel_impl.h.
|
inline |
Definition at line 2858 of file BatteryModel_impl.h.
References ArrayBase::getData().
|
inline |
Definition at line 602 of file BatteryModel_impl.h.
|
inline |
Definition at line 2411 of file BatteryModel_impl.h.
References Mesh::getBoundaryFaceGroups(), StorageSite::getCount(), Mesh::getInterfaceGroups(), FaceGroup::id, and FaceGroup::site.
|
inline |
Definition at line 2840 of file BatteryModel_impl.h.
References ArrayBase::getData().
|
inline |
Definition at line 601 of file BatteryModel_impl.h.
|
inline |
Definition at line 600 of file BatteryModel_impl.h.
|
inline |
Definition at line 2829 of file BatteryModel_impl.h.
References BatterySpeciesFields::concentration, and ArrayBase::getData().
|
inline |
Definition at line 599 of file BatteryModel_impl.h.
|
inline |
Definition at line 604 of file BatteryModel_impl.h.
|
inline |
Definition at line 2849 of file BatteryModel_impl.h.
References ArrayBase::getData().
|
inline |
Definition at line 603 of file BatteryModel_impl.h.
|
inline |
Definition at line 184 of file BatteryModel_impl.h.
References Model::_meshes, Field::addArray(), BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, BatterySpeciesFields::concentrationN2, BatterySpeciesFields::convectionFlux, BatterySpeciesFields::diffusivity, Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaces(), Mesh::getID(), Mesh::getInterfaceGroups(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), Mesh::isDoubleShell(), BatterySpeciesFields::massFlux, BatterySpeciesFields::one, FaceGroup::site, and Field::syncLocal().
|
inline |
Definition at line 883 of file BatteryModel_impl.h.
References Model::_meshes, MultiField::addArray(), MultiFieldMatrix::addMatrix(), Mesh::getBoundaryFaceGroups(), Mesh::getCellCells(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), LinearSystem::getX(), Mesh::isDoubleShell(), and FaceGroup::site.
|
inline |
Definition at line 1076 of file BatteryModel_impl.h.
References Model::_meshes, MultiField::addArray(), MultiFieldMatrix::addMatrix(), Mesh::getBoundaryFaceGroups(), Mesh::getCellCells(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), LinearSystem::getX(), and FaceGroup::site.
|
inline |
Definition at line 778 of file BatteryModel_impl.h.
References Model::_meshes, MultiField::addArray(), MultiFieldMatrix::addMatrix(), BatterySpeciesFields::concentration, Field::getArrayPtr(), Mesh::getBoundaryFaceGroups(), Mesh::getCellCells(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), LinearSystem::getX(), Mesh::isConnectedShell(), Mesh::isDoubleShell(), BatterySpeciesFields::massFlux, and FaceGroup::site.
|
inline |
Definition at line 1131 of file BatteryModel_impl.h.
References Model::_meshes, MultiField::addArray(), MultiFieldMatrix::addMatrix(), Mesh::getBoundaryFaceGroups(), Mesh::getCellCells(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), LinearSystem::getX(), and FaceGroup::site.
|
inline |
Definition at line 2134 of file BatteryModel_impl.h.
References Model::_meshes, BaseGenericBCS< X, Diag, OffDiag >::applyInterfaceBC(), BatterySpeciesBC< T >::bcType, BatteryPotentialBC< T >::bcType, GradientModel< X >::compute(), LinearizeInterfaceJump< X, Diag, OffDiag >::discretize(), BatteryPCLinearizeInterface_BV< X, Diag, OffDiag, otherMeshDiag >::discretize(), LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), FloatVarDict< T >::getVal(), LinearSystem::getX(), FaceGroup::id, Mesh::isDoubleShell(), Linearizer::linearize(), and FaceGroup::site.
|
inline |
Definition at line 1814 of file BatteryModel_impl.h.
References Model::_meshes, BaseGenericBCS< X, Diag, OffDiag >::applyInterfaceBC(), BatterySpeciesBC< T >::bcType, BatteryPotentialBC< T >::bcType, BatteryThermalBC< T >::bcType, GradientModel< X >::compute(), LinearizeInterfaceJump< X, Diag, OffDiag >::discretize(), BatteryPCLinearizeInterface_BV< X, Diag, OffDiag, otherMeshDiag >::discretize(), LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), FloatVarDict< T >::getVal(), LinearSystem::getX(), FaceGroup::id, Mesh::isDoubleShell(), Linearizer::linearize(), and FaceGroup::site.
|
inline |
Definition at line 1429 of file BatteryModel_impl.h.
References Model::_meshes, BaseGenericBCS< X, Diag, OffDiag >::applyInterfaceBC(), BatteryPotentialBC< T >::bcType, GradientModel< X >::compute(), BatterySpeciesFields::concentration, LinearizeInterfaceJump< X, Diag, OffDiag >::discretize(), BatteryLinearizePotentialInterface< X, Diag, OffDiag >::discretize(), LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), FloatVarDict< T >::getVal(), LinearSystem::getX(), FaceGroup::id, Mesh::isDoubleShell(), Linearizer::linearize(), and FaceGroup::site.
|
inline |
Definition at line 1186 of file BatteryModel_impl.h.
References Model::_meshes, BaseGenericBCS< X, Diag, OffDiag >::applyInterfaceBC(), BatterySpeciesBC< T >::bcType, GradientModel< X >::compute(), BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, BatterySpeciesFields::concentrationN2, BatterySpeciesFields::convectionFlux, BatterySpeciesFields::diffusivity, LinearizeInterfaceJump< X, Diag, OffDiag >::discretize(), LinearizeInterfaceJumpUnconnected< X, Diag, OffDiag >::discretize(), BatteryLinearizeSpeciesInterface< X, Diag, OffDiag >::discretize(), BatteryFixInterfaceGhost< X, Diag, OffDiag >::fixInterfaces(), LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), StorageSite::getCount(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), FloatVarDict< T >::getVal(), LinearSystem::getX(), Field::hasArray(), FaceGroup::id, Mesh::isConnectedShell(), Mesh::isDoubleShell(), Linearizer::linearize(), BatterySpeciesFields::massFlux, BatterySpeciesFields::one, FaceGroup::site, and Field::syncLocal().
|
inline |
Definition at line 1612 of file BatteryModel_impl.h.
References Model::_meshes, BaseGenericBCS< X, Diag, OffDiag >::applyInterfaceBC(), BatteryThermalBC< T >::bcType, GradientModel< X >::compute(), BatterySpeciesFields::concentration, LinearizeInterfaceJump< X, Diag, OffDiag >::discretize(), BatteryLinearizeThermalInterface< X, Diag, OffDiag >::discretize(), LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getInterfaceGroups(), LinearSystem::getMatrix(), Mesh::getOtherMeshID(), Mesh::getParentMeshID(), FloatVarDict< T >::getVal(), LinearSystem::getX(), FaceGroup::id, Mesh::isDoubleShell(), Linearizer::linearize(), and FaceGroup::site.
|
inline |
Definition at line 2563 of file BatteryModel_impl.h.
|
inline |
Definition at line 2510 of file BatteryModel_impl.h.
References LinearSystem::getB(), Mesh::getCells(), CRMatrix< T_Diag, T_OffDiag, X >::getCoeff(), StorageSite::getCount(), CRMatrix< T_Diag, T_OffDiag, X >::getDiag(), Mesh::getFaceCells(), Mesh::getFaceGroup(), Mesh::getID(), LinearSystem::getMatrix(), MultiFieldMatrix::getMatrix(), LinearSystem::getX(), and FaceGroup::site.
|
inline |
Definition at line 695 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, and Mesh::getCells().
|
inline |
Definition at line 2880 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::concentration, Mesh::getCellCells(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaceCells(), Mesh::getOtherFaceGroupSite(), Mesh::getOtherMeshID(), Mesh::getParentFaceGroupSite(), Mesh::getParentMeshID(), StorageSite::getSelfCount(), Mesh::isConnectedShell(), and Mesh::isDoubleShell().
|
inline |
Definition at line 608 of file BatteryModel_impl.h.
References Model::_meshes, BatterySpeciesFields::concentration, BatterySpeciesFields::concentrationN1, BatterySpeciesFields::concentrationN2, and Mesh::getCells().
|
private |
Definition at line 3469 of file BatteryModel_impl.h.
|
private |
Definition at line 3473 of file BatteryModel_impl.h.
|
private |
Definition at line 3471 of file BatteryModel_impl.h.
|
private |
Definition at line 3474 of file BatteryModel_impl.h.
|
private |
Definition at line 3472 of file BatteryModel_impl.h.
|
private |
Definition at line 3449 of file BatteryModel_impl.h.
|
private |
Definition at line 3464 of file BatteryModel_impl.h.
|
private |
Definition at line 3462 of file BatteryModel_impl.h.
|
private |
Definition at line 3465 of file BatteryModel_impl.h.
|
private |
Definition at line 3463 of file BatteryModel_impl.h.
|
private |
Definition at line 3448 of file BatteryModel_impl.h.
|
private |
Definition at line 3466 of file BatteryModel_impl.h.
|
private |
Definition at line 3467 of file BatteryModel_impl.h.
|
private |
Definition at line 3460 of file BatteryModel_impl.h.
|
private |
Definition at line 3455 of file BatteryModel_impl.h.
|
private |
Definition at line 3456 of file BatteryModel_impl.h.
|
private |
Definition at line 3447 of file BatteryModel_impl.h.
|
private |
Definition at line 3453 of file BatteryModel_impl.h.
|
private |
Definition at line 3451 of file BatteryModel_impl.h.
|
private |
Definition at line 3454 of file BatteryModel_impl.h.
|
private |
Definition at line 3457 of file BatteryModel_impl.h.
|
private |
Definition at line 3458 of file BatteryModel_impl.h.