|
[Sponsors] |
solids4foam for natural frequency of a cantilever beam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2020, 12:10 |
solids4foam for natural frequency of a cantilever beam
|
#1 |
New Member
Join Date: May 2010
Posts: 18
Rep Power: 16 |
Hi (Structural) Foamers,
Thought this post might help some of you to understand the importance of time step in a structural solver using solids4foam toolbox. The frequency of cantilever beam was validated using the finite volume method by the authors Slone et al https://www.sciencedirect.com/scienc...07904X02000604. Please see fig 3 in this paper. The natural frequency is approx 20 s. The same case was run using linearGeometryTotalDisplacement model from solids4foam toolbox. The left part of the attached image shows the displacement variation with time for the force inputs as shown in right for different time steps. As given in the paper, the force was linearly ramped upto 10 s and then released. However, the displacement from simulation does not capture the natural frequency when time step, dt = 1 s. There is too much damping arising from first order Euler scheme. With finer time steps, this numerical damping disappeared to a large extent and the natural frequency is as expected. Unlike the Slone et al's article, the peak displacement is greater than 0.1 m and it gradually reduced with increasing time. Thanks to Philip Cardiff (aka bigphil) for suggesting to perform time step checks. |
|
July 29, 2020, 12:24 |
|
#2 |
New Member
Join Date: May 2010
Posts: 18
Rep Power: 16 |
I forgot to mention in the above message. At time step = 0.1 s, the results for backward scheme and Euler scheme are same though. As backward scheme is second order and Euler is first order, why is displacement response not sensitive to the type of time scheme?
|
|
July 29, 2020, 12:33 |
|
#3 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
Also, for a given time-step size, second-order methods are often more accurate in absolute terms than first-order methods, but this does not have to be the case. In your case, I suggest you perform the same time-step analysis using both Euler and backward and compare them, and you should see that backward approaches the final solution at a higher rate. Philip EDIT: by the way, first order Euler is generally known to require very small toe-steps to be accurate in comparison to Newmark or trapezoidal second order schemes, which can produce the same accuracy with much larger time-step sizes. Last edited by bigphil; July 29, 2020 at 12:35. Reason: Add comment about Euler |
||
December 12, 2022, 22:49 |
|
#4 | |
New Member
Chao Li
Join Date: Oct 2019
Posts: 6
Rep Power: 7 |
Quote:
|
||
December 13, 2022, 18:45 |
|
#5 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
Last edited by bigphil; December 14, 2022 at 10:51. Reason: Fix URL |
||
December 13, 2022, 22:29 |
|
#6 | |
New Member
Chao Li
Join Date: Oct 2019
Posts: 6
Rep Power: 7 |
Quote:
|
||
December 14, 2022, 11:04 |
|
#7 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
In reply to your questions
|
||
December 14, 2022, 21:15 |
|
#8 | |
New Member
Chao Li
Join Date: Oct 2019
Posts: 6
Rep Power: 7 |
Quote:
|
||
November 1, 2024, 04:47 |
|
#9 | |
New Member
steve thomas
Join Date: Aug 2024
Posts: 5
Rep Power: 2 |
Quote:
You mentioned that using the first-order Euler method or the second-order backward method can yield results similar to Newmark-beta, though they require different time-steps. However, I notice that in the field of structural dynamics (actually within FE), Newmark-beta and other similar methods, such as HHT-alpha, are commonly used. Are there significant differences between these two approaches (Euler and Newmark)? I rarely come across comparisons between them. Additionally, I’m curious why Newmark-beta or HHT-alpha hasn't been implemented in solids4foam for solid dynamics problems. What are the reasons for this? I saw in one of your other posts that you mentioned, “So if in your case, your are finding that you have premature wave dissipation then I would guess it is probably related to the time-scheme; ideally Newmark-beta would be implemented in solids4foam (it has been on my list for a while!) but failing that use a smaller time-step with Euler or backward.” Have you managed to implement this in solids4foam, particularly in the context of the cell-centered finite volume framework? I'm trying to incorporate it and am considering an approach similar to backwardD2dt2Scheme.C in solids4foam. Do you think this is reasonable? I look forward to hearing your thoughts. Best, Steve |
||
November 5, 2024, 07:59 |
|
#10 | ||
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
For a certain choice of parameters, HHT-alpha/Newmark-beta give the trapezoidal rule (same as Crank-Nicolson), which is energy conserving (consequently, it may be unstable). HHT-alpha/Newmark-beta and backwards schemes are typically 2nd order, i.e., the numerical temporal error reduces at a second order rate as the time step size is reduced, e.g. halving the time step size will reduce the temporal error by a factor of 4, assuming you are in the asymptotic regime (close to the true solution). In contrast, Euler is 1st order accurate, e.g. halving the time step size will reduce the temporal error by a factor of 2. In practice, the 1st order Euler method is highly dissipative for structural problems for reasonable time step sizes. Of course, the temporal error can be made arbitrarily small but this will likely require prohibitively small time steps for the 1st order Euler scheme. I compared 1st Euler, with backwards and Newmark-beta (with parameters corresponding to the trapezoidal rule) in https://www.researchgate.net/publica...cs_in_OpenFOAM; see slide 34 (temporal discretisation) and slide 53 (comparison of predictions for a 3-D vibrating cantilever). In this case, it is based on a vertex-centred formulation (irrelevant, but FYI). In terms of comparing Newmark-beta and backwards, they will be similar for dynamic problems, albeit backwards can no parameters to control the amount of dissipation. Quote:
Philip |
|||
November 8, 2024, 12:07 |
|
#11 |
New Member
steve thomas
Join Date: Aug 2024
Posts: 5
Rep Power: 2 |
Hi Philip,
Thank you for your reply. It seems that there isn’t much difference between the backward and Newmark methods, but I’m working on implementing it in a cell-centered solver and running comparisons. In addition, as I try to set up my plane stress example, I reviewed `correct(vol sigma)` in `linearElastic.C` from s4f v1.1. I noticed that in this code, the calculation of `epsilon.zz()` at the n+1 iteration step uses two components of \sigma , which are clearly from the n iteration step. This approach seems different from that in FEM. Could this calculation method impact the results? Furthermore, when I compared this with `linearElastic.C` in s4f v2.1, I noticed that plane stress is addressed by using different formulas for \lambda, but in `correct(vol sigma, epsilon)`, K_ * tr (\epsilon) is applied. As I understand it, if a user specifies E and \nu, then K_ should also vary for plane stress, just like \lambda, since K_ = 2/3* \mu + \lambda. Do you think this understanding is correct? I look forward to your insights. Best, Steve |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Udl cantilever beam problem with ansys workbench | assassin_s | Structural Mechanics | 1 | March 26, 2019 15:51 |
cantilever beam anlysis | arif1729 | Structural Mechanics | 0 | October 4, 2016 19:50 |
[solidMechanics] the dynamic response of cantilever beam under earthquake | bieshuxuhe | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 2 | May 28, 2014 11:23 |
one way FSI: large deflection of cantilever beam inside a microfluidic channel | o_mars_2010 | CFX | 1 | October 31, 2012 00:17 |
comsol cantilever beam problem | bhu47 | COMSOL | 0 | June 30, 2008 15:59 |