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] Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X

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

Like Tree2Likes
  • 1 Post By codder
  • 1 Post By codder

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2013, 17:04
Default Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X
  #1
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 12
codder is on a distinguished road
Hi Philip -

Basically, I have OpenFOAM-1.6-ext complied on the computer. Following the thread thus far, to the best of my ability, I did the following:

Code:
git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext nextRelease-1.6-ext
git checkout -b nextRelease origin/nextRelease
Then, I copied the nextRelease-1.6-ext\applications\solidMechanics into the corresponding OpenFOAM-1.6-ext directory. However, when I try to compile, I see the following output.

Code:
make: *** [Make/darwinIntel64GccDPOpt/elasticPlasticSolidFoam.o] Error 1
+ wmake elasticPlasticNonLinTLSolidFoam
Making dependency list for source file elasticPlasticNonLinTLSolidFoam.C
could not open file labelIOList.H for source file elasticPlasticNonLinTLSolidFoam.C
could not open file polyBoundaryMesh.H for source file elasticPlasticNonLinTLSolidFoam.C
could not open file boundBox.H for source file elasticPlasticNonLinTLSolidFoam.C
could not open file pointZoneMesh.H for source file elasticPlasticNonLinTLSolidFoam.C
could not open file faceZoneMesh.H for source file elasticPlasticNonLinTLSolidFoam.C
could not open file cellZoneMesh.H for source file elasticPlasticNonLinTLSolidFoam.C
I believe that the "missing elements" here are files being stored in nextRelease-1.6-ext/src/solidModels. Is this true (and if so), what steps should I take to compile solidMechanics on the current stable release?

Thank you, Eric

Last edited by codder; November 11, 2013 at 18:34. Reason: Increased coherence
codder is offline   Reply With Quote

Old   November 13, 2013, 13:23
Default
  #2
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 12
codder is on a distinguished road
What I have tried so far is:

Code:
git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext ~/OpenFOAM/newRelease
cd ~/OpenFOAM/newRelease
git checkout -b nextRelease origin/nextRelease

cp -R ~/OpenFOAM/newRelease/applications/solvers/solidMechanics/ ~/OpenFOAM/OpenFOAM-1.6-ext/applications/solvers/solidMechanics/
cp -R ~/OpenFOAM/newRelease/tutorials/solidMechanics/ ~/OpenFOAM/OpenFOAM-1.6-ext/tutorials/solidMechanics/

rm -R ~/OpenFOAM/OpenFOAM-1.6-ext/src
cp -R ~/OpenFOAM/newRelease/src/ ~/OpenFOAM/OpenFOAM-1.6-ext/src/
find ~/OpenFOAM/OpenFOAM-1.6-ext/src -name "*.H" | while read i; do ln -s "$i" ~/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/$(basename "$i") ; done
... but only with success:

Code:
hcp-128-83-76-122:solidMechanics eric$ ./Allwmake 
+ wmake elasticAcpSolidFoam
./Allwmake: line 6: wmake: command not found
+ wmake elasticIncrAcpSolidFoam
./Allwmake: line 7: wmake: command not found
+ wmake elasticIncrSolidFoam
./Allwmake: line 8: wmake: command not found
+ wmake elasticNonLinIncrTLSolidFoam
./Allwmake: line 9: wmake: command not found
+ wmake elasticNonLinTLSolidFoam
./Allwmake: line 10: wmake: command not found
+ wmake elasticNonLinULSolidFoam
./Allwmake: line 11: wmake: command not found
+ wmake elasticOrthoAcpSolidFoam
./Allwmake: line 12: wmake: command not found
+ wmake elasticOrthoNonLinULSolidFoam
./Allwmake: line 13: wmake: command not found
+ wmake elasticOrthoSolidFoam
./Allwmake: line 14: wmake: command not found
+ wmake elasticPlasticSolidFoam
./Allwmake: line 15: wmake: command not found
+ wmake elasticPlasticNonLinTLSolidFoam
./Allwmake: line 16: wmake: command not found
+ wmake elasticPlasticNonLinULSolidFoam
./Allwmake: line 17: wmake: command not found
+ wmake elasticSolidFoam
./Allwmake: line 18: wmake: command not found
+ wmake elasticThermalSolidFoam
./Allwmake: line 19: wmake: command not found
+ wmake icoFsiElasticNonLinULSolidFoam
./Allwmake: line 20: wmake: command not found
+ wmake viscoElasticSolidFoam
./Allwmake: line 21: wmake: command not found
+ cd utilities
+ wmake all
./Allwmake: line 23: wmake: command not found
dhcp-128-83-76-122:solidMechanics eric$ . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc 
dhcp-128-83-76-122:solidMechanics eric$ ./Allwmake + wmake elasticAcpSolidFoam
make: *** No rule to make target `/Users/eric/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/fvCFD.H', needed by `elasticAcpSolidFoam.dep'.  Stop.
+ wmake elasticIncrAcpSolidFoam
codder is offline   Reply With Quote

Old   November 15, 2013, 02:23
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Eric,

I've moved your two posts from the thread http://www.cfd-online.com/Forums/ope...am-extend.html because this seems to be more of an installation problem of OpenFOAM 1.6-ext on Mac OS X.

The problem you are having with this:
Quote:
Code:
./Allwmake: line 8: wmake: command not found
which means that something went wrong with the original installation of OpenFOAM 1.6-ext.
One simple test that you can make is to run this command:
Code:
export | grep FOAM
If it this command showed nothing to you, then this means that the OpenFOAM shell environment is not operational. If this is the case, it seems that you did not follow properly these two sections:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 26, 2013, 17:32
Default solved issue
  #4
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 12
codder is on a distinguished road
Hi Bruno -

Thanks for pointing out one source of the problems I was seeing. At some point, however, I gave up attempting to install the solidMechanics source into the 1.6 extend stable, and instead compiled the newRelease branch entire.

The later ultimately proved successful, following the advice of a co-worker and:

http://openfoamwiki.net/index.php/In...1.6-ext/Ubuntu

... running Ubuntu 12.04 on VMWare Fusion.
wyldckat likes this.
codder is offline   Reply With Quote

Old   January 11, 2014, 17:34
Default updated solution
  #5
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 12
codder is on a distinguished road
Edit:
Presently I install solidMechanics solvers via foam-extend-3.0, per my thread, and with other wiki installation instructions also available.
wyldckat likes this.
codder is offline   Reply With Quote

Reply

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
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
Is it a good idea to use OpenFoam on a Mac (OS 10.7.5) or on Windows7? bzz77 OpenFOAM Installation 4 November 21, 2012 17:06
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
New building machine for OpenFoam gerbervdgraaf OpenFOAM Installation 23 December 9, 2009 02:39
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 12:46


All times are GMT -4. The time now is 01:41.