Creating a Geometry

Dear Lammps Users,

I am new to this software. Anyone has any idea how to make a geometry like this?
a cube which has a cylinder in it. (their materials are different)
I already have made the cube by this command:
region box block 0 0.05 0 0.02 -0.0005 0.0005 units box
    
but I don't know how to make a cylinder in it with a different material.

I would be thankful if anyone can help me with that!
Thanks

Sayna Ebrahimi
Graduate Research Assistant
Mechanical Engineering Department
University of South Alabama, Mobile, AL

Dear Lammps Users,

I am new to this software. Anyone has any idea how to make a geometry like this?
a cube which has a cylinder in it. (their materials are different)
I already have made the cube by this command:
region box block 0 0.05 0 0.02 -0.0005 0.0005 units box

but I don't know how to make a cylinder in it with a different material.

you can define a cylinder region
can do unions and intersections
of regions. by using a smart combination
of those, you can do what you want.

have a closer look at the documentation
of the region command (again).

cheers,
   axel.

Dr. Kohlmeyer,

I appreciate your previous help again. I could define my desired geometry consists of a plane that there is a cylinder in it. Do you know how I can define properties of two different materials for the plane and the cylinder separately? I have the properties below for the plane (form this paper: http://www.sandia.gov/~mlparks/papers/PDLAMMPS.pdf ) which appears in the commands below in my code:

pair_style peri/pmb
pair_coeff * * 8.601e22 0.0015001 0.0005 0.25
set group all density 2800
set group all volume 0.000000000125

I don't know how to determine pair_coefficients for another material.
Thank you very much in advance.

Sayna Ebrahimi
Graduate Research Assistant
Mechanical Engineering Department
University of South Alabama, Mobile, AL

Like all pair styles, the coeffs you define with the pair_coeff command
are based on atom type. You can create atoms with different types
in your different geometric regions if you use the region and create_atoms
command judiciously.

Steve