|
[Sponsors] |
[Gmsh] 3D Hex Mesh after BooleanDifference in Gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2018, 08:39 |
3D Hex Mesh after BooleanDifference in Gmsh
|
#1 |
New Member
Bhargav lakhlani
Join Date: Jan 2018
Posts: 22
Rep Power: 8 |
Hello Everyone,
I am trying to generate a structured mesh for a rectangular domain with one Inlet and one Outlet. I have bolleaned(Cut) the Inlet and Outlet from the main rectangular domain. (Computational Domain is attached in Figure). After creating one volume, Transfinite Volume function is not working in Gmsh as it requires Volume with 5 or 6 faces only. However, if I try with TransfQuadTri function still I am unable to create 3D Hex mesh of Domain. The script of above operation is as follow: // SetFactory("OpenCASCADE"); //+ Box(1) = {0, 0, 0, 10, 10, 10}; //+ Box(2) = {0.5, 0.5, 0.5, 0.2, 2, 2}; //+ Box(3) = {9, 7.5, 7.5, 0.2, 2, 2}; //+ //+ BooleanDifference{ Volume{1}; Delete; }{ Volume{2}; Delete; } //+ BooleanDifference{ Volume{1}; Delete; }{ Volume{3}; Delete; } //+ Physical Surface("Inlet") = {30}; //+ Physical Surface("Outlet") = {13}; //+ Physical Surface("wall") = {22, 19, 23, 24, 20, 21}; //+ Physical Volume("Domain") = {1}; Transfinite Line "*" = 10; Transfinite Surface "*"; Recombine Surface "*";SetFactory("OpenCASCADE"); //+ Box(1) = {0, 0, 0, 10, 10, 10}; //+ Box(2) = {0.5, 0.5, 0.5, 0.2, 2, 2}; //+ Box(3) = {9, 7.5, 7.5, 0.2, 2, 2}; //+ //+ BooleanDifference{ Volume{1}; Delete; }{ Volume{2}; Delete; } //+ BooleanDifference{ Volume{1}; Delete; }{ Volume{3}; Delete; } //+ Physical Surface("Inlet") = {30}; //+ Physical Surface("Outlet") = {13}; //+ Physical Surface("wall") = {22, 19, 23, 24, 20, 21}; //+ Physical Volume("Domain") = {1}; Transfinite Line "*" = 10; Transfinite Surface "*"; Recombine Surface "*"; Transfinite Volume "*"; // Please suggest me some feasible solution to this problem. Regards, Bhargav |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from | syntex | OpenFOAM Meshing & Mesh Conversion | 19 | December 10, 2018 07:21 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
[blockMesh] BlockMesh number internal faces and boundary | ynos | OpenFOAM Meshing & Mesh Conversion | 6 | December 13, 2011 05:36 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |