|
[Sponsors] |
February 27, 2019, 11:55 |
Meshing Volume inside volume
|
#1 |
New Member
Gaetano
Join Date: Feb 2019
Posts: 1
Rep Power: 0 |
Hi everyone, first of all I was looking for a section where to introduce me, but I did not find it, I will do it here.
I'm Gaetano and I'm a student in Palermo University. I'm trying to make a mesh of a piece of beam with stirrup and bars, but I'm having some trouble with stirrup, it is inside the main domain, and I do not know how to solve it. I'm attaching the .geo file, hoping someone could help. Maybe there are other way to mesh it, I do not know. Thank you Code:
SetFactory("OpenCASCADE"); // Input Rectangle(1) = {0, 0, 0, 300, 300, 0}; Disk(2) = {50, 50, 0, 10, 10}; Disk(3) = {50,250,0,10,10}; Disk(4) = {250,250,0,10,10}; Disk(5) = {250,50,0,10,10}; Rectangle(6) = {30,30,146,240,240,10}; Rectangle(7) = {40,40,146,220,220,10}; // Start Operations s() = BooleanFragments{ Surface{1}; Delete; }{ Surface{2,3,4,5}; Delete;}; ext() = Extrude{0,0,300} {Surface{s()}; Layers{10}; Recombine;}; st() = BooleanFragments{ Surface{6}; Delete;}{Surface{7}; Delete;}; Recursive Delete {Surface{7}; } Extrude{0,0,10} {Surface{22}; Layers{10}; Recombine;} BooleanFragments{ Volume{5}; Delete;}{Volume{6}; Delete;} // Mesh Options all elements needs to be Hexa Mesh.RecombineAll = 2; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[Gmsh] 3D coil mesh: can't create the volume? | RomainBou | OpenFOAM Meshing & Mesh Conversion | 3 | July 18, 2016 06:09 |
Meshing Volume in Gambit for a water turbine | Zaqie | FLUENT | 1 | July 24, 2009 02:25 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 22:14 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |