-
ATTENTION NEW USERS! READ THIS POST BEFORE DOING ANYTHING!
Hello all! Unfortunately the forum has recently been the victim of a spam attack, which you may have seen. We've got it under control but whilst we work to shore up the walls, so to speak, we have unfortunately gone into lockdown and you will not be able to post anything for a while. Please bear with us whilst we address…
-
New search functionality for the Ansys dev portal
Hello to our forum and portal users! We are very excited to be on the verge of rolling out our new unified search for the Ansys Developer Portal and Forums. This search will bring together the documentation and articles from the dev portal and posts and information on the forum into a new single search. Over time we will…
-
Welcome! Please Read Before Posting
Welcome to the Ansys Developer community! If you are using the developer tool packages with Ansys simulation tools then this is your community space. This community has been created to ask questions of your peers, exchange ideas, and converse about developer issues within an Ansys context. Here are some guidelines: Keep…
-
DPF API in C#: ansys_unit_system_id values / custom unit system before h5 serialisation?
Hello, When I am using a hdf5dpf_generate_result_file() operator, I can provide an id for the unit system via: var h5WriteOperator = new hdf5dpf_generate_result_file();h5WriteOperator.inputs.ansys_unit_system_id.Connect(id); where id is some integer. I can't seem to find anywhere a list of the available systems and what id…
-
How can I export optiSLang plot data into csv files?
How can I programmatically export ANSYS optiSLang plot data into a CSV files?
-
How to create material
The materials can be created using the following method, but it fails when specifying the material name as a variable. (When adding materialname = "bb" and rewriting matl1 = engineeringData1.CreateMaterial(Name= "aa") as matl1 = engineeringData1.CreateMaterial(Name= materialname), it fails.) Please tell me the solution.…
-
Error: attribute 'CurrentUnitFromQuantityName' of 'namespace#' object is read-only
ANSYS version: 2021r2 & 2023r1 mechanical I'm trying to build an ACT APP extension in mechanical, when I tried to run it below warning shows up. attribute 'CurrentUnitFromQuantityName' of 'namespace#' object is read-only MissingMemberException at…
-
SpaceClaim and Discovery scripting: unexpected error when trying to access datum points from compone
Dear SpaceClaim scripting gurus, I have a very simple test case with two datum points: one belonging to the main Design component and one put into the additional component Point. Accessing the first one via script is no problem, the attempt to access the second one results in an error message that Component object has no…
-
PyOptiSLang: Ansys Workbench integration: Register all project parameter and responses
How can I 1. add an Ansys Workbench integration node to the Ansys optiSLang project 2. register defined parameter and responses
-
How to export a mesh file as STL in ansys fluent?
This is the main section of code where I try to export a mesh file: generate_volume_mesh = workflow.TaskObject["Generate the Volume Mesh"]generate_volume_mesh.Arguments.update_dict({"VolumeFill": "poly-hexcore"})generate_volume_mesh.Execute()mesh_file =…
-
Why solving using API Python Script Take More Time Compared to GUI interface?
Hi, I have written a API Python script to repeatedly solve a FE model in Mechanical. I find that, per simulation, the total time (Mesh+Solve) with script is twice (and more) compared to GUI interface. Am I the one facing this issue? Assuming this issue exists, what steps I have take to make the total time same at least, if…
-
Do we have a simple scripting way to change all/some legend values of my stress plot in Mechanical?
Do we have a simple scripting way to change all/some legend values of my stress plot in Mechanical?
-
Pyansys DPF - RuntimeError and - ansys.dpf.gate.errors.DPFServerException
Hi all, I'm getting this two errors: * RuntimeError: terminate called after throwing an instance of 'std::logic_error' what(): grpc plugin not correctly loaded, can not instantiate grpc::stream_provider operator * ansys.dpf.gate.errors.DPFServerException: a 'service is currently unavailable' error occurred: Connection…