Mordicus.Modules.Safran.Containers.Loadings.Centrifugal module¶
- class Mordicus.Modules.Safran.Containers.Loadings.Centrifugal.Centrifugal(solutionName, set)[source]¶
Bases:
LoadingBase
Class containing a Loading of type centrifugal effects for mechanical problems.
- rotationVelocityTimes¶
time values on which rotation velocity values are provided
- Type
np.ndarray or list of floats
- rotationVelocityValues¶
rotation velocity values at the corresponding time values
- Type
np.ndarray or list of floats
- center¶
np.ndarray of size 1, 2 or 3, containing the coordinates of the center of rotation
- Type
np.ndarray
- direction¶
np.ndarray of size 1, 2 or 3, containing the unit vector of direction of rotation
- Type
np.ndarray
- coefficient¶
coefficient multiplying the rotational velocity
- Type
float
- reducedUnitCentrifugalVector¶
np.ndarray of size (numberOfModes) containing the precomputed vector “red” for deriving the centrifugal reduced external forces contribution is the form: (coefficient*rotationVelocity)**2*red
- Type
np.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
- GetRotationVelocityAtTime(time: float) float [source]¶
Computes the rotationVelocity at time, using PieceWiseLinearInterpolation
- Parameters
time (float) –
- Returns
rotationVelocity at time
- Return type
float
- ReduceLoading(mesh, problemData, reducedOrderBases, operatorCompressionData=None)[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
- SetCenter(center)[source]¶
Sets center
- Parameters
center (np.ndarray or list of floats) – coordinates of the center of rotation
- SetCoefficient(coefficient)[source]¶
Sets coefficient
- Parameters
coefficient (float) – coefficient multiplying the rotational velocity