genericROM.OperatorCompressors.Thermal_transient module
- CompressOperator(collectionProblemData, operatorPreCompressionData, mesh, tolerance, toleranceCompressSnapshotsForRedQuad=0.0)[source]
Operator Compression for the POD and ECM for a thermal problem
- Parameters:
collectionProblemData (CollectionProblemData) – definition of the training data in a CollectionProblemData object
mesh (MeshBase) – mesh
tolerance (float) – tolerance for Empirical Cubature Method
- Returns:
operatorCompressionOutputData – (fitted regressor, fitted scaler on the coefficients, fitted scaler on the parameters)
- Return type:
(regressor, scaler, scaler)
- ComputeGradGradT(collectionProblemData, tempAtIntegPoints, phi, gradgrad, ProblemDataIndicesOfIntegPointsPerMaterial, snapshots, toleranceCompressSnapshotsForRedQuad)[source]
computes lambda(T_{i+1})(x_k) sum_l hat{T}_{i+1}_l grad{Psi_j} cdot grad{Psi_l} cdot(x_k)
- ComputeInternalEnergy(collectionProblemData, tempAtIntegPoints, phi, ProblemDataIndicesOfIntegPointsPerMaterial, snapshots, toleranceCompressSnapshotsForRedQuad)[source]
computes U(T_{i})(x_k) * Psi_j(x_k)
- ComputeOnline(onlineProblemData, timeSequence, operatorCompressionData, tolerance, callback=None)[source]
Compute the online stage using the method POD and ECM for a thermal problem
The parameters must have been initialized in onlineProblemData
- ComputeReducedInternalForcesAndTangentMatrix(onlineProblemData, opCompDat, IndicesOfIntegPointsPerMaterialCapacity, IndicesOfIntegPointsPerMaterialConductivity, time, dtime, before, after)[source]