CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Function object for force calculation is not properly restarting

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

Like Tree2Likes
  • 1 Post By conza
  • 1 Post By conza

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2022, 10:27
Question Function object for force calculation is not properly restarting
  #1
New Member
 
Conrado Zanutto
Join Date: Dec 2021
Location: Portugal
Posts: 3
Rep Power: 2
conza is on a distinguished road
Dear All,

I am running a solid-solid contact case and using the updated Lagrangian formulation (nonLinearGeometryUpdatedLagrangian) as the solidModel.
The problem I am facing is related to the use of function objects to calculate forces. I am using solids4Foam with foam-extend-4.1.

I am using a function object of type "solidForcesDisplacements" to analyse the time evolution of the force in one patch.

The problem is that every time I restart the case, the force starts from a small value and starts increasing again. On the other side, if I run the simulation continuously (without restarting), the force continuously increases with time.
I attached at the end of this message, the result (Force x time) of a case where I restarted the simulation 4 times to demonstrate the problem.

If you have any suggestion on how to overcome this problem, please, let me know.

Thank you so much for your attention!

Kind regards,
Conrado


Fzvstime.jpg
anaspauzi likes this.
conza is offline   Reply With Quote

Old   April 28, 2022, 08:42
Default
  #2
New Member
 
anaspauzi's Avatar
 
Anas Muhamad Pauzi
Join Date: Nov 2019
Posts: 16
Rep Power: 5
anaspauzi is on a distinguished road
I'm also facing the same problem. Please share if you have a solution.

Thank you

Quote:
Originally Posted by conza View Post
Dear All,

I am running a solid-solid contact case and using the updated Lagrangian formulation (nonLinearGeometryUpdatedLagrangian) as the solidModel.
The problem I am facing is related to the use of function objects to calculate forces. I am using solids4Foam with foam-extend-4.1.

I am using a function object of type "solidForcesDisplacements" to analyse the time evolution of the force in one patch.

The problem is that every time I restart the case, the force starts from a small value and starts increasing again. On the other side, if I run the simulation continuously (without restarting), the force continuously increases with time.
I attached at the end of this message, the result (Force x time) of a case where I restarted the simulation 4 times to demonstrate the problem.

If you have any suggestion on how to overcome this problem, please, let me know.

Thank you so much for your attention!

Kind regards,
Conrado


Attachment 89051
anaspauzi is offline   Reply With Quote

Old   April 28, 2022, 15:53
Default
  #3
New Member
 
Conrado Zanutto
Join Date: Dec 2021
Location: Portugal
Posts: 3
Rep Power: 2
conza is on a distinguished road
Quote:
Originally Posted by anaspauzi View Post
I'm also facing the same problem. Please share if you have a solution.

Thank you
Hi Anas Muhamad,


I talked to Philip and explained the issue to him. He pushed a very detailed commit with changes to ensure the consistent restarting for cases using nonlinear solid models. You can find the discussion on this link: https://bitbucket.org/philip_cardiff...object-may-not and the commit with the changes on this link https://bitbucket.org/philip_cardiff...mmits/4670d20b


And you can download the solids4Foam version with all those changes already added from the development branch on this link https://bitbucket.org/philip_cardiff...c/development/


I performed some tests and, for now, everything is going fine.


Kind regards,
Conrado
anaspauzi likes this.
conza is offline   Reply With Quote

Reply

Tags
foam-extend 4.1, force vs time, functionobject, restart, solids4foam

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
interFoam and scalarTransport function object with fvOptions sources fusij OpenFOAM Running, Solving & CFD 4 April 18, 2022 08:12
[snappyHexMesh] Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 5 April 15, 2016 05:12
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 13:33.