![]() ![]() The important thing for MOOSE is that a single generator sits at the end of such a chain or root of such a tree (otherwise MOOSE will complain with an error message). Note that this does not** mean the two meshes are glued together or connected in any way! Also, in contrast to the previous step the mesh generators do not form a chain, but they form a tree structure. ![]() The MeshCollectionGenerator then combines the two separate pillar mesh objects into a single mesh object that contains all elements from both meshes. When modeling the deformation/bending of walls with solid elements make sure to mesh at least about five elements through the wall thickness! The generated2 generator will set up the second pillar and works very much like the first, except that we are also adding the "boundary_id_offset" to ensure that the boundaries of the second pillar have their own unique IDs (this is done by shifting the default IDs of the four boundaries by 4 so they don't overlap with the IDs of pillar1). The generated block will create a mesh with the boundaries pillar1_left, pillar1_right, pillar1_top, and pillar1_bottom. "boundary_name_prefix" adds a prefix string to the names of the default boundaries that the GeneratedMeshGenerator sets up ( left, right, top, bottom (for >=2D), front, and back (for 3D)). We also use the "bias_y" parameter to have the element height in the mesh gradually shrink towards the top (you will see later why that is a good idea). Note how we're specifying the extent of the mesh with the "xmin" and "xmax" parameters (we keep the default value for "ymin", which is 0). Here we are using the familiar GeneratedMeshGenerator, but with a few more options than last time. It is crucial to assign block and boundary IDs and names to your meshes so you can apply material models and boundary conditions. ![]() You could also use a meshing software, such as Cubit or Gmsh to create your geometry and mesh - and will most definitely have to do so when modeling complex geometries for which no specialized mesh generators are provided. We again are using multiple mesh generators to set up a more complex mesh. (moose/modules/tensor_mechanics/tutorials/introduction/mech_step04.i) Input file Mesh # Multiple submesh setup with two cantilevers side by sideīoundary = 'pillar1_bottom pillar2_bottom' As a final step in the tensor mechanics section of this tutorial we'll set up a pair of separate mesh blocks - two cantilevers side by side, fixed at the bottom, that will be pushed towards each other with pressure boundary conditions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |