ANSYS Workbench/APDL Programming

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 6K views
bala
Messages
1
Reaction score
0
Hi,

I want to make a script which will give message to a user as soon as we replace geometry in ansys workbench. Message will be about the material, A popup window will show default material is structural steel please assign appropriate material to all components.
Will it be possible with APDL command ?. IF not how to do this with python/Jsscript.

Please guide me about this

Thanks in advance.
 
Physics news on Phys.org
--------------------------------------------------------------------------------

Hi everyone,

I am new to apdl and scripting as well. I have made the simple simulation of one end fixed beam and load at another side and as a result i have got von mises stress(eqv stress) in WORKBENCH. And i have saved this process as .db file and then reopened in apdl.

Now I want to do post processing of nodal solution in apdl with scripting.

(1) How to generate an array filled with result of eqv stress at each node for only 1st load step.

(2) If there are 5 load steps and i want the whole result of 5 load step in a single array at all nodes.

How can i generate commands for this description ?

Thank in advance,
Dhruv
 
Why don't you create a new thread instead of hijacking this one? Create a new thread with the all the proper information.
 
Hi,

CFDFEAGURU is right

I have some suggestion for dppatel, hereafter:

(1)
Very easy reading Ansys help, the main commands I always used are the following:
/post1
*dim,... !to create array
set,1 !to read 1st loadstep
*get,toto,... ! to save your component results in your array
*cfopen,... !create a file for writting the results
*cfwrite,... ! or vwrite command to write and save the results in a .txt file

*cfclos

(2)
For n load step, I often used a loop with:
*do,kk,1,n
...
!(1) descibed above
...
*enddo
 
HI,
i was using ANSYS APDL 12 and there was a "design opt" in the main menu tree to the left. it s for design optimization. however now i built my model in ansys apdl 15 but there s no longer "design opt" in it. any ideas how to apply design optimization in apdl 15??
thanks