I do not know what programming language you are writing this in? But I can help by giving you a quick tutorial on asking for technical help.
State what you want your gizmo to do in as much detail as practical.
State how you thought you would do this. Again, include as much detail as practical. Be certain to include any tools, instructions, TA guidance or reference standards you are relying on.
Identify why you believe your gizmo is not doing what you want!
Following this procedure will greatly speed up any technical support problem you request.
Oh, and use spell check.
__________________
"Don't disturb my circles." translation of Archimedes last words
Thanks for your instruction.I am learning English for a short time so maybe I cannot get myself understood.I am trying!
I use ansys9.0 to analyse a plain bearing. I want to put the load on the inner surface of the bearing. The loading pressure are caculated by a C++ programm.Thus,the pressure on evey node is different. The problem is I donnot know how to put these pressure on some specified nodes.
The following program are using APDL language.
*dim,abc,array,4
abc(1)=10,20,30,40
sffun,pres,abc(1)
nsel,,1,4
sf,all,pres,0
The purpose of this programm is to put the pressures(10,20,30,40)on these nodes(1,2,3,4).When I inqury,the result shows that all the pressure are zero.That must be something wrong with the programm.
First let me say that I know nothing about APDL language. By stating what your programming language is though you may now find somebody here who does.
If this language is anything like C++, I can tell you that I do not see any looping function that enters or modifies the elements of your array abc. I notice also that you do not declare where your result will appear. This may or may not be standard procedure for APDL. The only thing I can suggest is to try in APDL generating an array as you have. Loading that array with a sequence of non-zero numbers and then do an iterative process to the sequence. Examine your memory locations during each cycle with your debugging tool. Lastly, be certain that your C++ called subroutine inputs data and outputs data at the registers you call and examine with your APDL program.
Other than this standard programming troubleshooting method, I cannot help you any further.
Good Luck
__________________
"Don't disturb my circles." translation of Archimedes last words