Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. xtremi

    Reading CWR files

    This is very useful information! Thanks!
  2. xtremi

    Reading CWR files

    Does anyone have experience on reading the content of CWR files (programmatically, without SolidWorks)? I can't find any information about an API for that, or about the file's internal structure/format. Could someone point me in the right direction? It also doesn't seem like Solidworks can...
  3. xtremi

    ANSYS Worbench - ARCLEN and pressure load

    Well if anyone else has this problem, I think I found the solution; After setting the pressure load, instead of choosing Constant, choose Tabular, but under Tabular Data>Independent Variable select Step. Now the tabular data table will only contain one cell where you can add the "Constant" value...
  4. xtremi

    ANSYS Worbench - ARCLEN and pressure load

    I understand, but Ansys Workbench doesn't allow me to create a non-tabular pressure load. Even if I select "Constant" it will set it to "ramped" and create a table with two values...
  5. xtremi

    ANSYS Worbench - ARCLEN and pressure load

    In Ansys Workbench (19.0), in Mechanical, I have a Static Structural analysis. I've added a pressure load on a geometric surface, where I under Magnitude selected Constant and set a value. By doing this a frame in the UI shows "Tabular Data" with two points 0,0 and 1,<my value>. This makes sense...
  6. xtremi

    Ansys Workbench ACT - Getting values of loads depening on axis component and time

    I'm trying to do this in C#/C++, but for the sake of the question, I will make an example using Python. In Ansys Mechanical, if I create a Pressure on a geometric face, set the Magnitude to Tabular Data and change the Independent Variable to for example Z. I can then insert rows and values in a...
  7. xtremi

    Ansys Workbench ACT - Accessing face IDs of elements subjected to pressure load

    Interesting, so getFaces returns the node ids defining the face? Maybe my code works then... In C# I call getFaces something like this: int[] tri3faces; int[] tri6faces; int[] quad4faces; int[] quad8faces; meshregion.GetFaces(out tri6faces, out quad8faces, out tri3faces, out quad4faces)...
  8. xtremi

    Ansys Workbench ACT - Accessing face IDs of elements subjected to pressure load

    Can you do this: model = ExtAPI.DataModel.Project.Model a = model.Analyses[0] meshData = a.MeshData #ids for selected faces current_ids = ExtAPI.SelectionManager.CurrentSelection.Ids #mesh region for first selected face region = meshData.MeshRegionById(current_ids[0]) quad8faces = []...
  9. xtremi

    Ansys Workbench ACT - Accessing face IDs of elements subjected to pressure load

    I can give you the link from the api docs for GetFaces(): https://storage.ansys.com/act/v190/ACTReferenceHTML/Mechanical/index.html#Reference.methode.Ansys.ACT.Interfaces.Mesh.IMeshRegion.GetFaces.html I'll have to come back to you later for the code. But if you have an IMeshRegion, you should...
  10. xtremi

    Ansys Workbench ACT - Accessing face IDs of elements subjected to pressure load

    I am trying to create a plugin for Ansys Mechanical in Workbench 19.0, and I am doing so using the .NET API in a mix of C# and C++/CLI project. Part of the plugin is to extract a lot of information form an analysis. It took me a long time to figure out how to set up my environment, but I'm...
Back
Top