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

[swak4Foam] Installing swak4Foam to OpenFOAM in mac

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 15, 2012, 01:18
Unhappy Installing swak4Foam to OpenFOAM in mac
  #1
New Member
 
Yuki SUMI
Join Date: Jul 2012
Posts: 7
Rep Power: 13
Kaquesang is on a distinguished road
Hi, I'm trying to use OpenFOAM in my MacBookPro (mountain lion).

I've installed OpenFOAM-2.1.x successfully.
Although Tutorial cases can work properly, after I installed swak4Foam, the Example cases of swak4Foam won't work!

I'll explain in more detail.
I made "Libraries" folder in "run" directory and typed

$ svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/

and do
$ wmake all (I attached log file)
in the swak4Foam directory.

There seems to be no error in the log. So in Examples/groovyBC/fillingTheDam/ directory, I made meshes, then the error messgage came out.


$ blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.x-931a91d59a3a
Exec : blockMesh
Date : Aug 15 2012
Time : 13:54:22
Host : Kaquesangs-Mac.local
PID : 9923
Case : /Volumes/Mac-OF-2.0.x/hoge/run/Examples/groovyBC/fillingTheDam
nProcs : 1
sigFpe : Floating point exception trapping - not supported on this platform
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libswakFunctionObjects.so"

Creating block mesh from
"/Volumes/Mac-OF-2.0.x/hoge/run/Examples/groovyBC/fillingTheDam/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty
--> FOAM Warning :
From function polyMesh:olyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 881
Found 10 undefined faces in mesh; adding to default patch.

Check topology

Basic statistics
Number of internal faces : 4
Number of boundary faces : 22
Number of defined boundary faces : 22
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 0.146

Writing polyMesh
----------------
Mesh Information
----------------
boundingBox: (0 0 0) (0.584 0.584 0.0146)
nPoints: 4746
nCells: 2268
nFaces: 9176
nInternalFaces: 4432
----------------
Patches
----------------
patch 0 (start: 4432 size: 50) name: leftWall
patch 1 (start: 4482 size: 50) name: rightWall
patch 2 (start: 4532 size: 62) name: lowerWall
patch 3 (start: 4594 size: 46) name: atmosphere
patch 4 (start: 4640 size: 4536) name: defaultFaces

End

$ interFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.x-931a91d59a3a
Exec : interFoam
Date : Aug 15 2012
Time : 13:55:18
Host : Kaquesangs-Mac.local
PID : 9932
Case : /Volumes/Mac-OF-2.0.x/hoge/run/Examples/groovyBC/fillingTheDam
nProcs : 1
sigFpe : Floating point exception trapping - not supported on this platform
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libgroovyBC.so"
--> FOAM Warning :
From function dlLibraryTable:pen(const fileName&)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libswakFunctionObjects.so"
Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field alpha1



--> FOAM FATAL IO ERROR:
Unknown patchField type groovyBC for patch type wall


Valid patchField types are :

68
(
advective
alphaFixedPressure
atmBoundaryLayerInletEpsilon
buoyantPressure
calculated
codedFixedValue
constantAlphaContactAngle
cyclic
cyclicSlip
directMapped
directMappedField
directMappedFixedInternalValue
directMappedFixedPushedInternalValue
directionMixed
dynamicAlphaContactAngle
empty
epsilonWallFunction
fan
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
kappatJayatillekeWallFunction
kqRWallFunction
mixed
nonuniformTransformCyclic
nuSgsUSpaldingWallFunction
nutLowReWallFunction
nutTabulatedWallFunction
nutURoughWallFunction
nutUSpaldingWallFunction
nutUWallFunction
nutkRoughWallFunction
nutkWallFunction
omegaWallFunction
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
processorCyclic
rotatingTotalPressure
selfContainedDirectMapped
sliced
slip
symmetryPlane
syringePressure
timeVaryingAlphaContactAngle
timeVaryingMappedFixedValue
timeVaryingTotalPressure
timeVaryingUniformFixedValue
totalPressure
totalTemperature
turbulentHeatFluxTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
turbulentMixingLengthDissipationRateInlet
turbulentMixingLengthFrequencyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
waveTransmissive
wedge
zeroGradient
)


file: /Volumes/Mac-OF-2.0.x/hoge/run/Examples/groovyBC/fillingTheDam/0/alpha1::boundaryField::rightWall from line 30 to line 34.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /Users/hoge/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 135.

FOAM exiting


As I looked into /Volumes/Mac-OF-2.0.x/hoge/platforms/darwinIntel64Gcc45DPOpt/lib,
there are only

libpythonIntegration.dylib
libsimpleFunctionObjects.dylib
libsimpleSwakFunctionObjects.dylib
libswak4FoamParsers.dylib
libswakSourceFields.dylib
libswakTopoSources.dylib

files and couldn't find

libgroovyBC.so (or libgroovyBC.dylib?)
libswakFunctionObjects.so (or libswakFunctionObjects.dylib?)

I guess "wmake all" didn't succeed. But I don't know what was wrong and what should I do.
Please give me some advice!

regard.

p.s.
As my mother tongue isn't English, please forgive grammer mistakes, if any.
Kaquesang is offline   Reply With Quote

 

Tags
mac, openfoam 2.0.x, swak4foam, warning message, wmake


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 v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[swak4Foam] Installing swak4Foam with openFoam v3.0+ RebelLion OpenFOAM Community Contributions 0 March 11, 2016 19:10
[OpenFOAM.org] Installing OpenFOAM 3.0.x on Mac OS X with Homebrew o.kotsur OpenFOAM Installation 56 February 19, 2016 16:44
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 13:00
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 21:59.