CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Question: OpenFOAM 3.2 issue installing blockMeshDG

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2016, 14:19
Default Question: OpenFOAM 3.2 issue installing blockMeshDG
  #1
New Member
 
Join Date: Aug 2011
Posts: 9
Rep Power: 14
Engineers is on a distinguished road
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
Engineers is offline   Reply With Quote

Old   November 10, 2016, 14:45
Default
  #2
New Member
 
Rolanzo
Join Date: Jan 2016
Location: Texas, USA
Posts: 18
Rep Power: 10
Rolanzo is on a distinguished road
Hi, I am running the same issue, so I wonder if you managed to solve this problem?
Rolanzo is offline   Reply With Quote

Old   November 16, 2016, 14:51
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 9
Rep Power: 14
Engineers is on a distinguished road
Sorry, I did not get a solution for this problem.
Engineers is offline   Reply With Quote

Old   November 16, 2016, 16:08
Default
  #4
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
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
Flowkersma is offline   Reply With Quote

Old   November 17, 2016, 03:10
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers Ahmed OpenFOAM Installation 0 December 5, 2009 05:03
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 09:54.