|
[Sponsors] |
[blockMesh] Question: OpenFOAM 3.2 issue installing blockMeshDG |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2016, 15:19 |
Question: OpenFOAM 3.2 issue installing blockMeshDG
|
#1 |
New Member
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Hello,
First let me state that I'm new to OpenFOAM world, and I'm training myself with small cases. The following question arose from a case of double wall channel flow using foam-extend-3.2. I have been trying to use the Multigrade capabilities of blockMesh with the following blockMeshDict: " convertToMeters 1; vertices ( (0 0 0) (2 0 0) (2 1 0) (0 1 0) (0 0 0.01) (2 0 0.01) (2 1 0.01) (0 1 0.01) ); blocks ( hex (0 1 2 3 4 5 6 7) (100 50 1) simpleGrading ( 1 ((0.25 0.4 4) (0.5 0.2 1) (0.25 0.4 0.25)) 1 ) ); ); edges ( ); boundary ( fixedWall { type wall; faces ( (0 1 5 4) (3 2 6 7) ); } inlet { type patch; faces ( (0 3 7 4) ); } outlet { type patch; faces ( (1 5 6 2) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } ); mergePatchPairs ( ); " However, this does not work with the typical "blockMesh" command, which has an issue with the extra brackets in "block" section of the code" " wrong token type - expected Scalar found on line 37 the punctuation token '(' " After some search online, I noticed that users of OF 2.1-2.2 had to install a new app "blockMeshDG" to be able to use the Multi-grading of a block. I tried installing blockMeshDG using the following commands that I found online: " wget https://bitbucket.org/akidess/blockmeshdg/get/tip.zip -O latest-blockmeshDG.zip unzip latest-blockmeshDG.zip cd akidess-blockmeshdg-* chmod +x Allwmake find . -exec touch '{}' \; ./Allwmake " However, I ended up with the following error while installing it: " blockMesh/blockMeshTopology.C:27:18: error: Time.H: No such file or directory make: *** [Make/linux64GccDPOpt/blockMeshTopology.o] Error 1 Making dependency list for source file blockMeshApp.C could not open file Time.H for source file blockMeshApp.C could not open file attachPolyTopoChanger.H for source file blockMeshApp.C could not open file slidingInterface.H for source file blockMeshApp.C " This is followed by over 30 lines of other errors. Sorry for the long story... Would you happen to know what I'm doing wrong here? Thanks |
|
November 10, 2016, 15:45 |
|
#2 |
New Member
Rolanzo
Join Date: Jan 2016
Location: Texas, USA
Posts: 18
Rep Power: 10 |
Hi, I am running the same issue, so I wonder if you managed to solve this problem?
|
|
November 16, 2016, 15:51 |
|
#3 |
New Member
Join Date: Aug 2011
Posts: 9
Rep Power: 15 |
Sorry, I did not get a solution for this problem.
|
|
November 16, 2016, 17:08 |
|
#4 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
Hi,
As far as I know foam-extend's blockMesh does not support multi-grading. OpenFOAM 3 and 4 support multi-grading out of the box so for them there is no need to install any external applications. Obviously, you can create the multi-grading mesh with OpenFOAM and then use the resulting mesh with foam-extend. Regards, Mikko |
|
November 17, 2016, 04:10 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
http://www.cfd-online.com/Forums/ope...tml#post561324
This post explains the problem. Another hint, compare the blockMeshTopology.C of blockMeshDG (see compiler error message) with the blockMeshTopology.C of your foam-extend installation. Probably at that point the fix will be easy for you.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) | chrisb2244 | OpenFOAM Installation | 2 | August 21, 2013 14:24 |
Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers | Ahmed | OpenFOAM Installation | 0 | December 5, 2009 06:03 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |