Hello,
I am sure it is possible to assign names to the faces of solid bodies, but I can not figure out how, or find any other explanation... Does anybody know?
Thanks
Joe
Can you explain more about what you are calling "faces" and what you mean by "naming" them, perhaps an explaination of -why- would help solve the problem.
The CADWhisperer YouTube Channel
Thanks, well, to give a very simplistic example, what I would like to achieve would be something like:
1. Sketch a circle
2. Extrude to a cylinder
3. Now there is a body with 3 "faces" - i.e. 2 flat circles and 1 curved wraparound.
It is these faces to which I would like to assign names, lets say "inlet" to one circle, "outlet" to the other circle and "wall" to the curved face
4. After this, I would like to import the body/part into CFD software, and still have the names associated with the faces.
I hope that makes a bit more sense - I understand it may seem a bit abstract...
Thanks again
Joe
Without details of what import capabilities your CFD software has, 2 things I can think of:
1. Add workpoints to the faces and give these workpoints distinct names.
This can easily be done if you use the "Pin" functionality from the Cable and Harness add-in.
2. Add attributes to the faces via the API (there is example code in the API help on how to do this, search for SetAndGetAttribute)
In both cases your CFD has to have sufficient import intelligence (IGES/STEP) or API skills to benefit from your preparation in Inventor.
Bob
Another option might be to create as 3 surface bodies which you can name individually.
The CADWhisperer YouTube Channel
Thanks for the responses... unfortunately I could not get any of the methods suggested to work. Could be to do with the CAD importer of the CFD software (3DX), as it is having trouble with other formats where I have been able to name the faces (solidworks, nx etc).
Actually I could not find how to access the API... is that a separately licensed feature?
Thanks
Joe
No it is a core component of Inventor and can be accessed via Tools > Options > VBA Editor
The API help can be found under the Question Mark icon in the Community resources > Programming Help menu.
Bob
Another option is to do a sketch on the face, write the test you want with the text tool, then use the emboss tool and the sketch to emboss or engrave the text. It will create more surfaces which could be a problem in the CFD program. But its an idea. If you did it on the outside of the part, it shouldn't make much difference.
Regards,
Ozitag.
Hi, I have the same problem as jlosman84 sing Star CCM+ as CFD, I dont know if the surface data somehow gets lost while importing the file but I have tried some of the methods suggested and had no luck. Didnt try the API, it has taken me long hours to get it to work. Is there a simpler way of naming faces?