CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] copy block to many small cyliders in a grid (https://www.cfd-online.com/Forums/ansys-meshing/180573-copy-block-many-small-cyliders-grid.html)

SPH_CFD November 26, 2016 06:34

copy block to many small cyliders in a grid
 
Dear all

I have a problem that is a grid of many cylinders (same size but different positions). Do we have anyway to generate a block and then copy it to the others.

Project also requires to have all cylinders in the same *.msh file. The number of each grid is around 400 cylinders

Thank you in advance.

bluebase November 28, 2016 07:59

Hello Quang,

Without any more information i can't figure out what is the best option for you.
You could try to copy the blocking in several subtopologies; you copy the resulting mesh the 400 times and live with interface meshes; or doing the hard labour, cutting by hand.

it might be a good idea anyways to write a script to automize the meshing.
Though, learning from the replay function and writing tcl code might take some time.

Start with creating using the replay/record feature and see what icem records.
Then take a quick tutorial on the tcl script language to get familiar with tcl for loops and calculations.

Search the forum for some sparse information on icem-scripts and have a look at the programming guide of icem. I learned the most from the script examples coming with icem, have a look in the installation folder.


With regards,
Sebastian

SPH_CFD November 28, 2016 16:11

Quote:

Originally Posted by bluebase (Post 627199)
Hello Quang,

Without any more information i can't figure out what is the best option for you.
You could try to copy the blocking in several subtopologies; you copy the resulting mesh the 400 times and live with interface meshes; or doing the hard labour, cutting by hand.

it might be a good idea anyways to write a script to automize the meshing.
Though, learning from the replay function and writing tcl code might take some time.

Start with creating using the replay/record feature and see what icem records.
Then take a quick tutorial on the tcl script language to get familiar with tcl for loops and calculations.

Search the forum for some sparse information on icem-scripts and have a look at the programming guide of icem. I learned the most from the script examples coming with icem, have a look in the installation folder.


With regards,
Sebastian

Thank you Sebastian,

I try to copy block. However, it is very strange when I try to premesh and they only generate surface mesh.

My process as follow

1/ I have a grid of cylinders without connections between cylinders

2/ Generate a big block for all and associate to 1 specific cylinder

3/ copy that block to the other cylinders

I do not know why I do not have volume mesh


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