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?
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.
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...
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.
Another option might be to create as 3 surface bodies which you can name individually.
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?
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.
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.
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?
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!