Preprocessing

Preprocessing

sphere of influence

    • sampathkumar23
      Subscriber

      How can I choose all meshed elements which are within sphere of influence?

    • peteroznewman
      Subscriber

      What for?

    • sampathkumar23
      Subscriber

      I want to change material properties for all the meshed elements which are within Sphere of Influence.

    • peteroznewman
      Subscriber

      Open the Geometry editor, create a sphere where you want different material properties, and perform a boolean subtract, option to keep tool, and then put the original solid that has a spherical cavity and the sphere into a multibody part using Form New Part in DesignModeler, or Share Topology in SpaceClaim.  That asumes the sphere is completely inside the solid. A few more operations would be required if the sphere is only partially inside the solid.


      Now the mesh will connect across those two bodies and each body can have a different material property.

    • sampathkumar23
      Subscriber

      This is my body and I want to choose all the meshed elements in 'Sphere is Influence' and I have to change the material properties only for those choosed meshed elements


       


    • peteroznewman
      Subscriber

      The "Sphere of Influence" mesh control is defined with a coordinate system, which has an origin at known x,y,z global coordinates, and a known radius.


      Open the geometry editor and make a sphere of the known radius at the known global x,y,z coordinates of the coordinate system used in the mesh control and  follow the rest of my post above to make a spherical region in the rectangular solid body.  The spherical body can be assigned a different material than the rectangular body.


      Then you can mesh the spherical body with the mesh "Body Size" control instead of the "Sphere of Influence" mesh control.


      If you need help doing this, please create a Workbench Project Archive .wbpz file and attach it after you reply.

    • sampathkumar23
      Subscriber

      How to attach a file to this reply?
      It is showing only JPG, PNF and GIF only can be uploaded.

    • peteroznewman
      Subscriber

      Follow these directions to create a .wbpz file, which can be attached. You can also attach .zip files.

    • sampathkumar23
      Subscriber

      What I have done…
      1) I have used Space Claim for drawing the Geometry. 


      2) I have inserted my own co-ordinate system.
      3) I have meshed using body size and introduced sphere of influence with some radius and element size. Also refined the mesh.


      4) Using Named selection and worksheet I tried to select the meshed elements within the sphere of influence. 
      5) Using APDL commands I tried to change the material properties of the meshed elements within the sphere of influence.


       


       


      The solution which you have replied looks more accurate and easy for changing the material properties within in the sphere and I was much interested in trying that.

      I am unable to perform Boolean operations in space claim. Please help me in doing this in random places for random bodies. I am attaching my google drive link where you can see whatever I have done.


       


      https://drive.google.com/open?id=1BDxDX0deJSCnq0QzMxxPdvVC4aeX05Sw

      Thank you!


       


       

    • peteroznewman
      Subscriber

    • sampathkumar23
      Subscriber

      You are amazing... Thank you!

    • sampathkumar23
      Subscriber

      The method you have written is perfect but It is not flexible for me to use.
      My problem is I have a spline and I have to introduce sphere in different locations in the spline. If I use sphere of influence by inserting my own co-ordinates it will be more flexible to give different locations by just changing x, y, z.
      Can I choose meshed elements directly in sphere after introducing sphere of influence?


       
    • peteroznewman
      Subscriber

      Use DesignModeler instead of SpaceClaim because DM is history based, so it is easier to Parameterize.


      You can have X,Y,Z coordinates as parameters that define where the center of the sphere is.  The boolean operations will be recomputed each time you send DM new parameters.


      You can have those parameters be available in Workbench and send down as many locations of the sphere as you wish without rebuilding the model.  Everything will update and you can just wait for the solution.


      Here is a tutorial.

    • peteroznewman
      Subscriber

      Sam, I'm here to advise and learn new things myself, not to do your work. You can learn how to do this yourself. There are many tutorials on using Parameters in DesignModeler. Here is one on YouTube.


    • peteroznewman
      Subscriber

      It is also possible to write scripts in SpaceClaim that would allow variable X,Y,Z coordinates of the sphere to be used to perform the boolean, but I don't know how to write scripts for SpaceClaim.

Viewing 14 reply threads
  • You must be logged in to reply to this topic.