I think this could be done in one of three ways - you need a script that controls the running of both programs, plus data transfer between them. So either you write a script in Matlab, in Ansys or in a standalone DOS script. I would be tempted to use Matlab probably as it has the most advanced...
I would suggest using splines (SPLINE command). This will draw smooth curved lines though up to six points. You can also define the vector at the beginning and end of the line - in this way you can join up more than one spline smoothly.
As for generating the points from an equation, probably...
The problem is that the error and warning messages don't always tell you specifically which command is causing the problem, sometimes they just give vague descriptions of, for example, a boolean operation that can't be run since an area is meshed. I can eventually work out where the problem is...
Hi all
I am running batch files in the GUI. As often happens, something goes wrong, then you get the message "While processing.......an error has occured, should input be suspended?" or something like that. My question is, is there a way of knowing which command caused the failure? Sometimes...
In classic:
Plot controls -> style -> colours -> window colours
(also /color will control these options)
or
Plot controls -> style -> background (for some pattern options)
I can't offer any exact help, but if your simulation involves contact and is dynamic (not static or quasi-static), using an explicit solver is a much better approach, for example LS-Dyna (if you have the licence for this). In my experience contact technology in the implicit solver in Ansys is a...
If you use the *vget command, then *vwrite. You have to also use *cfopen and *cfclose. What this does is write vectors to a text file, so if you use *vget to get the vectors of positions, temperatures etc then you should end up with a text file containing the values that you require.
If you use *get, you can save the highest line number as a parameter, which will correspond to the line created by the ldiv command. I don't know the exact details of your problem, but I am pretty sure that using the *get command in a do loop with ldiv you can automate your line division.
oops I just noticed, using the allsel command if you are using volume elements you would get all the nodes in the volume. Apologies. You will have to also use nsla as suggested in the first reply.
I am pretty sure that there isn't a command to do this. However, why not just write a macro? Or if you are working in APDL, a *do loop or copying and pasting the commands even...
I can't see your model, but you could possibly delete the areas and regenerate them in ansys using the AL command. Could be time-consuming though if you have a large model or have to import many times...
Thanks, but I just tried that and it doesn't work. From what I can glean, enclosing a parameter name in % signs prevents the substitution of the parameter, so you would end up with the variable name there instead of the number. In any case, in the example you showed, when I run the file it...