|
[Sponsors] |
[OpenFOAM.com] 3.0+ for Windows - no shell prompt |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
Hi,
I am wondering if anyone has had any success with installing ESI's OpenFOAM for Windows. I got it installed and when I started the OpenFOAM_start program, I got a registry editor error. Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\M icrosoft\PowerShell\1\ShellIds\Microsoft.PowerShel l' is denied. As it turns out, the advice on this http://answers.microsoft.com/en-us/w...9b31bf5?auth=1 page is good. I just edited the registry and the error went away. Now, I get a green "Welcome to the OpenFOAM Windows Version (v3.0+) A bash shell will appear with OpenFOAM environment set. ******************************** I never get a bash shell. Does anyone know how to fix this? Thanks, Chris |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
All, there is a PDF in C:\Program Files (x86)\ESI\OpenFOAM\v3.0+\Documents called OF_Windows_Guide.pdf. It provides essential information for installation. For example, I needed to enable hardware virtualization in my BIOS. That, by the way, is found under Security->System for this AMD processor I have.
So far so good. I have a icoFoam -help working. I don't know where the examples are yet, but I have also not finished reading that PDF. At least OpenFOAM is installed. Thanks for all who viewed. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 7 ![]() |
Hi Fisichel,
do you mind to share more about how do you edit the register and making the error go away? i tried to read through the link you provide and doesn't get me any where. appreciate your help! Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
Hi,
Sure, You need to use the program regedit. It's part of windows. In that link, it should provide a directory path to go to. Then they have you loosen the permissions. Does this help? I'm not quite sure where you are stuck, Best, Chris |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 7 ![]() |
yes, i managed to get rid of the big red error msg and every thing seem running fine now! thanks Fisichel!
did you go any further from here? i tried to run the tutorial and i manage to get the Icofoam work however i'm having hard time to locate all the boundary condition file, and mesh files etc. the "OF_Windows_Guide.pdf" mentioned that the ‘cd /home/ofuser/workingDir’ is correspond to C:\Users\UserName. but i couldn't find any openfoam related file over there other than bootdocker files and some associated VM files. ![]() without knowing where those case files located i can't change the parameters in the file as well as reading the result with paraview. ![]() Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
Hi Max,
If you have the command window, it has the black screen. Then, you should be able to press the enter key and get a prompt: $ The first thing I do is $cd workingDir $ls that listing should correspond to c:\users\<your login> You can copy most of the examples that are located at $FOAM_TUTORIALS to this workingDir, then you can use Notepad++ to edit the case directories. To execute the Allrun script that is every example, you need to be in the shell. A typical job starts like this for me: $./Allrun <enter> Then, I use Notepad++ to look at all the log files that are generated. confused about ./Allrun? Don't try to use icoFoam directly unless you are working with the cavity example that is part of the OpenFOAM users guide. Best, Chris |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 7 ![]() |
Hi Chris,
I see! thank you so much! I tried to cp $FOAM_TUTORIALS workingDir. after it throw me some error in the command line, and I saw some files appear in the folder (Finally!!) Do you do it this way too? or what is your recommendation? ![]() did you installed paraview (for window) and get it to work also? yes, i'm trying to going through the cavity tutorial but after i done the icoFoam i do not know what should i do from there inorder to make it display in paraview. sign. Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
Hi Max
Try: $ cp -r $FOAM_TUTORIALS/ ~/workingDir/ If that works, try $ cd workingDir/tutorials $ cd incompressible $ cd icoFOAM $ cd elbow $./Allrun You'll see the cavity examples in the icoFOAM directory. I'm suggesting you go to the elblow example, because all you need to type is ./Allrun. As for Paraview, I do install Paraview for windows, but it does not work all the time. Of the four machines I have tried it on, it only works on two of them. I hope it works for you, since this is your first time. Best, Chris |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 7 ![]() |
Thanks Chris,
I follow the step that you gave me it throw me the same error too (see the attached picture) I look it around and found this commend allow me to "export" the file to .foam file elbow]$ touch filename.foam. however, i could only manage to display the mesh (model shape) but couldn't display the P and U value. ![]() |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
That's what I meant when I wrote most of the tutorial can be run in the workingDir.
The case study that is affected is for heat transfer. Your elbow case should be unaffected. Did you run ./Allrun in the elbow directory and wait? |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 7 ![]() |
Hi Chris,
yes, i got the elbow case to work also I think i get the paraview to work!! thanks to Hữu Trọng Lương https://www.youtube.com/watch?v=LJNyUiDTVjU so excited now!! |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
Chris Fisichella
Join Date: Oct 2012
Posts: 28
Rep Power: 11 ![]() |
Great! Have fun!
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shell conduction on pipe wall | Tal Eluk | FLUENT | 3 | May 31, 2018 06:19 |
[ICEM] .stl file shell to solid part | emily.imdieke | ANSYS Meshing & Geometry | 15 | August 21, 2013 02:27 |
problem in running icoFoam | Alucard | OpenFOAM | 2 | March 17, 2012 09:01 |
shell conduction | ezabille | FLUENT | 2 | December 15, 2010 17:42 |
shell conduction @ thin walls | Jiri Beran | FLUENT | 0 | May 18, 2008 14:08 |