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

Values cannot be altered

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2006, 09:04
Default I have a problem to set the va
  #1
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
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!
tangd is offline   Reply With Quote

Old   May 23, 2006, 05:04
Default This is in FoamX? Check this s
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
This is in FoamX? Check this site for LANG settings for java. (some languages use ',', some use '.' in floating point numbers)
mattijs is offline   Reply With Quote

Old   May 23, 2006, 06:34
Default Yes, this problem took place w
  #3
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
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)
tangd is offline   Reply With Quote

Old   May 25, 2006, 05:10
Default As said: Check this site for '
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
As said: Check this site for 'LANG'

http://www.cfd-online.com/OpenFOAM_D...ages/1/77.html
mattijs is offline   Reply With Quote

Old   May 29, 2006, 03:07
Default Thanks for your tips. Yes, the
  #5
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
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!
tangd is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:56.