CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Problem running tutorials (http://www.cfd-online.com/Forums/openfoam-pre-processing/62080-problem-running-tutorials.html)

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 mpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorA ccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.sun.corba.se.internal.iiop.messages.ReplyMessa ge_1_0.getSystemException(Repl yMessage_1_0.java:87)
at com.sun.corba.se.internal.iiop.ClientResponseImpl. getSystemException(ClientRespo nseImpl.java:105)
at com.sun.corba.se.internal.corba.ClientDelegate.inv oke(ClientDelegate.java:314)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectIm pl.java:457)
at FoamXServer.CaseBrowser._ICaseBrowserStub.getCaseS erverReference(_ICaseBrowserSt ub.java:467)
at FoamX.CaseManagement.CaseBrowserPanel.getCaseServe rReference(CaseBrowserPanel.ja va:1886)
at FoamX.CaseManagement.CaseBrowserPanel.access$700(C aseBrowserPanel.java:69)
at FoamX.CaseManagement.CaseBrowserPanel$OpenCaseActi on.actionPerformed(CaseBrowser Panel.java:2222)
at FoamX.CaseManagement.CaseBrowserPanel.handleMouseO pen(CaseBrowserPanel.java:1389 )
at FoamX.CaseManagement.CaseBrowserPanel.OnMouseClick ed(CaseBrowserPanel.java:1246)
at FoamX.CaseManagement.CaseBrowserPanel.access$200(C aseBrowserPanel.java:69)
at FoamX.CaseManagement.CaseBrowserPanel$2.mouseClick ed(CaseBrowserPanel.java:1149)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:211)
at java.awt.Component.processMouseEvent(Component.jav a:5103)
at java.awt.Component.processEvent(Component.java:489 7)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3207)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128)
at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:2 01)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151 )
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)

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 /controlDict.org/ 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 03:08.