|
[Sponsors] |
May 22, 2006, 09:04 |
I have a problem to set the va
|
#1 |
Member
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17 |
I have a problem to set the values of entries, like U, epsilon and so on. No matter what kind of data I input, I am alway told that "number xxx not of correct type". So eachtime I have to refer to "nedit xxx" to type the values. Can anyone explain me how to fix this problem? Thanks in advance!
|
|
May 23, 2006, 05:04 |
This is in FoamX? Check this s
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
This is in FoamX? Check this site for LANG settings for java. (some languages use ',', some use '.' in floating point numbers)
|
|
May 23, 2006, 06:34 |
Yes, this problem took place w
|
#3 |
Member
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17 |
Yes, this problem took place when I was editting within FoamX. Even I didn't change anything but only click on the entry field, it will complain the same as I reset the value. That would be the java problem. Could you please give me more information? Thanks!
Plus I attached the complain message: e7gast@flux1 > FoamX.Exceptions.FoamXException: Number 0 not of correct type. at FoamX.Editors.DictionaryEntryEditor.EntryCache.Sca larCache.updateValue(ScalarCac he.java:172) at FoamX.Editors.DictionaryEntryEditor.DictionaryEntr yCellEditor.getCellEditorValue (DictionaryEntryCellEditor.java:131) at javax.swing.JTable.editingStopped(JTable.java:3166 ) at javax.swing.AbstractCellEditor.fireEditingStopped( AbstractCellEditor.java:124) at javax.swing.DefaultCellEditor$EditorDelegate.stopC ellEditing(DefaultCellEditor.j ava:329) at javax.swing.DefaultCellEditor.stopCellEditing(Defa ultCellEditor.java:214) at FoamX.Editors.DictionaryEntryEditor.DictionaryEntr yCellEditor.stopCellEditing(Di ctionaryEntryCellEditor.java:150) at javax.swing.JTable.editCellAt(JTable.java:2510) at javax.swing.plaf.basic.BasicTableUI$MouseInputHand ler.adjustFocusAndSelection(Ba sicTableUI.java:510) at javax.swing.plaf.basic.BasicTableUI$MouseInputHand ler.mousePressed(BasicTableUI. java:494) at java.awt.AWTEventMulticaster.mousePressed(AWTEvent Multicaster.java:222) at java.awt.Component.processMouseEvent(Component.jav a:5097) 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:3195) 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) |
|
May 25, 2006, 05:10 |
As said: Check this site for '
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
||
May 29, 2006, 03:07 |
Thanks for your tips. Yes, the
|
#5 |
Member
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17 |
Thanks for your tips. Yes, the problem originates from 'LANG', actually the language setting. Now I solved it by simply typing command "export LANG=en_EN". It works properly now. Thanks again!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ensight - node values -cell values | leo | FLUENT | 1 | May 12, 2010 08:47 |
FoamX CygWin port problem Boundary conds cannot be altered | kranenborg | OpenFOAM Pre-Processing | 0 | July 18, 2007 21:01 |
help with error: contents of kd10 altered message | Dave | Phoenics | 0 | November 29, 2006 14:58 |
node values or cell values? | aPpA | FLUENT | 0 | November 10, 2006 08:56 |
Getting Y+ values | Susanna | FLUENT | 2 | October 5, 2005 18:17 |