Difference between revisions of "Contrib:KeesWouters/partition"
Keeswouters (Talk | contribs) (→'''General definition of the construction with Salome''') |
Keeswouters (Talk | contribs) (→'''General definition of the construction with Salome''') |
||
Line 8: | Line 8: | ||
=='''General definition of the construction with Salome'''== | =='''General definition of the construction with Salome'''== | ||
First a solid block is defined by the geompy.MakeBoxDXDYDZ(3,5,2). The internal block to cut away a apart of this block is defined by the four outside nodes, linking the nodes by lines and defining. A face is defined by the four lines. Extruding the face up to 1.8 mm high then defines a solid block. After this a shoe box remains with wallthickness of 0.2 mm. | First a solid block is defined by the geompy.MakeBoxDXDYDZ(3,5,2). The internal block to cut away a apart of this block is defined by the four outside nodes, linking the nodes by lines and defining. A face is defined by the four lines. Extruding the face up to 1.8 mm high then defines a solid block. After this a shoe box remains with wallthickness of 0.2 mm. | ||
+ | |||
+ | On top of this shoebox a top plate is defined. It outer dimensions are 0.2 mm less than the shoebox and height is 0.8 mm. | ||
+ | |||
+ | Inside the top plate two cylinders are defined, radii 0.7 and 0.5 and height 1.0 mm. These two cylinders consist of one solid only within Salome because they are defined at once using the two axial areas of the cylinders. | ||
+ | |||
+ | ==='''Fusing the various parts'''=== | ||
+ | Now all parts are defined and we can fuse the three parts together. This is necessary if we want a mesh that is 'glued' together between the various parts. So we fuse: | ||
+ | # Fshoecyl <-- shoebox and cylinders and use the result together with top plate | ||
+ | # Fassembl <-- Fshoecyl and Btop | ||
+ | |||
+ | Now one solid part exists. To be able to apply different material properties to the various parts, we need to partition them again. | ||
+ | |||
+ | ==='''Partitioning the various parts'''=== |
Revision as of 14:52, 26 May 2009
Contents
Defining a construction with four bodies in Salome
The construction consists of a shoe box, a plate on top of it and two cylinders inside the top plate. In total four different bodies are created by partitioning the main body. Each body can have different materials applied to it in the C-Aster command file.
General definition of the construction with Salome
First a solid block is defined by the geompy.MakeBoxDXDYDZ(3,5,2). The internal block to cut away a apart of this block is defined by the four outside nodes, linking the nodes by lines and defining. A face is defined by the four lines. Extruding the face up to 1.8 mm high then defines a solid block. After this a shoe box remains with wallthickness of 0.2 mm.
On top of this shoebox a top plate is defined. It outer dimensions are 0.2 mm less than the shoebox and height is 0.8 mm.
Inside the top plate two cylinders are defined, radii 0.7 and 0.5 and height 1.0 mm. These two cylinders consist of one solid only within Salome because they are defined at once using the two axial areas of the cylinders.
Fusing the various parts
Now all parts are defined and we can fuse the three parts together. This is necessary if we want a mesh that is 'glued' together between the various parts. So we fuse:
# Fshoecyl <-- shoebox and cylinders and use the result together with top plate # Fassembl <-- Fshoecyl and Btop
Now one solid part exists. To be able to apply different material properties to the various parts, we need to partition them again.