CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

Solid Mechanics Solvers added to OpenFOAM Extend

Register Blogs Community New Posts Updated Threads Search

Like Tree36Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2012, 12:06
Default Solid Mechanics Solvers added to OpenFOAM Extend
  #1
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi All,

I have been meaning to do this for a while and I have finally got around to it.
I have assembled the finite volume solid mechanics solvers that have been developed by my research group under the guidance of Prof. Alojz Ivanković, University College Dublin. A large number of people have contributed to the development of the solvers: Aleksandar Karac, Zeljko Tukovic, Hrvoje Jasak, Philip Cardiff, Declan Carolan, Michael Leonard and Valentine Kanyanta.

The included solid mechanics solvers employ the finite volume method
(not finite elements) to numerically approximate the displacements
and stresses in solid bodies undergoing deformation.

The included solvers are suitable for small strain, small strain with
large rotations, large strain, cohesive zones, plasticity, thermal-
elasticity, visco-elasticity, gravity forces, fluid-structure
interactions, multi-material analyses and contact stress analysis.

A number of custom boundary conditions with full non-orthogonal correction
are including time-varying displacements and tractions, fixed rotations,
and fixed displacements with zero shear stress.

The solvers have been added as a feature branch to OpenFOAM-1.6-ext. To download, get OpenFOAM-1.6-ext using git:
Code:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext
Then the solidMechanics feature branch may be checked out:
Code:
git checkout -b feature/solidMechanics remotes/origin/feature/solidMechanics
Now you will find the directory $WM_PROJECT_DIR/applications/solvers/solidMechanics containing the new solvers, tutorials and utilities.

Hopefully some of you will find this useful and maybe some of you will be converted from finite elements

Have fun.

Best regards,
Philip
wyldckat, Attesz, Ohbuchi and 8 others like this.

Last edited by bigphil; September 13, 2012 at 05:05. Reason: fixing the git command to download the branch again (changed sollidMechanics to feature/solidMechanics in local branch)
bigphil is offline   Reply With Quote

Old   September 12, 2012, 02:06
Default
  #2
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 14
mechy is on a distinguished road
I have download the OF-1.6-ext successfully but it did not contaion the solidMechanics also when I run this code : git checkout -b solidMechanics origin/solidMechanics the following error is shown


fatal: Not a git repository (or any of the parent directories): .git


if what folder this code should be executed ?
Please help me to download the solidMechanics solver
Best Regards
mechy is offline   Reply With Quote

Old   September 12, 2012, 04:25
Default
  #3
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi Mechy,

sorry the command to get the solidMechanics branch is (this command is executed in the OpenFOAM-1.6-ext directory):
Code:
git checkout -b feature/solidMechanics remotes/origin/feature/solidMechanics
I shall edit the post above.

Philip

Last edited by bigphil; September 13, 2012 at 05:06. Reason: changed the git command
bigphil is offline   Reply With Quote

Old   February 13, 2013, 16:19
Default
  #4
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by kpax View Post
hey phil,

i am currently testing the icoFsiElasticNonLinULSolidFoam - looks amazing!

just a minor suggestion: i think it's a bit misleading that the maximum number of Aitken iterations (nOuterCorr) is set in fvSolution under "PISO"...
wouldn't it make more sense if that parameter was set in couplingProperties, just like outerCorrTolerance etc.?
Hi kpax,

That's good to hear that you find them useful.

You are right, nOuterCorr is not that clear. In my defence I did not develop this solver
But I can change it the next time I update the code.

Best regards,
Philip

PS As the OpenFOAM-1.6-ext git is currently down, I have put a ".tgz" of the solidMechanics solvers here (4.7 MB). I normally put the solidMechanics directory in $FOAM_SOLVERS.
bigphil is offline   Reply With Quote

Old   June 9, 2013, 07:54
Default
  #5
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Dear all,

I have recently compiled the solidMechanics code on OpenFOAM-2.2.0.
I had to disable a couple of features (it should be possible to get them working with a bit of time), but at least you can try out the code if you only have access to official OpenFOAM.

A ".tgz" of the solidMechanics code for OpenFOAM-2.2.0 can be downloaded here.

Extract the solidMechanics_OpenFOAM-2.2.0.tgz file to the $FOAM_SOLVERS directory and then compile using the include Allwmake script.

Note, the disabled features are:
  • solidInterface bi-material interface procedure (because of faMesh);
  • ggiInterpolation interpolation option in contact boundaries (should be possible to replace with AMI);
  • fixedRotation boundary condition because of RodriguesRotation (should be possible to calculate rotation tensor by hand);
  • finiteElement fluid mesh motion solver in FSI solver.

Best regards,
Philip
bigphil is offline   Reply With Quote

Old   August 25, 2013, 20:09
Default
  #6
New Member
 
Join Date: Oct 2011
Posts: 28
Rep Power: 14
danny261083 is on a distinguished road
Hi Dr. Cardiff,

I attempted to download OpenFOAM 1.6-ext using the command
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext

However I received the error fatal: The remote end hung up unexpectedly.
I ended up downloading the version using
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext
However, I was unable to checkout the solid solvers branch using
git checkout -b feature/solidMechanics remotes/origin/feature/solidMechanicsI ended up downloading the solidMechanics.tgz from one of the earlier posts. I would like to know whether I should be extracting all the contents (including tutorials) to the solvers folder that is located within the applications directory.

Thanks & Regards
danny261083 is offline   Reply With Quote

Old   August 26, 2013, 03:01
Default
  #7
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 17
Chris Lucas is on a distinguished road
Hi

have a look at

http://sourceforge.net/p/openfoam-ex...i/master/tree/

git path to master branch is:

git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext openfoam-extend-OpenFOAM-1.6-ext

Christian
bigphil likes this.
Chris Lucas is offline   Reply With Quote

Old   August 26, 2013, 09:07
Default
  #8
New Member
 
Join Date: Oct 2011
Posts: 28
Rep Power: 14
danny261083 is on a distinguished road
Hi Chris,

Thanks for the git path to the master branch. However, I was unable to checkout the solidMechanics feature and ended up downloading the solidMechanics.tgz from one of the earlier posts. I needed confirmation that the contents (including tutorials) have to be extracted to the solvers folder located within the applications directory.

Thanks & Regards
danny261083 is offline   Reply With Quote

Old   August 26, 2013, 09:20
Default
  #9
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by danny261083 View Post
Hi Chris,

Thanks for the git path to the master branch. However, I was unable to checkout the solidMechanics feature and ended up downloading the solidMechanics.tgz from one of the earlier posts. I needed confirmation that the contents (including tutorials) have to be extracted to the solvers folder located within the applications directory.

Thanks & Regards
Hi Danny,

Apologies, the solidMechanics branch is no longer a git branch as it has been merged into the nextRelease branch getting ready for the nextRelease.

One can see all the remote branches using this command:
Code:
git remote show origin
So you could checkout the nextRelease branch (careful though, this is still under continuous development) and copy the code from that branch:
Code:
git checkout -b nextRelease origin/nextRelease
To answer your original question, yes you just extract the ".tgz" when inside the solvers directory: I keep all the code and tutorials together for now.

Philip
bigphil is offline   Reply With Quote

Old   September 14, 2013, 15:21
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Quote:
Originally Posted by bigphil View Post
A ".tgz" of the solidMechanics code for OpenFOAM-2.2.0 can be downloaded here.
@Philip: I've Githubified this source code here: https://github.com/wyldckat/solidMechanics
And adapted it to be built on OpenFOAM 2.1.x and 2.0.x... well, no so much as adapting, simply regressed the changes you had made for OpenFOAM 2.2.0

Further modifications are explained on the updated "README.md" file .
Note: I have not tested any of the tutorials on any of the mentioned OpenFOAM versions

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 24, 2013, 07:36
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

In an attempt to make it easier to keep track of announcements regarding this very precious solidMechanics tool-kit, I've moved all of the posts that were support related to this thread:
https://www.cfd-online.com/Forums/op...am-extend.html
So please, ask support questions there

In addition, I've created a quick page at openfoamwiki.net for making it easier to keep the latest information on the location of the solidMechanics tool-kit: http://openfoamwiki.net/index.php/Co...solidMechanics
Anyone, please feel free to extend that page with more information, such as tutorials and ideas!!

Best regards,
Bruno
bigphil likes this.

Last edited by wyldckat; December 30, 2017 at 20:24. Reason: updated link to support thread
wyldckat is offline   Reply With Quote

Old   May 1, 2014, 12:11
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

The repository https://github.com/wyldckat/solidMechanics has a new branch for OpenFOAM 2.3.x.
Direct link to said branch, named OF23x: https://github.com/wyldckat/solidMechanics/tree/OF23x - installation instructions can be found on that page.

edit: I forgot to mention that I have not checked if there have been any fixes made on foam-extend 3.0 that should be ported to this repository.

Best regards,
Bruno
bigphil, Daniel_Khazaei and codder like this.

Last edited by wyldckat; May 1, 2014 at 12:27. Reason: see "edit:" and fixed typo
wyldckat is offline   Reply With Quote

Old   August 19, 2014, 05:25
Default help thermal expansion + contact
  #13
New Member
 
Manuele Aufiero
Join Date: Dec 2011
Location: Grenoble
Posts: 8
Rep Power: 14
orca.blu is on a distinguished road
Dear all,

I am trying to use the elasticThermalSolidFoam solver of version 3.1 in presence of contact stresses.

Is it possible?

I modified the tutorial slidingFrictionBall. Temperature is solved correctly, but I got this error at the definition of Ueqn if master and slave patches are defined like in the original tutorial:

Code:
Solving for U

--> FOAM FATAL ERROR: 

    request for volVectorField U_0 from objectRegistry region0 failed
    available objects of type volVectorField are

5
(
U
UPrevIter
aitkenDelta
grad((((threeK*rho)*alpha)*(T-T0)))
divSigmaExp
)

    From function objectRegistry::lookupObject<Type>(const word&) const
    in file /7gpr/aufiero/foam/foam-extend-3.1/src/foam/lnInclude/objectRegistryTemplates.C at line 139.

FOAM aborting

Aborted (core dumped)
I can not figure out where the error comes from (and how to solve it)

Any help will be appreciated.

Thank you very much.

Manu
__________________
Manuele Aufiero
orca.blu is offline   Reply With Quote

Old   May 26, 2015, 15:19
Default
  #14
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi all,

For those interested in Fluid-Solid-Interactions (FSI):

In case you were not aware, the new FSI framework (currently located in foam-extend-3.1/extend-bazaar) supersedes the icoFsiElasticNonLinULSolidFoam FSI solver within the solidMechanics toolbox.

This framework was presented at the OpenFOAM Workshop 2014 in Zagreb: abstract and slides.

The major improvement with regard to FSI coupling is the implementation of the IQN-ILS algorithm.
Also, the plugin approach used for the solid and fluid solvers should allow easier extension to other fluid/solid models e.g. multi-phase, compressible, plasticity, etc.

Best,
Philip
bigphil is offline   Reply With Quote

Old   September 5, 2015, 19:01
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Instructions for properly building the Fluid-Structure Interaction toolkit with foam-extend 3.1 is now available here: http://openfoamwiki.net/index.php/Ex...oam-extend_3.1

I've also git'ified the source code: https://github.com/wyldckat/FluidStructureInteraction

Best regards,
Bruno
bigphil and will.logie like this.
__________________
wyldckat is offline   Reply With Quote

Old   February 3, 2016, 16:24
Default
  #16
New Member
 
Hiran Wijesinghe
Join Date: Feb 2016
Posts: 1
Rep Power: 0
hiran is on a distinguished road
Hi all,

I want to model the vibrational modes of a micro-scale structure. I basically want to specify a transient boundary condition and be able to see the normal modes. Is solidMechanics the tool I should look for?

Thanks
hiran is offline   Reply With Quote

Old   February 10, 2016, 05:00
Default
  #17
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by hiran View Post
Hi all,

I want to model the vibrational modes of a micro-scale structure. I basically want to specify a transient boundary condition and be able to see the normal modes. Is solidMechanics the tool I should look for?

Thanks
Hi,

There is currently no implementation for calculating eigenvalues/eigenvectors/vibration models although it should be possible.
Simulating using a geometrically nonlinear (aka large strain) approach could work depending on the problem.

Philip
bigphil is offline   Reply With Quote

Old   April 30, 2016, 22:56
Default keyword nonLinear is undefined in dictionary
  #18
New Member
 
Join Date: Apr 2016
Posts: 1
Rep Power: 0
flighter1978 is on a distinguished road
I have installed the Solidmechanics, but when I run the cases in the tutorials, a fatal error "keyword nonLinear is undefined in dictionary " rises. Can you tell me how to solve this error? Thanks!

The following are the log file

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : elasticPlasticSolidFoam
Date : May 01 2016
Time : 10:28:04
Host : "ThinkPad-T430u"
PID : 7474
Case : /home/sheavon/OpenFOAM/sheavon-2.3.0/run/solidMechanics/tutorials/elasticPlasticSolidFoam/timeVaryingPlasticPlateHole
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field DU



--> FOAM FATAL IO ERROR:
keyword nonLinear is undefined in dictionary "/home/sheavon/OpenFOAM/sheavon-2.3.0/run/solidMechanics/tutorials/elasticPlasticSolidFoam/timeVaryingPlasticPlateHole/0/DU.boundaryField.right"

file: /home/sheavon/OpenFOAM/sheavon-2.3.0/run/solidMechanics/tutorials/elasticPlasticSolidFoam/timeVaryingPlasticPlateHole/0/DU.boundaryField.right from line 31 to line 33.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 437.

FOAM exiting
************************************************** *************************************************
DU.boundaryField.right
right
{
type timeVaryingSolidTraction;
outOfBounds clamp;
fileName "$FOAM_CASE/constant/timeVsRightTraction";
}
flighter1978 is offline   Reply With Quote

Old   May 3, 2016, 12:19
Default
  #19
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
The following should fix it:

Code:
right
{
    type timeVaryingSolidTraction;
    outOfBounds clamp;
    fileName "$FOAM_CASE/constant/timeVsRightTraction";
    nonLinear off;
    value uniform (0 0 0);
}
Philip
bigphil is offline   Reply With Quote

Old   June 14, 2016, 14:04
Default
  #20
New Member
 
Ricardo Ferreira
Join Date: May 2015
Posts: 16
Rep Power: 10
RLFerreira is on a distinguished road
Hi Guys.

I'm trying to reproduce the HronTurekFsi3 tutorial from extend-bazaar. I installed those toolkits based on instructions from
HTML Code:
https://openfoamwiki.net/index.php/Extend-bazaar/Toolkits/Fluid-structure_interaction
for FOAM-extend-3.2. However, during hronTurekReport function object compilation rise an error to include "fluidStructureInterface.H". Above following warning msg from "log.fsiFoam".

Code:
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load libhronTurekReport.so: cannot open shared object file: No such file or directory
What can I do to fix it? I appreciate your helps. Thanks,
Ricardo.
joukovsky likes this.
RLFerreira is offline   Reply With Quote

Reply


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


LinkBacks (?)
LinkBack to this Thread: https://www.cfd-online.com/Forums/openfoam-news-announcements-other/106881-solid-mechanics-solvers-added-openfoam-extend.html
Posted By For Type Date
Solid Mechanics Solvers added to OpenFOAM Extend - Page 4 -- CFD Online Discussion Forums This thread Refback September 16, 2013 10:14

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Version 1.4 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 April 11, 2007 18:56
Testing of OpenFOAM 1.4alpha Commenced OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 January 16, 2007 09:41
Testing of OpenFOAM 1.3alpha Commenced OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 February 7, 2006 07:31


All times are GMT -4. The time now is 11:14.