CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

mapping of stress

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2013, 08:12
Unhappy mapping of stress
  #1
New Member
 
Join Date: Nov 2013
Posts: 2
Rep Power: 0
Mapper is on a distinguished road
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
Mapper is offline   Reply With Quote

Old   November 11, 2013, 09:25
Default maybe better
  #2
New Member
 
Join Date: Nov 2013
Posts: 2
Rep Power: 0
Mapper is on a distinguished road
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
Mapper is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shear Stress Calculation in the flow. auburnuser FLOW-3D 11 May 12, 2018 14:49
Reynolds Stress Models Jade M Main CFD Forum 0 April 21, 2010 17:38
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 02:45
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43


All times are GMT -4. The time now is 21:51.