CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [Other] openFoam 2.3.x for windows from cfdsupport.com (https://www.cfd-online.com/Forums/openfoam-installation/139159-openfoam-2-3-x-windows-cfdsupport-com.html)

minaret November 14, 2014 04:19

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 November 14, 2014 04:24

Quote:

Originally Posted by andras (Post 518802)
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

andras November 14, 2014 04:52

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 November 14, 2014 06:10

Quote:

Originally Posted by andras (Post 519135)
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)

http://i59.tinypic.com/t99mhj.png

minaret November 14, 2014 07:39

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...

schootsi November 14, 2014 10:19

Viewing mesh
 
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.

wisethinker November 16, 2014 04:25

paraview still won't work from bash?
 
Quote:

Originally Posted by andras (Post 518810)
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

JanK November 28, 2014 16:41

Post processing
 
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.

saucisse volante December 1, 2014 07:58

[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 ?

Ananthakrishnan December 9, 2014 03:13

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

saucisse volante December 9, 2014 10:24

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.

SKLee December 15, 2014 10:44

How to compile new codes in OpenFOAM on Windows
 
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

phantom_jj80 February 2, 2015 02:19

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.

smog February 5, 2015 09:57

openFOAM on WIndows (blockMesh: command not found)
 
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.

Blanco February 5, 2015 12:01

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

smog February 5, 2015 12:07

Quote:

Originally Posted by Blanco (Post 530587)
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.

iiigoriii February 18, 2015 01:54

OpenFOAM Problem with mpirun and foamJob
 
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 February 18, 2015 14:53

Ok, this topic can be locked.

I also sent this question to www.cfdsupport.com (their support :) ) at evening, and during 20 minutes :eek: 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

a huggon March 21, 2015 09:20

installing openfoam for windows (from cfd support)
 
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

LassiL April 10, 2015 06:07

Quote:

Originally Posted by a huggon (Post 537563)
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! ;)


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