Comments (10)
Hi Mostapha.
This is a very standard error for parafoam even in Linux.
I have found a couple of ways to go around it.
- You follow the advise of the parafoam wiki page (unfortunately, not sure they will work on windows). I believe the problem lies on a well known error in the vtkXOpenGLRenderWindow.cxx file that comes with paraview. The usual fix lies in step 9 of this link: https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.4.0/Ubuntu#Ubuntu_14.04 Again, not sure it helps as this is for Linux.
- Another solution is for you to try the builtin parafoam by typing the command: paraFoam -builtin. This usually works but will never open the latest version (I believe in current OF it uses 4.0.4).
- You can install paraview as a separate program and then open the .foam files manually. From my experience lately it seems that paraview 4.4 is able to recognise OF case folders and always finds (creates?) the .foam file. This solution seems crude but it's the only way I know that will let you use the latest (v4.4) paraview which is MUCH different and quite improved.
Let me know if this helped.
Kind regards,
Theodore.
from butterfly.
Hi Theodore, Thank you for the reply.
I think option 1 is not applicable to Windows. I tried Option 2 and it at least tells me where it is looking for ParaView: /opt/OpenFOAM/OpenFOAM-2.4.0/bin/paraFoam: line 265: paraview: command not found
but the issue is that I couldn't find a way to copy the files to that folder on VM. Maybe I should give it another try once I feel more fresh. Option 3 works though and that's what I'm using for now. Eventually we need to figure it out but for now it doesn't stop us from the development.
from butterfly.
I think it's not supposed to work on Windows version based on the README.txt file:
Postprocessing :
i) To do the postprocessing, user need to install paraview seprately as mentioned in starting of README file.
ii)Once user has completed the simulation, a file with suffix (.foam) like "casename.foam" has to be created inside the case. User can create file by using command 'touch a.foam' inside case folder.
iii)User can launch Paraview and browse inside folder and open the file with suffix (.foam i.e as a.foam ) to visualize case.
from butterfly.
Hmm that is weird cause my paraFoam command works on Windows. Windows or Linux, this exact same error is quite popular and I've still not really understood why it works on some and not on other pcs. If you can compile in Windows (really not sure), you can try compiling parafoam. Other than that, the new paraview is kinda sweet :)
from butterfly.
@TheodoreGalanos does it work for you in Windows from the command line in VM? I can run it from Windows cmd but the question is how to run it from inside VM:
from butterfly.
Oh, I now understand. I've only tried it with the command window that comes with OF. And yes that is exactly the error one sees so often. I currently have it on half my Linux computers at work, working perfectly on other half. Re-compiling, like the error says, did help me on occasion. But that message is obviously ported directly from Linux, not sure it would work on Windows.
Maybe we can try on cfd-direct.
from butterfly.
For what it's worth, I've used Theodores workaround in a few cases where I
didn't have access to the paraFoam command and it worked fine, although
there was some slight loss of functionality regarding what pieces of the
mesh you can select. I don't remember exactly what that was right now.
Does the command "paraview" do anything in the VM? I'm guessing not...
On Tue, Nov 3, 2015 at 2:15 PM, TheodoreGalanos [email protected]
wrote:
Oh, I now understand. I've only tried it with the command window that
comes with OF.—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from butterfly.
@mostaphaRoudsari have you solved this problem?? I have met the same question.
from butterfly.
@chpjz0391 not yet!
from butterfly.
_How can I post process the results from OpenFOAM? I am unable to launch Paraview/ParaFoam from terminal?_
You will need to install ParaView for Windows separately from ParaView. Create a file with the suffix ”.foam” e.g. type the command ”touch a.foam” in your case folder. Launch ParaView and browse the case folder. Open the file with suffix ”.foam” to start the post processing.
from here: http://www.openfoam.com/download/install-windows.php
from butterfly.
Related Issues (20)
- blockmesh :1.solution exception:windowserror. Who can help me!!! HOT 4
- Solution exception: WindowsError HOT 2
- Running time for Butterfly HOT 3
- Runtime error (UnauthorizedAccessException): Access to the path is denied
- butterfly doesn't seem to wake up blueCFD HOT 1
- Butterfly, Rhino, and BlueCore2020? HOT 6
- 1. Solution exception:WindowsError (wind analysis)
- Butterfly BlueCFD Installation. Followed instructions for both but still receiving error '1. Solution exception: Failed to import butterfly: No module named butterfly_grasshopper.timer'
- Blockmesh Component Error HOT 2
- Blockmesh Component Error HOT 2
- SnappyHexMesh Failed!
- 1. Solution exception:'"C:\Program Files\blueCFD-Core-2020\setvars.bat"' is not recognized as an internal or external command, operable program or batch file HOT 1
- Deleted
- Solution exception:Failed to find points file at C:\Users\An'd's\butterfly\outdoor_airflow\constant\polyMesh
- help,butterfly block mesh is warning HOT 4
- AddLayers output empty with True input in SnappyHexMesh HOT 2
- Moving or dynamic mesh
- Butterfly Python API documentation link broken.
- Butterfly Help WindowsError HOT 2
- Butterfly installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butterfly.