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

FoamX binaries for CygwinWindows is now available

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2007, 08:04
Default Hi, Sorry for a silly questio
  #21
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi,
Sorry for a silly question but is there any chance that you have an unintended whitespace between "source ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3" and "/bashrc" ...??

Anyway the message indicates that ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc was not executed properly but no possible reason other than that comes to me.

Takuya
7islands is offline   Reply With Quote

Old   February 7, 2007, 11:28
Default No there isn't but there is wh
  #22
liamm
Guest
 
Posts: n/a
No there isn't but there is whitespace in my username if that makes a difference, i will clear everything and restart, maybe i did something wrong along the way and i don't realise it.
Thanks for the help
Liam
  Reply With Quote

Old   February 7, 2007, 21:00
Default It was the whitespace in my wi
  #23
liamm
Guest
 
Posts: n/a
It was the whitespace in my windows user name and once i changed my home file in cygwin it worked.

However i now have a new problem i have set my ~/.bashrc so cygwin automatically loads ~/openfoam/openfoam-1.3/.openfoam-1.3/bashrc the message "FOAM install not found" showed up so i changed my ~/openfoam/openfoam-1.3/.openfoam-1.3/bashrc file to make it work but nothing i did worked. once i solved that problem a number of others popped up.

i was just wondering if i needed to change any of the names of my install directery "export WM_PROJECT_INST_DIR=$HOME/$WM_PROJECT" do i need to change "$home/" to "~/" or "home/liam/" or should it be working the way it is.

Thanks
Liam
  Reply With Quote

Old   February 8, 2007, 19:08
Default Hi, Generally you don't have
  #24
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi,
Generally you don't have to touch any of the shell scripts; they are supposed to work out-of-box if you followed the default installation procedure of cygwin. My one suspicion is that the HOME environment variable went inconsistent with your actual installation for some reason.

Takuya
7islands is offline   Reply With Quote

Old   February 24, 2007, 09:40
Default Hi Cygwin users, I am prepari
  #25
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Cygwin users,
I am preparing for a new release of FoamX-cygwin shortly. This time the porting work won't be limited to FoamX. The next release will have the following features, aiming for wiping out all the undone porting works I ever know.

Is there anything else to do, which is supposed to be resolved in a short time? If anyone noticed remaining works, please let me know. As OF 1.4 also seems to be coming shortly, and I'm getting gradually busy, I'd like to make this the final release for OF 1.3.

Changes since FoamX-cygwin-20061212:
* New: paraFoam porting by way of the native OpenFOAM reader introduced in ParaView 2.6.
* New: patchTool porting.
* New: gmshToFoam now have compatibility with .msh files generated by Windows versions of Gmsh.
* New: foamDebugSwitches porting.
* Change: The version of JDK to which JAVA_HOME variable points is updated to jdk1.6.0.

Problems which will remain unresolved:
* Csh-alike shell support will be still incomplete.
* Installing FoamX-cygwin under a directory structure which contains whitespace in its pathnames will remain supported. Yes, I know that this is causing so many problems, and fixing it won't be technically so difficult, but requires too much testing work and time for me.
7islands is offline   Reply With Quote

Old   February 27, 2007, 04:27
Default Hi Cygwin users, This is the
  #26
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Cygwin users,
This is the announcement of the third revision of FoamX-cygwin, FoamX-cygwin-20070224. Source and binary distributions are available. This time the porting work is not limited to FoamX itself. Most notable will be paraFoam porting by way of the native OpenFOAM reader introduced in ParaView 2.6. You can now launch paraFoam from both of command line and Foam Utilities -> postProcessing -> graphics -> paraFoam.

The URL:
http://oshima.eng.niigata-u.ac.jp/Op...-20070224.html

Changes since FoamX-cygwin-20061212:
* New: paraFoam porting by way of the native OpenFOAM reader introduced in ParaView 2.6. You need ParaView 2.6 (http://www.paraview.org/) to run paraFoam (Install it with default settings).
* New: patchTool porting. You need Java 3D (https://java3d.dev.java.net/) to run patchTool (Follow the installation instruction of Java 3D).
* New: gmshToFoam now have compatibility with .msh files generated by Windows versions of Gmsh.
* New: foamDebugSwitches porting.
* Change: The version of JDK to which JAVA_HOME variable points is updated to jdk1.6.0 from jdk1.5.0_10. If you'd like to use other versions, modify the JAVA_HOME line in $WM_PROJECT_DIR/.bashrc or .cshrc accordingly.

Known problems:
* Csh-alike shell support is still incomplete (just barely launches FoamX and paraFoam).
* Installing FoamX-cygwin under a directory structure which contains whitespace in its pathnames is not supported.
7islands is offline   Reply With Quote

Old   March 14, 2007, 10:03
Default generally, paraFoam works very
  #27
New Member
 
Marzio Lettich
Join Date: Mar 2009
Posts: 14
Rep Power: 17
marziolettich is on a distinguished road
generally, paraFoam works very well with Cygwin, thanks to the excellent work of Takuya Oshima. But in a particular case I got this error message:


Generic Warning: In C:\dev\ParaView26\VTK\Rendering\vtkTkRenderWidget. cxx, line 626
A TkRenderWidget is being destroyed before it associated vtkRenderWindow is destroyed.This is very bad and usually due to the order in which objects are being destroyed.Always destroy the vtkRenderWindow before destroying the user interface components.


ERROR: In C:\dev\ParaView26\GUI\Widgets\vtkKWTkUtilities.cxx , line 221
vtkPVApplication (03DBCD30):
Script:
toplevel .1710 -class {ParaView} -visual best -highlightthickness 0
Returned Error on line 1:
this isn't a Tk applicationunable to create widget ".1710"
Stack trace:
this isn't a Tk applicationunable to create widget ".1710"
while executing
"toplevel .1710 -class {ParaView} -visual best -highlightthickness 0"



ErrorMessage
# Error or warning: There was a VTK Error in file: C:\dev\ParaView26\GUI\Widgets\vtkKWTkUtilities.cxx (221)
vtkPVApplication (03DBCD30):
Script:
toplevel .1710 -class {ParaView} -visual best -highlightthickness 0
Returned Error on line 1:
this isn't a Tk applicationunable to create widget ".1710"
Stack trace:
this isn't a Tk applicationunable to create widget ".1710"
while executing
"toplevel .1710 -class {ParaView} -visual best -highlightthickness 0"

This is quite strange, as it's a very simple 2d example and I don't know what could be that cause this crash. If someone experienced something similar, please post a reply here. Thanks!
marziolettich is offline   Reply With Quote

Old   March 14, 2007, 20:49
Default Hi Marzio, Actually I'm also
  #28
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Marzio,
Actually I'm also having similar crashes especially when reading unstructured meshes even if they are
simple 2D ones (the tutorials/potentialFoam/cylinder case for example). My guess is that the ParaView OpenFoam reader code still has some works to be done, because ParaView also crashes even if such a case is read through the File menu of ParaView (not through the paraFoam script). I've been looking into the reader code when I have time but so far I have no success with it.

Terry Jordan, the writer of the nice reader code, might be able to propose some fix if you report the case in detail at the following "OpenFOAM reader in the ParaView CVS" thread:
http://www.cfd-online.com/OpenFOAM_D...es/1/3429.html

Takuya
7islands 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
OpenFOAM Windows Binaries in Sourceforge philippose OpenFOAM Installation 2 March 19, 2009 03:48
Installation using the precompiled binaries on Suse 103 pamdirac OpenFOAM Installation 1 March 9, 2009 03:05
Installation using the precompiled binaries on Suse 103 pamdirac OpenFOAM Installation 0 March 6, 2009 20:39
[OpenFOAM] ParaFOAM using binaries tj22 ParaView 3 July 11, 2006 12:19
Run FoamX ghazi OpenFOAM Pre-Processing 7 July 9, 2006 14:48


All times are GMT -4. The time now is 09:59.