Acket Random Vibration
Acket Random Vibration
This model is licensed under the COMSOL Software License Agreement 6.2.
All trademarks are the property of their respective owners. See www.comsol.com/trademarks.
Introduction
The various examples based on a bracket geometry form a suite of tutorials that
summarizes the fundamentals of modeling structural mechanics problems in COMSOL
Multiphysics and the Structural Mechanics Module.
This example shows how to perform a random vibration analysis for a structure using
power spectral density (PSD). The computations are based on the modal reduced-order
model (ROM).
Model Definition
The model geometry is represented in Figure 1.
Figure 1: Bracket geometry. Rigid connector and its center of rotation are shown using special
physics symbols.
The bracket is made of structural steel. Four smaller holes in the bracket are fully
constrained to represent a bolted connection.
A pin connects two larger holes in the bracket arms. The pin is assumed to be perfectly
rigid and is modeled with a rigid connector. Thus, the pin is not represented in the model
geometry.
Figure 2: Input PSD for random load components. Log-log scale is used.
Rayleigh damping is chosen here with relative damping set to 0.05 and 0.03 at the
frequencies 400 Hz and 700 Hz, respectively. The damping ratio curve is shown in
Figure 3.
The two applied load components are assumed to be uncorrelated. Physically, this means
that it is two different sources of excitation which cause the load in the two directions.
Figure 4: PSD for the horizontal (U) and vertical (W) displacement response at the selected
location.
Figure 5: Cross-correlation between the horizontal and vertical displacement response at the
selected location.
Since the horizontal displacement is dominant, Figure 8 and Figure 10 are almost
identical.
In Figure 11, the RMS of the total acceleration is shown. It can be noted that the
distribution over the structure differs fundamentally from that of the displacement
(Figure 10). The reason is that the vertical motion of the central section of the bracket is
related to a higher eigenfrequency than the horizontal motion of the two arms. This is why
accelerations are more pronounced than displacements in this part of the bracket.
In Figure 10, the RMS of the von Mises equivalent stress is shown.
T
1-
2
u RMS = --- u t dt (1)
T
o
for some long time T. In many cases, you are more interested in the maximum value than
in the RMS. For many statistical distributions, for example the normal distribution, the tail
of the distribution extends to infinity. Mathematically the response can then reach an
arbitrarily high value with a probability that increases with time.
In practice, it is customary to assume that the maximum value does not exceed the RMS
value multiplied by a certain factor. This factor is often taken as 3 or 4. Thus, the maximum
stress can be estimated to 50 to 65 MPa.
For vibrating structures, fatigue is often a more important aspect than the maximum stress.
In the Fatigue Module, you can find an example where this model is extended by a fatigue
analysis.
The first added study is an eigenfrequency analysis that serves as a basis for the modal
reduced-order model (ROM) required for the system response analysis. Note that any
Damping nodes should be manually disabled under this study node for all structural
interfaces in the model. This is needed because the eigenmode extraction should be always
done for undamped system.
It is enough to compute the last of the two studies. This will automatically compute the
requested number of eigenfrequencies and then create a ROM based on the computed
eigenmodes.
When you add a Random Vibration (PSD) study, a Reduced-Order Modeling node with
subnodes will be also added automatically under Global Definitions. These nodes are used
for specifying the model control parameters (inputs) and to enter expressions for the input
PSD to be used in the random vibration computations. Such computations are performed
as postprocessing steps. However, if the PSD expressions are changed under Global
Definitions, a solution update might be needed.
The input PSD as functions of the frequency are often specified using linear interpolation
in the log-log representation of the data. You can see how to set up such functions in the
model.
Two action buttons are provided in the Damping Settings section in order to visualize the
damping ratio with respect to frequency. The first button shows a dynamic preview plot of
the damping ratio, while the second button generates a plot in the Results node.
Modeling Instructions
ROOT
This file serves as starting point for various examples based on a bracket geometry. It sets
up the model geometry, material, and mesh. It also adds a Solid Mechanics interface with
a fixed constraint applied to the bolt holes.
APPLICATION LIBRARIES
1 From the File menu, choose Application Libraries.
2 In the Application Libraries window, select Structural Mechanics Module>Tutorials>
bracket_basic in the tree.
3 Click Open.
ADD STUDY
1 In the Home toolbar, click Add Study to open the Add Study window.
2 Go to the Add Study window.
3 Find the Studies subsection. In the Select Study tree, select
Preset Studies for Selected Physics Interfaces>Random Vibration (PSD).
4 Right-click and choose Add Study.
5 In the Home toolbar, click Add Study to close the Add Study window.
Damping 1
1 In the Physics toolbar, click Attributes and choose Damping.
2 In the Settings window for Damping, locate the Damping Settings section.
3 From the Input parameters list, choose Damping ratios.
4 In the f1 text field, type 400.
5 In the 1 text field, type 0.05.
6 In the f2 text field, type 700.
7 In the 2 text field, type 0.03.
In order to visualize the damping ratio curve, preview the Damping Ratio plot through
an action button from the Damping Settings section.
8 Click Damping Ratio Preview in the upper-right corner of the Damping Settings section.
From the menu, choose Damping Ratio Preview.
STUDY 1
Step 1: Eigenfrequency
You need to disable the damping for this study because the eigenmode computation
should be performed for the undamped system. The damping will however be used in the
following modal reduced-order model and random response analysis.
GLOBAL DEFINITIONS
Set up two control parameters to be used as loads.
Rigid Connector 1
1 In the Physics toolbar, click Boundaries and choose Rigid Connector.
2 In the Settings window for Rigid Connector, locate the Boundary Selection section.
3 From the Selection list, choose Pin Holes.
By default the location of the center of rotation is computed automatically. You can also
manually specify its location.
To visualize its position you need to enable the physics symbols.
4 In the Model Builder window, click Solid Mechanics (solid).
5 In the Settings window for Solid Mechanics, locate the Physics Symbols section.
6 Select the Enable physics symbols check box.
The displacement of the rigid connector in the y direction and all rotations are
constrained.
7 In the Model Builder window, click Rigid Connector 1.
8 In the Settings window for Rigid Connector, locate the
Prescribed Displacement at Center of Rotation section.
9 Select the Prescribed in y direction check box.
10 Locate the Prescribed Rotation section. From the By list, choose Constrained rotation.
11 Select the Constrain rotation around x-axis check box.
12 Select the Constrain rotation around y-axis check box.
13 Select the Constrain rotation around z-axis check box.
Fx x
0 y
Fz z
DEFINITIONS
Variables 1
1 In the Model Builder window, under Component 1 (comp1) right-click Definitions and
choose Variables.
Set up variables to evaluate the displacement components at a selected point.
2 In the Settings window for Variables, locate the Variables section.
3 In the table, enter the following settings:
STUDY 2
Frequency Domain 1
1 In the Model Builder window, expand the Step 1: Model Reduction node, then click
Frequency Domain 1.
2 In the Settings window for Frequency Domain, locate the Study Settings section.
3 In the Frequencies text field, type 500.
STUDY 1
In the Home toolbar, click Compute.
STUDY 2
The computation of the solution for Study 2 will find the requested number of
eigenfrequencies and create a reduced-order model based on the computed eigenmodes.
GLOBAL DEFINITIONS
Next, set up the input PSD for the random loads.
PSD of load
1 In the Home toolbar, click Functions and choose Global>Interpolation.
2 In the Settings window for Interpolation, type PSD of load in the Label text field.
3 Locate the Definition section. In the Function name text field, type PSD.
4 In the table, enter the following settings:
t f(t)
400 0.01
500 5^2
600 10^2
700 3^2
800 0.01
5 Locate the Units section. In the Argument table, enter the following settings:
Argument Unit
t Hz
Function Unit
PSD N^2/Hz
7 Click to expand the Data Transformation for Interpolation section. From the Argument
list, choose Logarithmic.
8 From the Function list, choose Logarithmic.
4 Locate the Output Operator Settings section. In the Lower frequency limit text field, type
150.
Update the study to make the input change available for the solution.
STUDY 2
In the Study toolbar, click Update Solution.
RESULTS
5 Locate the Expressions section. In the table, enter the following settings:
6 Click Evaluate.
TABLE 1
1 Go to the Table 1 window.
2 Click Table Graph in the window toolbar.
Table Graph 1
1 In the Model Builder window, under Results>1D Plot Group 2 click Table Graph 1.
2 In the Settings window for Table Graph, locate the Coloring and Style section.
3 Find the Line markers subsection. From the Marker list, choose Cycle.
4 From the Positioning list, choose Interpolated.
5 Click to expand the Legends section. Select the Show legends check box.
6 Click the x-Axis Log Scale button in the Graphics toolbar.
7 Click the y-Axis Log Scale button in the Graphics toolbar.
PSD of Loads
1 In the Model Builder window, under Results click 1D Plot Group 2.
2 In the Settings window for 1D Plot Group, type PSD of Loads in the Label text field.
3 Locate the Legend section. From the Position list, choose Middle left.
The random response computations can be performed as postprocessing steps using the
updated solution. First, evaluate and plot the PSD for the displacement response at the
chosen point.
4 Locate the Expressions section. In the table, enter the following settings:
5 Locate the Data section. From the Dataset list, choose Study 2/Solution 2 (sol2).
6 Click Evaluate.
RESULTS
Table Graph 1
1 In the Model Builder window, under Results>1D Plot Group 3 click Table Graph 1.
2 In the Settings window for Table Graph, locate the Coloring and Style section.
3 Find the Line markers subsection. From the Marker list, choose Cycle.
4 From the Positioning list, choose Interpolated.
5 Click the x-Axis Log Scale button in the Graphics toolbar.
6 Locate the Legends section. Select the Show legends check box.
PSD of Displacements
1 In the Model Builder window, under Results click 1D Plot Group 3.
2 In the Settings window for 1D Plot Group, type PSD of Displacements in the Label text
field.
3 Locate the Legend section. From the Position list, choose Upper middle.
5 Locate the Data section. From the Dataset list, choose Study 2/Solution 2 (sol2).
6 Click next to Evaluate, then choose New Table.
TABLE 3
1 Go to the Table 3 window.
2 Click Table Graph in the window toolbar.
RESULTS
Table Graph 1
1 Click the x-Axis Log Scale button in the Graphics toolbar.
2 In the Model Builder window, under Results>1D Plot Group 4 click Table Graph 1.
3 In the Settings window for Table Graph, locate the Legends section.
4 Select the Show legends check box.
6 Locate the Legend section. From the Position list, choose Upper left.
7 In the Cross Correlation (U,V) toolbar, click Plot.
Plot the distribution over the structure of the PSD for two displacement components.
Surface 1
1 Right-click PSD, u-displacement and choose Surface.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.psd(u).
4 Select the Description check box. In the associated text field, type Displacement, X
component, PSD.
PSD, u-displacement
In the Model Builder window, right-click PSD, u-displacement and choose Duplicate.
PSD, w-displacement
1 In the Model Builder window, under Results click PSD, u-displacement 1.
2 In the Settings window for 3D Plot Group, type PSD, w-displacement in the Label text
field.
Surface 1
1 In the Model Builder window, expand the PSD, w-displacement node, then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.psd(w).
4 In the Description text field, type Displacement, Z component, PSD.
5 In the PSD, w-displacement toolbar, click Plot.
Plot the distribution over the structure of the RMS of the displacement components.
Random vibration plots can take a long time to generate, so it is a good idea not to
replot unless explicitly requested. Also, storing the plots in the saved file can save time
when reopening the model.
6 In the Model Builder window, click Results.
7 In the Settings window for Results, locate the Update of Results section.
8 Select the Only plot when requested check box.
PSD, u-displacement
In the Model Builder window, under Results right-click PSD, u-displacement and choose
Duplicate.
RMS, u-displacement
1 In the Model Builder window, under Results click PSD, u-displacement 1.
2 In the Settings window for 3D Plot Group, type RMS, u-displacement in the Label text
field.
3 Click to expand the Title section. From the Title type list, choose Custom.
4 Find the Solution subsection. Clear the Solution check box.
Surface 1
1 In the Model Builder window, expand the RMS, u-displacement node, then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.rms(u).
4 In the Description text field, type Displacement, X component, RMS.
5 Locate the Coloring and Style section. Click Change Color Table.
6 In the Color Table dialog box, select Rainbow>Prism in the tree.
7 Click OK.
8 In the RMS, u-displacement toolbar, click Plot.
The plotting will take some time because it implies integration over the whole selected
frequency range at each location in the structure.
RMS, u-displacement
In the Model Builder window, right-click RMS, u-displacement and choose Duplicate.
RMS, w-displacement
1 In the Model Builder window, under Results click RMS, u-displacement 1.
2 In the Settings window for 3D Plot Group, type RMS, w-displacement in the Label text
field.
Surface 1
1 In the Model Builder window, expand the RMS, w-displacement node, then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.rms(w).
4 In the Description text field, type Displacement, Z component, RMS.
Surface 1
1 Right-click RMS, von Mises stress and choose Surface.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.q2sq(solid.mises_rv).
4 Select the Description check box. In the associated text field, type Stress, von Mises,
RMS.
5 Locate the Coloring and Style section. Click Change Color Table.
6 In the Color Table dialog box, select Rainbow>Prism in the tree.
7 Click OK.
8 In the RMS, von Mises stress toolbar, click Plot.
RMS, displacement
1 In the Model Builder window, under Results click RMS, von Mises stress 1.
2 In the Settings window for 3D Plot Group, type RMS, displacement in the Label text
field.
Surface 1
1 In the Model Builder window, expand the RMS, displacement node, then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.q2sq(solid.disp_rv).
4 In the Description text field, type Displacement, magnitude, RMS.
5 In the RMS, displacement toolbar, click Plot.
RMS, displacement
In the Model Builder window, right-click RMS, displacement and choose Duplicate.
Surface 1
1 In the Model Builder window, expand the RMS, acceleration node, then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type rvib1.q2sq(solid.utt_rv).
4 In the Description text field, type Acceleration, magnitude, RMS.
5 In the RMS, acceleration toolbar, click Plot.