Function puma::compute_FVanisotropicThermalConductivity(Workspace *, puma::Matrix<double> *, puma::MatVec3<double> *, const std::map<int, std::vector<double>>&, std::string, std::string, std::string, char, double, int, bool, int)
Defined in File fv_anisotropic_thermalconductivity.h
Function Documentation
-
puma::Vec3<double> puma::compute_FVanisotropicThermalConductivity(Workspace *grayWS, puma::Matrix<double> *T, puma::MatVec3<double> *q, const std::map<int, std::vector<double>> &matCond, std::string method, std::string sideBC, std::string solverType, char dir, double solverTol, int solverMaxIt, bool print = true, int numThreads = 0)
Grayscale GLOBALLY Anisotropic Materials (no direction matrix)
Compute the effective thermal conductivity with anisotropic local phases (GLOBALLY Anisotropic Materials - no direction matrix)
- Parameters
grayWS – input workspace
T – Temperature field
q – Flux field
matCond – Local conductivity of the phases
method – which discretization method to use (‘mpfa’, ‘empfa’)
sideBC – what side boundary conditions (‘p’eriodic, ‘s’ymmetric)
solverType – which iterative solver to use (‘cg’, ‘bicgstab’)
dir – in what direction the conductivity has to be homogenized (‘x’, ‘y’, ‘z’)
solverTol – the solver tolerance
solverMaxIt – maximum solver iteration
print – whether to print progress, optional
numThreads – number to threads to use, optional
- Returns
the row of conductivity in the effective conductivity tensor, depending on the dir (‘x’ –> first row, and so on)