CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Problem running tutorials (

sega March 22, 2008 10:11

Hello World. I'm completely
Hello World.

I'm completely new to OpenFOAM and Linux as well. I will do some study research with OpenFOAM and I'm now getting into OpenFOAM by running the first tutorials.

But there is my first problem.
When I'm opening the icoFoam - cavity problem with FoamX I get this strange error message.
What is the problem and how can I solve it?

Caught FoamXIOError exception in FoamXCaseServer::main(int argc, char **argv) :
FoamXIOError "Cannot open included file \"/home/sega/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/FoamX/dictionaries/con trolDict/controlDict.cfg\" while reading dictionary"
File "/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/solvers/incompressible/icoFoam/ FoamX/icoFoam.cfg" starting at line 13 ending at line -1
In function "dictionary::read(Istream&, const word&)"
in file "db/dictionary/dictionaryIO.C" at line 84
Finishing FoamXCaseServer::main(int argc, char **argv)
org.omg.CORBA.UNKNOWN: vmcid: OMG minor code: 1 completed: Maybe
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorI
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorA
at java.lang.reflect.Constructor.newInstance(Construc
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at ge_1_0.getSystemException(Repl
at getSystemException(ClientRespo
at oke(
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectIm
at FoamXServer.CaseBrowser._ICaseBrowserStub.getCaseS erverReference(_ICaseBrowserSt
at FoamX.CaseManagement.CaseBrowserPanel.getCaseServe rReference(CaseBrowserPanel.ja va:1886)
at FoamX.CaseManagement.CaseBrowserPanel.access$700(C
at FoamX.CaseManagement.CaseBrowserPanel$OpenCaseActi on.actionPerformed(CaseBrowser
at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen( )
at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(
at FoamX.CaseManagement.CaseBrowserPanel.access$200(C
at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent
at java.awt.Component.processMouseEvent(Component.jav a:5103)
at java.awt.Component.processEvent( 7)
at java.awt.Container.processEvent( 9)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Component.dispatchEvent( 77)
at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(C
at java.awt.LightweightDispatcher.dispatchEvent(Conta
at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
at java.awt.Window.dispatchEventImpl( )
at java.awt.Component.dispatchEvent( 77)
at java.awt.EventQueue.dispatchEvent( 456)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy( 01)
at java.awt.EventDispatchThread.pumpEventsForHierarch y( )
at java.awt.EventDispatchThread.pumpEvents(EventDispa
at java.awt.EventDispatchThread.pumpEvents(EventDispa

sega March 23, 2008 04:40

Do I get this right? There is
Do I get this right?
There is a problem with this file:
/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/solvers/incompressible/icoFoam/ FoamX/icoFoam.cfg
starting at line 13 ending at line -1

In this file I can find the following entry at line 13:

include "$FOAMX_CONFIG/dictionaries/controlDict/controlDict.cfg";

As I have looked up, there is no such directory.
The directory is called / instead of /controlDict/ ...

After chaning this entry the case seems to work.

But what went wrong?

sega March 23, 2008 04:48

Well, some more solvers are co
Well, some more solvers are connected to the wrong directory.

I have opended some more cfg-files.

Did I do something wrong with the installation?

All times are GMT -4. The time now is 02:07.