CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

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 Display Modes
Old   November 11, 2013, 18:04
Default Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X
  #1
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 42
Rep Power: 3
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 19:34. Reason: Increased coherence
codder is offline   Reply With Quote

Old   November 13, 2013, 14:23
Default
  #2
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 42
Rep Power: 3
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, 03:23
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Eric,

I've moved your two posts from the thread Solid Mechanics Solvers added to OpenFOAM Extend 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, 18:32
Default solved issue
  #4
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 42
Rep Power: 3
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, 18:34
Default updated solution
  #5
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 42
Rep Power: 3
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.6 and 1.7 with interFoam, groovyBC give different strange results Arnoldinho OpenFOAM 7 December 9, 2010 17:29
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 0 February 5, 2010 13:12
New building machine for OpenFoam gerbervdgraaf OpenFOAM Installation 23 December 9, 2009 03:39
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found fossy OpenFOAM Installation 1 August 28, 2009 04:06
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55


All times are GMT -4. The time now is 08:47.