olzshot.blogg.se

How to use command prompt in ansys apdl
How to use command prompt in ansys apdl













how to use command prompt in ansys apdl

Reading through the manual hasn't helped me getting the answer.įinally I'll of course also need a file creation (*CFOPEN) and write command (*VWRITE) to make the file to import the results in Excel, but I'm not quite there yet.

how to use command prompt in ansys apdl

I haven't been able thought to find out how to get the values from the contacts using the *GET command. I don't know if this is the best way to make the extraction? SNo = chrval(k) ! Bolt section as characterīS = strcat(BNoP,'_',SNo) ! Full bolt and section definition *DO,k,1,NoS ! Loop for each section of current bolt LC = strcat('LC',LCNo) ! Current load case nameīNo = chrval(j) ! Current bolt number as characterīNoP = strcat(Prefix,BNo) ! Creates prefix for each individual bolt LCNo = chrval(i) ! Current load step as character SET,NEAR,, , ,i,, , ! Sets the load step to read data from Outres,all,all ! Output data for all substepsCODE *DO,i,ExtS,ExtF,Increment ! Loop for load cases Mp,kxx,1,1.8 ! Define heat transfer coefficient I'm going to put up a new post to ask about the animation.Ī,1,2,3,4 ! Connect the keypoints to form area The commands are posted below, not including the animation step. Thanks a lot Biswajit your suggestion was really helpful. OK, I'm stumped on how to make an animation for this example. Plnsol,temp ! Plot the temp contour of the live elements IC,all,temp,200 ! Initial conditions, temp = 200Įtable,melty,temp, ! Create an element tableĮsel,s,etab,melty,600 ! Select all elements from table above 600 CĮsel,s,etab,melty,600 ! Select all elements from table ! above 600 Mp,kxx,1,0.001 ! Define heat transfer coefficient title, Transient melting by element death (conduction)īLC4,0,0,10,4 ! Create smaller rectangle (magma)ĪSBA,1,2 ! Boolean Subtraction (subtracts area 2 (small) from area 1 (big)) If you have any idea what this stuff means and how to fix it, I would really appreciate hearing it! My code is below. POST1 results may be erroneous unless you RESUME from a Jobname.DB file for this substep. No restart is possible with this database" then " Cumulative iteration 1 may have been solved using different model or boundary condition data than currently stored. Second, after entering the postprocesser, I got: "The current database is not from a previous solution. I got a couple of error messages (all of my code is below, with the part I got and modified from you in bold blue): First, after entering the code I got from you, I got "No DO trips needed, enter *ENDDO". Sorry-I know that this is probably really simple stuff, but I'm trying to learn!

how to use command prompt in ansys apdl

I tried your suggestion and have a couple of questions if you have time.















How to use command prompt in ansys apdl