User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 16, 2016, 13:50 edgeGrading #1 New Member     Join Date: Feb 2016 Posts: 23 Rep Power: 2 Hi everyone, I'm a beginner with openFOAM. I have some problem to understand edgeGrading...I understood that I have to define the expansion ratio for each edge of the hexahedron. They are grouped along the three directions, so the first 4 edges are all the edges along X1 and so on for X2 and X3. The thing I can't understand is to which edge corresponds each number in the parenthesis . How are they ordered? Thanks!

 March 17, 2016, 22:39 #2 Senior Member   Join Date: Aug 2013 Posts: 227 Rep Power: 6 Hi, I would think they are ordered from 0 to 11 within the parenthesis with edge 0 etc. being defined as described here: http://cfd.direct/openfoam/user-guide/blockMesh/ No? Cheers, Antimony

 March 18, 2016, 06:51 #3 New Member     Join Date: Feb 2016 Posts: 23 Rep Power: 2 Hi Antimony! Thank you for your reply! You're right. In my case, I had this error: Inconsistent number of faces between block pair 2 and 7 and I thought it was due to grading, but it wasn't. The problem was the way I had defined the blocks: I didn't take care of the order of vertices in the hex(...), but now I understood that this order defines axis X1, X2 and X3 for each block. Is it correct?

 March 19, 2016, 11:28 #4 Senior Member   Join Date: Aug 2013 Posts: 227 Rep Power: 6 Hi, Generally if you have inconsistent number of faces, it usually means that the number of cells between the different blocks has a mismatch. Unless you are duplicating vertices (and therefore duplicating edges), the common edge shared by two blocks will need to have the same number of divisions. And yes, the ordering of the vertices determines the axes and consequently, whether or not your cells are "proper". In case your order of vertices is wrong, you will end up with cells with negative volumes which blockMesh will report during its run. Hope this helps. Cheers, Antimony

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Flowkersma OpenFOAM Native Meshers: blockMesh 2 August 2, 2015 14:34 sur4j OpenFOAM 0 January 26, 2014 10:07 anita OpenFOAM Native Meshers: blockMesh 7 March 2, 2009 12:16 iagmanu OpenFOAM Bugs 0 February 25, 2008 09:49

All times are GMT -4. The time now is 19:08.

 Contact Us - CFD Online - Top