CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend"

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree134Likes

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2022, 02:32
Default
  #681
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Quote:
Did you also try the ./tutorials/solids/elastoplasticity/impactBar tutorial case? It might be helpful.

Yes I did. That was my first step in doing dynamic mesh with rigid body motion. I am using same method for plastic deformation using file "plasticStrainVsYieldStress".

So I made this change:

1. Made "floor" patch as master instead "falling_obj". Previously it was other way around with rigidMaster set to no.
2. Added relaxation for DD equation as well.
3. Added alternativeTolerance and materialTolerance to constant/solidProperties
4. I am using infoFrequency as 1, to see how the convergence of res and relRes is going


Still the issue was there, only the relRes is going down, res remains 1 and after a few timesteps relRes diverges in around 150-200 correctors. I have given a high value for correctors to check whether it comes down at some point.




From the previous example I did, the falling_obj started from rest and moved with effect of gravity only. Now from the impactBar case I used setFields and gave some velocity. Now it runs perfectly fine, atleast it came beyond the point it had crashed before and the mesh also moves.







Thanks for your help.
ashishmagar600 is offline  

Old   August 6, 2022, 08:07
Default
  #682
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Another query.. How to select a proper time step for solids only simulation?
ashishmagar600 is offline  

Old   August 9, 2022, 12:02
Default
  #683
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by ashishmagar600 View Post
Another query.. How to select a proper time step for solids only simulation?
When using an implicit solid solver, then temporal accuracy is the main concern.

A quick check is to re-run your simulation where you double or half (or do both and run two extra simulations) and see if your results change much.
If you want to perform a more formal check, then you can use the Grid Convergence Index (GCI) method (Roache 1996) using the results from three time-step sizes to estimate the time-step independent solution.
bigphil is offline  

Old   August 10, 2022, 00:40
Default
  #684
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Hi Phillip, thanks for your response.


My concern was the simulation crashes within a few or few hundred timesteps if I use a lower one. The run is not stable and I have tried varying DD relaxation. The mesh is clean with few non-ortho cells, other than that it passed all mesh checks. All are tet cells generated using Salome meshing.
ashishmagar600 is offline  

Old   August 27, 2022, 06:19
Default
  #685
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Also is there is ordering syntax to follow when having a multi contact body in solidContact BC?
ashishmagar600 is offline  

Old   August 31, 2022, 12:34
Default
  #686
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by ashishmagar600 View Post
Also is there is ordering syntax to follow when having a multi contact body in solidContact BC?
The solidContact boundary condition uses a node-to-segment type of approach, where it calculates the distance between the "slave" vertices (so called nodes) and "master" faces (so called segments).
As a result, if you switch the master and slave definitions, you may end up with a slightly different solution; however, this difference should dissapear as the mesh is refined.

In terms of deciding which patch should be the slave, you can use trial-and-error to find which works best, or, if one patch has a finer mesh then that tends to be a good choice for the slave (as the algorithm uses the slave vertices).
bigphil is offline  

Old   December 22, 2022, 09:10
Default
  #687
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
I am closing this behemoth of a thread.

If you would like to reply to one of the posts above, please send me a private message with a link to the post and I will move that post to its own new thread. You will then be able to reply to the post there.
bigphil is offline  

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 37 August 17, 2022 14:22
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 20:07.