genericROM.Containers.OperatorCompressionData.OperatorPreCompressionDataThermal module

class OperatorPreCompressionDataThermal(solutionName, gradPhiAtIntegPoint, phiAtIntegPoint, integrationWeights, listOfTags, integrationWeightsRadiation, phiAtIntegPointRadiationSet)[source]

Bases: OperatorCompressionDataBase

Class containing an OperatorPreCompressionDataThermal, used in a precomputation of the operator compression step of the POD-ECM method. The implementation uses Lagrange isoparametric finite elements as high-dimension integration model. This structure only depends on the mesh, and is computed once in nongeometrical varitions cases, even when snapshots are updated.

gradPhiAtIntegPoint

of length dimensionality of the mesh, of scipy.sparse.coo_matrix of size (numberOfIntegrationPoints, numberOfModes), components of the gradient of the shape functions at the integration points

Type:

list

phiAtIntegPoint

of size (numberOfIntegrationPoints, numberOfModes), value of the finite element shape functions at the integration points and the integration weights (Lagrange isoparametric finite elements)

Type:

scipy.sparse.coo_matrix

integrationWeights

of size (numberOfIntegrationPoints,), vector containing the integration weights associated to the computation of the internal forces vector with the high-fidelity integration scheme

Type:

1D np.ndarray

listOfTags

(of length numberOfIntegrationPoints) at each integration point, containing all the tags of the element containing the integration points

Type:

list of lists (of str)

integrationWeightsRadiation

of size (numberOfRadiationIntegrationPoints,), vector containing the integration weights associated to the computation of the internal forces vector with the high-fidelity integration scheme

Type:

1D np.ndarray

phiAtIntegPointRadiationSet

of size (numberOfRadiationIntegrationPoints, numberOfModes), value of the finite element shape functions at the integration points and the integration weights (Lagrange isoparametric finite elements)

Type:

scipy.sparse.coo_matrix

GetGradPhiAtIntegPoint()[source]

Get the gradPhiAtIntegPoint attribute

Returns:

of length dimensionality of the mesh, of scipy.sparse.coo_matrix of size (numberOfIntegrationPoints, numberOfModes)

Return type:

list

GetIntegrationWeights()[source]

Get the integrationWeights attribute

Returns:

of size (numberOfIntegrationPoints,)

Return type:

1D np.ndarray

GetIntegrationWeightsRadiation()[source]

Get the number of integration points associated to the radiation term

Returns:

number of integration points associated to the radiation term

Return type:

int

GetListOfTags()[source]

Get the listOfTags attribute

Returns:

(of length numberOfIntegrationPoints)

Return type:

list of lists (of str)

GetNumberOfIntegrationPoints()[source]

Get the number of integration points

Returns:

number of integration points

Return type:

int

GetPhiAtIntegPoint()[source]

Get the phiAtIntegPoint attribute

Returns:

of size (numberOfIntegrationPoints, numberOfModes)

Return type:

scipy.sparse.coo_matrix

GetPhiAtIntegPointRadiationSet()[source]

Get the phiAtIntegPointRadiationSet attribute

Returns:

of size (numberOfRadiationIntegrationPoints, numberOfModes)

Return type:

scipy.sparse.coo_matrix