|
[Sponsors] |
solidDisplacementFoam vs. solidEquilibriumDisplacementFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 23, 2017, 11:20 |
solidDisplacementFoam vs. solidEquilibriumDisplacementFoam
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hey everybody,
at the moment I am trying to calculate a transient heat treatment of a complex aluminum alloy while estimating the displacement and stresses in the material. The combination is done in order to regulate the energy insertion based on the stresses because plastic deformation is not allowed. In order to fulfill this condition, the equilibrium stress (Von Mises) have to be lower than the yield strength of the material (yield strength is assumed to be constant during the heat treatment). However, I focus a few problems for the stress calculation:
Result of the simple geometry
Strange behavior during long outer loop correction I focused a strange problem if we do a lot of outer loop corrections. The calculation time for each outer loop will significantly increase. The increase can be analyzed to behave like an exponential function (see picture). It is like using the following thing: Code:
for(int i=0; i < 1e9; i++) { test.append(i); } Graphic explanation:
Summing up
My questions:
In addition. I am using total Lagrange - Total Strain / Stress approach. I have no idea if an incremental approach would be better for transient problems. There are also other solver in the extend version available that accounts for plasticity and much more, but I am not interested in that. As I said - plasticity should be avoided. Crazy stresses! Finally, I hope someone can give an advice and that everything is clear mentioned.
__________________
Keep foaming, Tobias Holzmann |
|
March 27, 2017, 03:58 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi everybody,... I have no Idea why there is only one picture. Therefore, the pictures I wanted to sent are attached now.
__________________
Keep foaming, Tobias Holzmann |
|
April 1, 2017, 07:33 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hey everybody,
a short update to the problems I focused above:
__________________
Keep foaming, Tobias Holzmann |
|
April 1, 2017, 15:02 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Just an info. Henry Weller just closed my bug report. So he is not really interested about that problem. Nice.
__________________
Keep foaming, Tobias Holzmann |
|
April 3, 2017, 17:50 |
|
#5 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
An update to the monologue:
I checked it with pimpleFoam and the calculation time for one time step and 10.000 outer loops was: - standard compilation: 1922 s - additional flag compilation: 317s One additional graphic is attached. Maybe someone can use it too.
__________________
Keep foaming, Tobias Holzmann |
|
September 22, 2021, 13:05 |
|
#6 |
New Member
Justyna Salachna
Join Date: Dec 2019
Posts: 10
Rep Power: 7 |
Hi Tobi!
I know this reply is quite late, but I encounter similar problem while using solids4Foam solver for FSI simulations. Can you explain how to recompile FOAM with the necessary USEMEMCPY flag ? Regards, |
|
September 23, 2021, 04:26 |
|
#7 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hey, its okay that the thread is so old - that's why its there - to support others. During that time, I encountered two possible options:
Code:
cd $WM_PROJECT_DIR/wmake/rules/linux-WHATEVERYOURCOMPILER/ cOpt c++Opt --------------------------------------- c++DBUG = c++OPT = -O3 -DUSEMEMCPY=1 ROUNDING_MATH = -frounding-math Probably its enough to recompile the List class: Code:
shorty@OpenFOAM-9: grep -rni -e "USEMEMCPY" src/OpenFOAM/containers/Lists/List/List.C:111: #ifdef USEMEMCPY src/OpenFOAM/containers/Lists/List/List.C:170: #ifdef USEMEMCPY src/OpenFOAM/containers/Lists/List/List.C:300: #ifdef USEMEMCPY src/OpenFOAM/containers/Lists/List/List.C:382: #ifdef USEMEMCPY src/OpenFOAM/containers/Lists/UList/UList.C:47: #ifdef USEMEMCPY shorty@OpenFOAM-9:
__________________
Keep foaming, Tobias Holzmann |
|
Tags |
finite volume method, stress calculation |
|
|