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

[Other] openFoam 2.3.x for windows from cfdsupport.com

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2014, 04:19
Default
  #21
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
hi I did all the instructions you have said here. but when trying to run blockMesh.exe, this message appears:

$ blockMesh.exe
/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/blockMesh.exe: error while loading shared libraries: libgcc_s_seh-1.dll: cannot open shared object file: No such file or directory

minaret is offline   Reply With Quote

Old   November 14, 2014, 04:24
Default
  #22
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
Quote:
Originally Posted by andras View Post
1) Start "OpenFOAM-2.3.x-reg.bat" with admin rights (right click -> Run as Administrator). The install instructions from cfdsupport.com are missing this crucial step. Admin rights are needed for the registry key "HKLM\SYSTEM\CurrentControlSet\Control\SessionMana ger\kernel".

2) Don't source $WM_PROJECT_DIR/etc/bashrc in bash like you are used to for standard installations of OpenFOAM unter *NIX systems.

3) Simply run the solver (paths are searched automatically).


Cheers
Andras
hi
I said my problem in the last post...
thanks
minaret is offline   Reply With Quote

Old   November 14, 2014, 04:52
Default
  #23
New Member
 
Andras Horvath
Join Date: Mar 2009
Posts: 29
Rep Power: 17
andras is on a distinguished road
Minaret,
it seems you don't have "mingw64-x86_64-gcc-core" installed. Install this package via the Cygwin setup program and you should be fine.

Cheers
Andras
minaret likes this.
andras is offline   Reply With Quote

Old   November 14, 2014, 06:10
Default
  #24
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
Quote:
Originally Posted by andras View Post
Minaret,
it seems you don't have "mingw64-x86_64-gcc-core" installed. Install this package via the Cygwin setup program and you should be fine.

Cheers
Andras
thank you
I had missed the step.

but now after calling paraview, there is no "mesh regions" to view. (cavity example)

minaret is offline   Reply With Quote

Old   November 14, 2014, 07:39
Default
  #25
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
it seems it doesn't solve the cavity problem.
because I solved this example in linux and I can show the results here in windows, in paraview.
what is the problem?
thank you so much...
minaret is offline   Reply With Quote

Old   November 14, 2014, 10:19
Default Viewing mesh
  #26
New Member
 
Isha Schoots
Join Date: Nov 2014
Posts: 3
Rep Power: 11
schootsi is on a distinguished road
Thanks for the fix Andras! I still don't understand why paraFoam itself doesn't work, but I can view the result in paraview now.

I can't view the mesh before running the solver in the same way though. Do you know a way to do that as well by any chance?

Thanks a lot!

Edit: Nvm, it does work for the mesh as well, I didn't apply the properties for the mesh just now.
schootsi is offline   Reply With Quote

Old   November 16, 2014, 04:25
Default paraview still won't work from bash?
  #27
New Member
 
Join Date: Nov 2014
Posts: 1
Rep Power: 0
wisethinker is on a distinguished road
Quote:
Originally Posted by andras View Post
In your case directory:

$ touch .foam

$ paraview .foam


Cheers
Andras
hi, I am new to openfoam.
After trying all the steps mentioned in the previous posts,
I am still having some problems launching paraview .foam from the bash command,
any idea how to solve this?
Other OS are required to modify their bashrc,
but not sure what I should add there in windows one... thanks for the help
wisethinker is offline   Reply With Quote

Old   November 28, 2014, 16:41
Default Post processing
  #28
New Member
 
Jan C. Kragbæk
Join Date: Nov 2014
Posts: 1
Rep Power: 0
JanK is on a distinguished road
Hi guys
I'm a new OpenFoam user, and I have followed the installation for windows. I'm now following the cavity tutorial in OpenFoam. Mesh generates without problems, and the solution seem to compile. But I can't see any results in paraview. All I can see is the geometry. No colors.
I'm launching paraview by typing :

touch .foam

paraview .foam

Any ideas?

Thanks.
JanK is offline   Reply With Quote

Old   December 1, 2014, 07:58
Default
  #29
New Member
 
matel foz
Join Date: Dec 2014
Posts: 2
Rep Power: 0
saucisse volante is on a distinguished road
[Solved]

Hi,
trying to install openfoam, I get this error msg, at the step 1 of level 1 (installing vcredist_x86.exe) :

"A newer version of Microsoft Visual C ++ 2010 Redistributable has been detected on this computer."

Is somebody had the same problem ?

Last edited by saucisse volante; December 9, 2014 at 10:25.
saucisse volante is offline   Reply With Quote

Old   December 9, 2014, 03:13
Default
  #30
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi,

i have a problem similar to janK/Wisethinker. Everything is perfect except for paraview. When i type paraview .foam or paraview.exe .foam cygwin says command not found..

I have paraview installed and tested it by manually opening paraview from start menu and loaded the .foam file..The results are perfect. The environmental variable is present as shown below

C:\Program Files (x86)\ParaView 4.1.0\bin;C:\cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin;C:\cygwin64\opt\OpenFOAM\OpenFOAM-2.3.x\platforms\cygwin64mingw-w64DPOpt\lib;C:\cygwin64\opt\OpenFOAM\OpenFOAM-2.3.x\platforms\cygwin64mingw-w64DPOpt\bin;C:\Program Files\Microsoft MPI\Bin;


i had followed these steps

http://www.cfdsupport.com/install-op...r-windows.html

If anybody could throw some light it would of great help..Thanks in advance

Ananthakrishnan
Ananthakrishnan is offline   Reply With Quote

Old   December 9, 2014, 10:24
Default
  #31
New Member
 
matel foz
Join Date: Dec 2014
Posts: 2
Rep Power: 0
saucisse volante is on a distinguished road
Hi,

I succeeded to install OpenFOAM, until the step 4-5 of this page
http://www.cfdsupport.com/install-op...r-windows.html

But when I launch the BlockMesh.exe, to test with the icofoam/cavity example, I get a " bash : BlockMesh.exe : command not found." (I translate the french msg)

What is wrong ?
I guess that the problem comes from OpenFOAM-2.3.x-reg.bat, yet, the folder
C:\cygwin\opt\OpenFOAM\OpenFOAM-2.3.x\platforms\cygwin64mingw-w64DPOpt\bin;
containing the BlockMesh.exe is defined in the PATH line of the regedit file.

Thanks for your help.
saucisse volante is offline   Reply With Quote

Old   December 15, 2014, 10:44
Default How to compile new codes in OpenFOAM on Windows
  #32
New Member
 
Lee
Join Date: Oct 2011
Posts: 15
Rep Power: 14
SKLee is on a distinguished road
Hi all,

Someone can tell me the steps to compile new codes in OpenFOAM on windows.
If there is an example is perfect for this.

In Linux we can do this easy with command: wmake.

Thanks,

SKLee
SKLee is offline   Reply With Quote

Old   February 2, 2015, 02:19
Default
  #33
New Member
 
Jafar Ali
Join Date: Jan 2015
Posts: 1
Rep Power: 0
phantom_jj80 is on a distinguished road
Hi friends,
I have installed openfoam using instructions from http://www.cfdsupport.com/install-op...r-windows.html
The blockmesh and icofoam command ran properly but parafoam command is not found. Is there something missing in the steps. Or I need to cross compile paraview with Cmake.

------------------

icofoam and blockmesh runs but not parafoam..I think there is problem while cross compiling of paraview.

Last edited by wyldckat; February 2, 2015 at 15:29. Reason: merged posts, which were posted a few minutes apart
phantom_jj80 is offline   Reply With Quote

Old   February 5, 2015, 09:57
Exclamation openFOAM on WIndows (blockMesh: command not found)
  #34
Member
 
shashank moghe
Join Date: Feb 2015
Posts: 32
Rep Power: 11
smog is on a distinguished road
I have taken the cross compiler route and installed the binaries for openFOAM on windows with Cygwin64 installed as the cross compilation platform. At a certain stage, during the course of running the icoFoam cavity tutorial, when I write the blockMesh command, this error pops up:

-bash: blockMesh: command not found

Is there something wrong that I am doing? Have you ever come across anything like this (I really hope you did)?

P.S: Please neglect my lack of knowledge, I am new to Linux programming and cannot really dual boot Ubuntu with my Windows7.
smog is offline   Reply With Quote

Old   February 5, 2015, 12:01
Default
  #35
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
I can't help you with your problem but it seems that blockMesh is not recognized...what about other openfoam commands? do they work?

on the other side, why don't you try to boot from an usb key with ubuntu? There are some linux distro with openfoam already installed in it, you can try a live cd or a usb key with them, avoiding possible problems with w7 and cygwin
Blanco is offline   Reply With Quote

Old   February 5, 2015, 12:07
Default
  #36
Member
 
shashank moghe
Join Date: Feb 2015
Posts: 32
Rep Power: 11
smog is on a distinguished road
Quote:
Originally Posted by Blanco View Post
I can't help you with your problem but it seems that blockMesh is not recognized...what about other openfoam commands? do they work?

on the other side, why don't you try to boot from an usb key with ubuntu? There are some linux distro with openfoam already installed in it, you can try a live cd or a usb key with them, avoiding possible problems with w7 and cygwin
I must say that none of the openFOAM commands are recognized. I think you had a key point there - booting from a live cd/usb.
smog is offline   Reply With Quote

Old   February 18, 2015, 01:54
Default OpenFOAM Problem with mpirun and foamJob
  #37
New Member
 
igor
Join Date: Jun 2014
Posts: 7
Rep Power: 11
iiigoriii is on a distinguished road
Hello all OpenFOAM users.

I started with OpenFOAM one week ago. I use version from www.cfdsupport.com, on win7 x64. Everything was OK, but now i first time try to use parallel computation and i have following errors:
-----------------------------------
blockMesh [passed without errors]
surfaceFeatureExtract [passed without errors]
decomposePar [passed without errors]
mpirun -np 4 snappyHexMesh -overwrite -parallel

Sorry! You were supposed to get help abou: orterun:exe-not-found
....
-----------------------------------

In some forum post i found another command: foamJob, but for this command:
foamJob
-bash:foamJob:command not found
_____________________

without problems works: blockMesh, snappyHexMesh, simpleFoam (and other solvers). Please, have somebody idea, what is problem?

Thanks for all reactions, best regards, ii
iiigoriii is offline   Reply With Quote

Old   February 18, 2015, 14:53
Default
  #38
New Member
 
igor
Join Date: Jun 2014
Posts: 7
Rep Power: 11
iiigoriii is on a distinguished road
Ok, this topic can be locked.

I also sent this question to www.cfdsupport.com (their support ) at evening, and during 20 minutes i had answer with email.

So, for win version from www.cfdsupport.com, parallel computing is doing with:

Code:
mpiexec.exe -n 4 simpleFoam.exe -parallel
for parallel solving.

So, thanks to cfdsupport, BR, i
iiigoriii is offline   Reply With Quote

Old   March 21, 2015, 09:20
Default installing openfoam for windows (from cfd support)
  #39
New Member
 
andy huggon
Join Date: Mar 2015
Posts: 1
Rep Power: 0
a huggon is on a distinguished road
hi,

can anyone help with how to install openfoam for windows from cfd support?

i followed the steps, but got stuck on two things....

1) in part 3 'Install Cygwin64 (optional)' i didn't understand step 4 - 'choose following linux packages:
mingw64-x86_64-gcc-g++ mingw64-x86_64-zlib mc
you can also choose your favorite linux packages'

when i ran the cgwin64 installer i didn't see anything that looked like that.... but seemed like a needle in a haystack

so i just let it install what it wanted to

2) when i came to do step 4 'Install test & first case run (optional)'

I did all the other steps, but the exe's (eg. blockmesh.exe) don't seem to exist anywhere?

has somethign gone wrong with the installation of openfoam itself?

manythanks,

Andy
a huggon is offline   Reply With Quote

Old   April 10, 2015, 06:07
Default
  #40
New Member
 
Join Date: Apr 2015
Posts: 4
Rep Power: 11
LassiL is on a distinguished road
Quote:
Originally Posted by a huggon View Post
hi,

1) in part 3 'Install Cygwin64 (optional)' i didn't understand step 4 - 'choose following linux packages:
mingw64-x86_64-gcc-g++ mingw64-x86_64-zlib mc
you can also choose your favorite linux packages'

when i ran the cgwin64 installer i didn't see anything that looked like that.... but seemed like a needle in a haystack

Andy
Even though I wasn't able to finish the installing I suggest you to use the search tool in the haystack.

Greetings from Finland!
LassiL is offline   Reply With Quote

Reply

Tags
openfoam, windows


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM.org] OpenFOAM 2.3.x for Mac at GitHub ajmas OpenFOAM Installation 2 April 20, 2015 16:23
[OpenFOAM.org] Installing OpenFOAM 2.3.x on Ubuntu 14.04 samiam1000 OpenFOAM Installation 4 January 26, 2015 02:44


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