|
[Sponsors] |
October 2, 2006, 19:07 |
Hello, I compiled OpenFOAM-1.3
|
#1 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
Hello, I compiled OpenFOAM-1.3 and succeeded in finishing it without error.
But when I edit the parameters with compound editor of Edit Dictionary in blockMesh, error window 'org.omg.CORBA.BAD_OPERATION' appears and following error messages are written in the terminal window. This error does not occur in all compound editors. (They seems to work correctly in most other compound editors.) My enviroment is as follows gcc 4.1.1 JDK j2sdk1.4.2_05(download from OF site) Where should I correct to work them properly? Tomohiro ----- Error messages ----- org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No at com.sun.corba.se.internal.corba.AnyImpl.extract_do uble(AnyImpl.java:759) at FoamX.Util.FoamXAny.anyToString(FoamXAny.java:298) at FoamX.Util.FoamXAny.toString(FoamXAny.java:68) at FoamX.Editors.DictionaryEntryEditor.EntryCache.Dic tionaryEntryCache.toString(Dic tionaryEntryCache.java:418) at javax.swing.table.DefaultTableCellRenderer.setValu e(DefaultTableCellRenderer.jav a:249) at javax.swing.table.DefaultTableCellRenderer.getTabl eCellRendererComponent(Default TableCellRenderer.java:160) at FoamX.Editors.DictionaryEntryEditor.DictionaryEntr yCellRenderer.getTableCellRend ererComponent(DictionaryEntryCellRenderer.java:88) at javax.swing.JTable.prepareRenderer(JTable.java:373 1) at javax.swing.plaf.basic.BasicTableUI.paintCell(Basi cTableUI.java:1149) at javax.swing.plaf.basic.BasicTableUI.paintCells(Bas icTableUI.java:1051) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTab leUI.java:974) at javax.swing.plaf.ComponentUI.update(ComponentUI.ja va:142) at javax.swing.JComponent.paintComponent(JComponent.j ava:541) at javax.swing.JComponent.paint(JComponent.java:808) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JViewport.paint(JViewport.java:722) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JLayeredPane.paint(JLayeredPane.java:5 57) at javax.swing.JComponent.paintChildren(JComponent.ja va:647) at javax.swing.JComponent.paintWithOffscreenBuffer(JC omponent.java:4794) at javax.swing.JComponent.paintDoubleBuffered(JCompon ent.java:4740) at javax.swing.JComponent.paint(JComponent.java:798) at java.awt.GraphicsCallback$PaintCallback.run(Graphi csCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGra phicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraph icsCallback.java:97) at java.awt.Container.paint(Container.java:1312) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.motif.MComponentPeer.handleEvent(MComponen tPeer.java:405) at java.awt.Component.dispatchEventImpl(Component.jav a:3678) at java.awt.Container.dispatchEventImpl(Container.jav a:1627) 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.pumpEventsForHierarch y(EventDispatchThread.java:141 ) at java.awt.Dialog$1.run(Dialog.java:540) at java.awt.Dialog.show(Dialog.java:561) at FoamX.Util.RunPanel.editDictButton_ActionPerformed (RunPanel.java:794) at FoamX.Util.RunPanel.access$100(RunPanel.java:55) at FoamX.Util.RunPanel$2.actionPerformed(RunPanel.jav a:416) at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.act ionPerformed(AbstractButton.ja va:1839) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.jav a:245) at java.awt.Component.processMouseEvent(Component.jav a:5100) 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:3198) 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) |
|
October 4, 2006, 04:26 |
Can you specify exactly what y
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Can you specify exactly what you were editing? So case, dictionary (blockMeshDict?) and which field, what value etc. Could be some editing operation is not implemented or the FoamX setup is not correct for the dictionary.
|
|
October 11, 2006, 13:12 |
I'm sorry for the late reply.
|
#3 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
I'm sorry for the late reply.
As long as I checked, this error occurs in blockMesh of any case (including icoFoam). but when I click the 'Edit Dictionary' buttom in the other Foam utilities, compound editor opens properly and works without any problem. As for editing data, I don't edit any values, which are just copied form the OpenFOAM's source directory. And the result of excuting the blockMesh itself has no problem. (unless clicking the 'Edit dictionary' button, it breaks the data file) Ayway, what the meaning of the top line of the error log? >org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No |
|
October 12, 2006, 13:24 |
I can edit blockMeshDict fine.
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I can edit blockMeshDict fine. Can you check the blockMeshDict with an editor? Remove the 'arguments' entry and try again.
|
|
October 13, 2006, 10:52 |
Thank you for your reply.
I c
|
#5 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
Thank you for your reply.
I can edit blockMeshDict fine as well. Comparing to the pre-compiled version, if the case works properly in the precompiled FoamX, the above error occurs in my self-compiled FoamX. And, as I wrote previously, the result of excuting the blockMesh itself has no problem even in my self-compiled version. the produced mesh data works properly. My problem seems to be related just to the GUI. |
|
December 15, 2006, 09:22 |
:
Finally, I have succeeded
|
#6 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
[Self-reply]:
Finally, I have succeeded in making FoamX work correctly. In my environment, the following command at L298 in FoamXAnyjava cause the error. test = format(fxAny_.value.extract_double()); By changing the precision from SP to DP. FoamX works without problem. Though I don't know whether it is the bug or the special issue which happens only in my case, I submit this result and my environment, since this may help others... My environment: CPU: AthlonXP-1800 Mem: 1GB Distribution: Gentoo kernel:2.6.19 gcc: 4.1.1(4.1.1-r3) glibc:2.5 flex:2.5.4a zlib:1.2.3 |
|
December 15, 2006, 09:25 |
:
Finally, I have succeeded
|
#7 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
[Self-reply]:
Finally, I have succeeded in making FoamX work correctly. In my environment, the following command at L298 in FoamXAnyjava cause the error. test = format(fxAny_.value.extract_double()); By changing the precision from SP to DP, FoamX works without problem. Though I don't know whether it is the bug or the special issue which happens only in my case, I submit this result and my environment, since this may help others... My environment: CPU: AthlonXP-1800 Mem: 1GB Distribution: Gentoo kernel:2.6.19 gcc: 4.1.1(4.1.1-r3) glibc:2.5 flex:2.5.4a zlib:1.2.3 |
|
December 15, 2006, 14:08 |
I do not understand. What did
|
#8 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I do not understand. What did you change? Any Java?
Or were you using the single precision OpenFOAM version and inputting a number which does not fit into single precision? |
|
December 16, 2006, 21:44 |
I did not change any setting a
|
#9 |
New Member
Tomohiro Bessho
Join Date: Mar 2009
Location: Kyoto, Kyoto, Japan
Posts: 7
Rep Power: 17 |
I did not change any setting about Java, at least after I succeed in making FoamX work properly.
And what I use to test is a tutorial case without any change. I confirmed the effect of DP <-> SP setting as shown below: 0. (some modifications to avoid compile errors...) 1. compile in DP : O.K. 2. wcleanAll 3. change WM_PRECISION_OPTION from DP to SP 4. source XXX/.OpenFOAM-1.3/bashrc 5. ./Allwmake 6. compile 7. cp XXX/OpenFOAM-1.3/tutorials/* ${HOME}/OpenFOAM /root-1.3/run/tutorials/ -rf 8. TEST : N.G.(org.omg.CORBA.BAD_OPERATION) 9. wcleanAll 10. change WM_PRECISION_OPTION from SP to DP 11. source XXX/.OpenFOAM-1.3/bashrc 12. ./Allwmake 13. compile 14. cp XXX/OpenFOAM-1.3/tutorials/* ${HOME}/OpenFOAM /root-1.3/run/tutorials/ -rf 15. TEST : O.K. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wiki Editor | Harish | CFD-Wiki | 3 | April 14, 2008 18:26 |
CFX pre command editor error | Neser25 | CFX | 2 | October 25, 2005 11:40 |
Expression Editor | Meri | CFX | 1 | June 9, 2004 17:35 |
Command editor | Andrea | CFX | 2 | May 23, 2004 02:00 |
command editor | Atit Koonsrisuk | CFX | 2 | January 13, 2004 04:44 |