CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   block with a hole (https://www.cfd-online.com/Forums/openfoam-pre-processing/116317-block-hole.html)

nandiganavishal April 17, 2013 01:22

block with a hole
 
Hello Foamers,

I would like to create the following geometry in openfoam.

A small circular hole is drilled through a block (cuboid in shape). Please let me know how to create such a geometry in openfoam.

Thanks

Vishal

akidess April 17, 2013 03:28

There is an example of how to do this in the user guide. You just have to extend it from 1/4 to the full block. Shouldn't bee difficult.

nandiganavishal April 18, 2013 01:37

1 Attachment(s)
Quote:

Originally Posted by akidess (Post 421125)
There is an example of how to do this in the user guide. You just have to extend it from 1/4 to the full block. Shouldn't bee difficult.

Thanks, Anton for the reply. Yes, this geometry is doable. What I wanted to create is the following geometry that is attached with this thread. A cylindrical hole is drilled through three membranes (two thick membranes and a thin membrane in the center). The membrane is then connected to two reservoirs on either side. I would like to know if there is a general code or format to create any geometry without having to define the vertices manually. Please let me know !!

Thanks

Regards,
Vishal

wyldckat April 18, 2013 17:18

Greetings to all!

@Vishal: Try SwiftBlock: http://openfoamwiki.net/index.php/Contrib/SwiftBlock - this way you can create a "blockMeshDict" interactively.

Best regards,
Bruno

nandiganavishal April 29, 2013 12:20

Quote:

Originally Posted by wyldckat (Post 421635)
Greetings to all!

@Vishal: Try SwiftBlock: http://openfoamwiki.net/index.php/Contrib/SwiftBlock - this way you can create a "blockMeshDict" interactively.

Best regards,
Bruno

Thanks, Bruno. I would take a look at it.

Regards,
Vishal


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