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

Patches for OpenFOAM 1.7 on MacOS X

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2011, 21:40
Default
  #101
New Member
 
Join Date: Oct 2010
Posts: 27
Rep Power: 16
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, 06:37
Default
  #102
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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


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
[blockMesh] Default patches not appearing in paraview ozzythewise OpenFOAM Meshing & Mesh Conversion 9 September 22, 2017 10:51
[snappyHexMesh] internal faces between patches created with snappyHexMesh romant OpenFOAM Meshing & Mesh Conversion 0 August 17, 2009 09:40
Courant number, patches, etc oort OpenFOAM 1 July 24, 2009 19:05
[snappyHexMesh] SnappyHexMesh large number of patches written prapanj OpenFOAM Meshing & Mesh Conversion 0 July 15, 2009 09:11
radiation patches, viewfactors beams Siemens 1 March 12, 2009 08:39


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