|
[Sponsors] |
December 22, 2004, 03:12 |
I am tyring to change the end
|
#1 |
Guest
Posts: n/a
|
I am tyring to change the endTime in controlDict of the tutorial 'cavity'. I got this message
'Number 0,5 not of correct type' I am able to change parameters with an integral value. What is the solultion of this probelm ? I am running OpenFOAM on a Pentium4-Linux-PC. Best regards Michael |
|
December 22, 2004, 03:33 |
Try writing 0.5 with a dot in
|
#2 |
Guest
Posts: n/a
|
Try writing 0.5 with a dot instead of comma
|
|
December 22, 2004, 03:40 |
I have tried it. But it doesn
|
#3 |
Guest
Posts: n/a
|
I have tried it. But it doesn't work.
Michael |
|
December 22, 2004, 03:47 |
I have tried it. But it doesn
|
#4 |
Guest
Posts: n/a
|
I have tried it. But it doesn't work.
Michael |
|
December 22, 2004, 04:34 |
I happens because you have a
|
#5 |
Guest
Posts: n/a
|
I happens because you have a german installation and java thinks, that the germans always use the "," instead of the "."
Just put the line export LANG=en_EN at the beginning of the ~/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc |
|
January 12, 2005, 13:22 |
Thank you for making FOAM ope
|
#6 |
Guest
Posts: n/a
|
Thank you for making FOAM open source.
I've got the same problem as Michael. I am using OpenFOAM-1.0.2 on Linux (Mandrake 10) The hint of Joern: #Just put the line #export LANG=en_EN #at the beginning of the #~/OpenFOAM/OpenFOAM-1.0.2/.OpenFOAM-1.0.2/bashrc didn't solve the problem so far. Thank you duderino |
|
October 30, 2006, 03:14 |
Same Problem here.
Using Ub
|
#7 |
New Member
Matthias Hoerl
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
Same Problem here.
Using Ubuntu 6.10 and OpenFOAM 1.3 it shows me the exception "Number 0,5 not of correct type" this message also appears if i type "0.5" yes the ubuntu install was made in german. is there an fix for this ?! mfg matthias |
|
October 30, 2006, 03:24 |
Didn't it work with the soluti
|
#8 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Didn't it work with the solution provided by Joern Beilke few posts above?
If it doesn't, then I suggest to skip FoamX and edit directly your controlDict file. Dragos |
|
October 30, 2006, 03:47 |
skipping FoamX would be the on
|
#9 |
New Member
Matthias Hoerl
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
skipping FoamX would be the only way - thx for answering so fast ...
|
|
October 30, 2006, 04:22 |
Matthias:
The answer to you
|
#10 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Matthias:
The answer to your question might be this: http://openfoamwiki.net/index.php/Main_FAQ#Why_doesn.27t_FoamX_allow_me_to_enter _numbers.3F
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
October 30, 2006, 13:10 |
Hi,
I happened to come acro
|
#11 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hi,
I happened to come across this discussion, and maybe I can be of a little help here....:-) I installed OpenFOAM 1.3 on Fedora Core 6 yesterday for a friend who uses a German interface. As noted by you all, when you run FoamX, Java adopts the regional setting from the Operating system to display the numbers, and you end up with...0,5 instead of 0.5. This is what I did, and it works like a charm... I opened the FoamX bash script: cd $WM_PROJECT_DIR/bin/ <editor> FoamX Once the file opens, after the comments, just before the lines: # Set default JDK path. jdkhome="/usr/java/jdk1.4" I added the following: # Set Language to English oldLang=`echo $LANG` export LANG=en_EN And, at the end of the script file, right at the bottom, I added: # Reset Language to original export LANG=$oldLang This is basically what the link which Bernhard Gschaider provided suggests too. Have a nice day! Philippose |
|
October 30, 2006, 14:42 |
ok thanx to both of you ..
|
#12 |
New Member
Matthias Hoerl
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
ok thanx to both of you ..
as you said philippose - this works like a charm thanks for sharing |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Run type type determination | grtabor | OpenFOAM Meshing & Mesh Conversion | 4 | February 23, 2007 06:05 |
renolds number-flow type | naveen | CFX | 1 | November 12, 2006 15:52 |
renolds number-flow type | naveen | CFX | 0 | November 10, 2006 09:48 |
How to hold the cell type number | Petr Nekolny | Siemens | 2 | December 3, 2004 03:25 |
Meshing by specify a type and number of node | Jackie | CFX | 5 | April 13, 2003 16:54 |