CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Problem running tutorials

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 22, 2008, 10:11
Default Hello World. I'm completely
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
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)
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 23, 2008, 04:40
Default Do I get this right? There is
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
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?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 23, 2008, 04:48
Default Well, some more solvers are co
  #3
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
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?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega 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
Problem in running Parallel mamaly60 OpenFOAM Running, Solving & CFD 1 April 19, 2010 11:11
Problem running FoamX ianz8802 OpenFOAM Installation 11 March 23, 2007 12:22
problem in running code yaseer Main CFD Forum 0 March 23, 2007 12:08
CFX running problem Michael CFX 4 January 26, 2007 08:40
problem running the solver chotet CFX 1 January 17, 2007 04:59


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