![]() |
Review of OpenFOAM: free CFD
1 Attachment(s)
OpenFOAM has been mentioned once or twice in this forum before, but it hasn't been given a fair shake. It is a rather general-purpose open-source numerical solver, with capabilities ranging from chemical reactions (think ICE cumbustion simulation) to 3d wind-tunnel CFD.
I think the short story is that it works and it's free; it's just a much steeper learning curve than commercial CFD packages that have GUI's. Here is a screen-shot. I ran a tutorial which imported a 3d model of this motorbike and ran a (computationally simplistic - probably inaccurate - in this case) wind-tunnel CFD. Then I opened it in the paraviewer and put in a transverse slice and stream-tracer (a virtual smoke-wand). http://ecomodder.com/forum/attachmen...1&d=1379864648 That's about all I've been able to do so far. My goal is to be able to write as simple a tutorial as possible describing running a car and mods through an OpenFOAM virtual wind-tunnel CFD. Given how far away I am from that goal, and how low a priority this is for me, I hesitate to post now - I may not get there for another 3-12 months - but maybe this will stimulate some interest. Learning curve, prerequisite, initial thoughts:
OpenFOAM in literature
Cheers, Chris |
I use OpenFOAM daily. I can help people out pretty easily set up a case properly (not just to get pretty pictures).
My linux machine use to look like this: http://i1291.photobucket.com/albums/...untuScreen.png What a simple iteration case looks like after solving: http://i1291.photobucket.com/albums/...caseScreen.png Simple surface mesh of simplified Scion FRS: http://i1291.photobucket.com/albums/...rfaceMesh1.png Close up of mesh generation with snappyHexMesh: http://i1291.photobucket.com/albums/...rfaceMesh2.png **Not the best mesh generation provided in that picture...just for representation** Semi case I worked on: http://i1291.photobucket.com/albums/...ps957b354a.jpg FRS case: http://i1291.photobucket.com/albums/...ps0adfcfc2.jpg Top Fuel Dragster: http://i1291.photobucket.com/albums/...ps2e43ff64.jpg I can help start a tutorial if needed also. I have been using OpenFOAM for about 2 years and using it for aero consulting for the last year. |
Sweet, some expertise!
Do you have enough posts to attach a sample snappyHexMeshDict (ecomodder accepts zip files up to 97.7kb, maybe I should ask for all your dictionary files for one case, if possible)? [PM me if needed; we can do a dropbox or setup an FTP folder on my server or something, if that helps.] |
I think I can attach files now. The snappyHexMeshDict is only around 3kB so I bet I can attach them all. I think what I will do is set up a specific case for my Golf I am going to start running cfd on. I will share my files for that for everybody to see and then it will also have the ability to see how I analyze the data. I cannot share the exact files on the cases I consulted on. I will get working on that this week between other projects :cool:
Let me know if you run into any trouble before then on specific problems :thumbup: |
Great examples. Just to add that there are a couple of native Windows port of openFoam available - try to avoid cygwin ports as computational time really increases.
Free one at: https://code.google.com/p/bluecfd-singlecore/ - it does not support multiple core though. |
My challenge is that the hardware I have available to run Linux is pretty old.
My other challenge is getting my holey and rough SketchUp model into a file format that OpenFOAM can import. |
Quote:
Quote:
I can't really help with the rough part of the SketchUp model, but for the holey part there are a number of things you can do: - Leave it holey and cross your finger (it works sometime); - Fix it using the openFoam utilities; - [my preference] Fix it using Netfabb Studio Basic (free) netfabb Basic - Fix it using another mesh tool such as MeshLab. |
Quote:
|
Quote:
|
I was wondering if there was a single document covering issues such as:
- geometry: What simplifications are "acceptable"? - size of the computational domain, incl blockage ratio, number of length before and after; - mesh such as first layer size, number of layer in boundary layer, mesh resolution in near and far field; - boundary conditions; - physical, incl turbulence models, and numerical models; - typical validation models; - and ideally a discussion on limitations. If you have access to the Ercoftac BPG, I would be looking for something similar but applied to the automotive industry. |
All times are GMT -4. The time now is 09:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com