mapping of stress
hey there,
I have a problem with my ansys. I want to map some values (yield stress) on a geometry. I´m a beginner and now i dont know where my mistakes are. i have a csv-file with my informations. ´ for example yieldstress.csv : x;y;z;yieldstress 1;3;3;800 2;2;7;700 3;3;2;850 4;23;8;800 now i tried to get coordiantes of the nodes and put them into an array (new geometry) *get,mpmax,mat,0,num,max !number of nodes *dim,nadata,array,mpmax,4 !Def. of Array ndata *vget,nadata(1,1),node,0,loc,x ! x coordinates *vget,nadata(1,2),node,0,loc,y !y coordinates *vget,nadata(1,3),node,0,loc,z ! z coordinates *vget,nadata(1,4),node,0,stress !yield stress then i tried to put my new infromations of flgr.csv into a array *dim,flgr,array,9000,4 !Def. of Array flgr *vread,flgr(1,0)=1,yieldstress,csv,0,1,9000 ! x coordinates *vread,flgr(1,1)=1,yieldstress,csv,0,2,9000 ! y coordinates *vread,flgr(1,2)=1,yieldstress,csv,0,3,9000 !! zcoordinates *vread,flgr(1,3)=1,yieldstress,csv,0,4,9000 !new yield stress than i tried to interpolate the yield stress on the new mesh *moper,nadata(1,4),map,flgr,3 !mapping of the yield stress it doesnt work. i know there are some mistakes but i dont know where. sorry for my bad english :) |
maybe better
so maybe i found some mistakes. I think i have to put the infromation about the coordiantes and the yield stress in two different arrays
"*MOPER,ResVal(1,1),ResXYZ(1,1),MAP,InVal(1,1),InXY Z(1,1),kDim kDim = 2, 2d (shell) 3, 3d (solid) ANSYS 5.7 has a MAP option which will: Given: A set of points InXYZ(nPt,3) and a value(s) InVal(nPt,nVal) at each point A second Set of points ResXYZ(nOut,3), contained within the geometry of the first set of points. Determine the value(s) ResVal(nOut,nVal) at each point in the second set." so i have now: !new mesh: *get,mpmax,mat,0,num,max !number of nodes *dim,nadata,array,mpmax,3 !Def. ofArray ndata *vget,nadata(1,1),node,0,loc,x *vget,nadata(1,2),node,0,loc,y *vget,nadata(1,3),node,0,loc,z *dim,Yielstr,array,mpmax,1 *vget,yieldstr(1,1),node,0,stress !old Data (9000 Points) *dim,flgr,array,9000,3 *vread,flgr(1,0)=1,yieldstress,csv,0,1,9000 *vread,flgr(1,1)=1,yieldstress,csv,0,2,9000 *vread,flgr(1,2)=1,yieldstress,csv,0,3,9000 *dim,Yielstr,array,mpmax,1 *vread,yielstr(1,1)=1,yieldstress,csv,0,4,9000 !mapping: *moper,yielstr(1,1),nadata(1,1),map,yieldstr(1,1), flgr(1,1),3 maybe its better but it doesnt work :( |
All times are GMT -4. The time now is 21:10. |