|
[Sponsors] |
November 21, 2014, 07:13 |
blockMesh cube inside a cube
|
#1 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 12 |
Good Morning!
I am having problems when I create the mesh so I need some help. My model consists in a cube inside another cube. From the inlet of the big one (5x2x2m) it will enter an incompressible flow which will go out through outlet. The second and smaller cube (0,4x0,4x0,4m) will receive the fluid while the fluid is passing by the big cube. With this purpose I created a blockMeshDict. I think the big cube should be divided in 27 parts in order to make the mesh, as you can see in the draw (sorry for the horrible painting, I'm working with another computer). So when I created the 64 needed vertex, and assigned everything I receive this message: PHP Code:
Anyway do you know if it exists another way to do this? Thank you really much! |
|
November 21, 2014, 09:20 |
|
#2 |
Member
davide basso
Join Date: Jan 2012
Posts: 48
Rep Power: 14 |
Hi Wien,
maybe I didn't understand correctly your case but if the inner cube is just an obstacle to the flow you don't need to mesh it since it isn't part of the fluid domain. In this case, I think, the blocks should be 26 instead of 27 |
|
November 21, 2014, 09:37 |
|
#3 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 12 |
Hello,
To be honest I don't know if I have to mesh it, because I want to analyse the influence of the fluid in the litte cube. But, in any case, I deleted the corresponding hexaedron (hex (21 25 26 22 37 41 42 38) (4 4 4) simpleGrading (1 1 1)) but it appeared another error message: PHP Code:
Any other ideas will be thanked! |
|
November 21, 2014, 10:50 |
|
#4 |
Member
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12 |
It looks like you are trying to investigate a flow in a channel/pipe with an obstacle in it.
is it the case ? If Yes, then you should mesh the whole Domain leaving the internal Obstacle cube void. |
|
November 21, 2014, 11:27 |
|
#5 |
Member
davide basso
Join Date: Jan 2012
Posts: 48
Rep Power: 14 |
I couldn't find the error in your dict but I managed to mesh a similar case from scratch.
Attached you'll find the dictionary, hope this helps! Last edited by rolloblues; November 25, 2014 at 08:55. |
|
November 24, 2014, 04:23 |
|
#6 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 12 |
Hi nanavati,
Yes you are right, my problem is quite similar to fluid flowing along a pipe with an obstacle. PHP Code:
Would sb be so kind to detail a little bit more? Thank you very much |
|
November 24, 2014, 05:10 |
|
#7 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 12 |
Hi,
I erased that hexaedron and write the same x, y, z divisions for each hexaedron, in order to not have problems with common faces between two of them. After this changes it doesn't appear in the terminal any error when I write blockMesh, but when I do it with checkMesh this error appears: PHP Code:
Any idea about where the failure could be now? PHP Code:
|
|
November 25, 2014, 06:42 |
|
#8 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 12 |
Hi!
At the end I achieved it! Th solution was to change the orientation of every single face: I had input them as anti-clockwise and after writing as clockwise it worked fine! Thank you anyway |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explosion inside a cube - blockMesh | shangzung | OpenFOAM | 3 | March 6, 2013 04:59 |
Gambit help: Cube inside cube | Jack Martinez | FLUENT | 13 | August 11, 2010 07:29 |
Cube rotating inside a tank | Shubhu | Main CFD Forum | 1 | May 1, 2010 00:16 |
Setting up: Cube, 2 holes, high pressure inside | shangzung | OpenFOAM | 0 | October 30, 2009 12:27 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |