Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by slumdogengineer

  1. slumdogengineer

    Saving a specific value as a function of time to file

    *vget and *vwrite should do the job!
  2. slumdogengineer

    Interfacing ANSYS with MATLAB

    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...
  3. slumdogengineer

    Draw a Smooth Line Through Given Points in ANSYS

    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...
  4. slumdogengineer

    Batch file termination

    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...
  5. slumdogengineer

    Batch file termination

    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...
  6. slumdogengineer

    Background color

    In classic: Plot controls -> style -> colours -> window colours (also /color will control these options) or Plot controls -> style -> background (for some pattern options)
  7. slumdogengineer

    Collision, Impact Testing, Drop Weight Test

    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...
  8. slumdogengineer

    Results to datafile

    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.
  9. slumdogengineer

    how to divide a line into three unequal segments

    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.
  10. slumdogengineer

    Selecting nodes on the surfaces of a volume

    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.
  11. slumdogengineer

    Selecting nodes on the surfaces of a volume

    or you can use allsel,below,volu
  12. slumdogengineer

    how to divide a line into three unequal segments

    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...
  13. slumdogengineer

    Importing a Cylinder Assembly from Step File Geometry

    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...
  14. slumdogengineer

    APDL: Measuring distances and moving lines by this value

    yeah and then you will need the LGEN command to move the lines, inserting the parameter in the appropriate place.
  15. slumdogengineer

    Automatic naming of components

    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...

Part and Inventory Search