genericROM.Containers.Loadings.ConvectionHeatFlux
- class ConvectionHeatFlux(solutionName, set)[source]
Bases:
Mordicus.Containers.Loadings.LoadingBase.LoadingBaseClass containing a Loading of type convection heat flux boundary condition for thermal problems.
- hTimes
time values on which heat transfert coefficient values are provided
- Type
np.ndarray or list of floats
- hValues
heat transfert coefficient values at the corresponding time values
- Type
np.ndarray or list of floats
- TextTimes
time values on which external temperature values are provided
- Type
np.ndarray or list of floats
- TextValues
external temperature values at the corresponding time values
- Type
np.ndarray or list of floats
- reducedPhiT
of size (numberOfModes,) containing the precomputed vector “red” for deriving the convection heat flux reduced external forces contribution is the form: h*Text*red
- Type
numpy.ndarray
- reducedPhiTPhiT
of size (numberOfModes, numberOfModes) containing the precomputed matrix “mat” for deriving the reduced global tangent matrix contribution is the form: h*mat
- Type
numpy.ndarray
- ComputeContributionToReducedExternalForces(time)[source]
Computes and returns the reduced external forces contribution of the loading
- Parameters
time (float) –
- Returns
of size (numberOfModes,)
- Return type
np.ndarray
- GetCoefficientsAtTime(time: float) -> (<class 'float'>, <class 'float'>)[source]
Computes and return h and Text at time, using PieceWiseLinearInterpolation
- Parameters
time (float) –
- Returns
float – h at time
float – Text at time
- ReduceLoading(mesh, problemData, reducedOrderBases, operatorCompressionData)[source]
Computes and sets the reduced representation of the loading
- Parameters
mesh (BasicTools.Containers.UnstructuredMesh) – mesh of the high-fidelity model
problemData (ProblemData) – problemData containing the loading
reducedOrderBases (dict(str: np.ndarray)) – dictionary with solutionNames (str) as keys and reducedOrderBases (np.ndarray of size (numberOfModes, numberOfDOFs)) as values
operatorCompressionData (dict(str: custom_data_structure)) – not used in this loading dictionary with solutionNames (str) as keys and data structure generated by the operator compression step as values