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

Patches for OpenFOAM 1.7 on MacOS X

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2011, 20:40
Default
  #101
New Member
 
Join Date: Oct 2010
Posts: 27
Rep Power: 6
albem is on a distinguished road
Hi

I have installed OpenFOAM-1.6-ext on my Mac, I could compile conjugateHeatFoam solver but when I ran it I got

--> FOAM FATAL ERROR:
Attempt to cast type wall to type lduInterface

From function refCast<To>(From&)
in file /Users/hjasak/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/typeInfo.H at line 115.


It is strange to me because the directory /Users/hjasak/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude

does not exist in my Mac

I have observed that in my

conjugateCavity/constant/solid/polyMesh/boundary file

I have

FoamFile
{
version 2.0;
format ascii;

root "/home/hjasak/OpenFOAM/hjasak-1.3/run/coupledMatrix";
case "heatedBlock";
instance "constant";
local "polyMesh";

class polyBoundaryMesh;
object boundary;
}

I don't know what I could write in root, Should I write the directory where coupledMatrix is located or the directory where my heatedBlock directory is located?

Any help is welcome

Alberto
albem is offline   Reply With Quote

Old   September 21, 2011, 05:37
Default
  #102
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by albem View Post
Hi

I have installed OpenFOAM-1.6-ext on my Mac, I could compile conjugateHeatFoam solver but when I ran it I got

--> FOAM FATAL ERROR:
Attempt to cast type wall to type lduInterface

From function refCast<To>(From&)
in file /Users/hjasak/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/typeInfo.H at line 115.


It is strange to me because the directory /Users/hjasak/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude

does not exist in my Mac

I have observed that in my

conjugateCavity/constant/solid/polyMesh/boundary file

I have

FoamFile
{
version 2.0;
format ascii;

root "/home/hjasak/OpenFOAM/hjasak-1.3/run/coupledMatrix";
case "heatedBlock";
instance "constant";
local "polyMesh";

class polyBoundaryMesh;
object boundary;
}

I don't know what I could write in root, Should I write the directory where coupledMatrix is located or the directory where my heatedBlock directory is located?

Any help is welcome

Alberto
The paths you are refering to are inserted into the binaries during compilation. If you compile OF yourself they will point to places you know

About the actual problem. This is not Mac-specific but a general problem (I'd propose you move to another thread. One about conjugateFoam). Have you run the tutorial using the Allrun-script? Because that does some manipulations that might fix you problem
gschaider 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
Default patches not appearing in paraview ozzythewise OpenFOAM Native Meshers: blockMesh 6 January 31, 2011 10:41
internal faces between patches created with snappyHexMesh romant OpenFOAM Mesh Utilities 0 August 17, 2009 08:40
Courant number, patches, etc oort OpenFOAM 1 July 24, 2009 18:05
SnappyHexMesh large number of patches written prapanj OpenFOAM Mesh Utilities 0 July 15, 2009 08:11
radiation patches, viewfactors beams CD-adapco 1 March 12, 2009 08:39


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