Previous in Forum: the good of AC motors   Next in Forum: axial thrust
Close
Close
Close
3 comments
Rate Comments: Nested
Participant

Join Date: Sep 2008
Location: China
Posts: 2

help:ansys about surface load

10/18/2009 4:47 AM

I want to add specified loads to selected nodes. following is the step ,however it doesn't function.

*dim,abc,array,4

abc(1)=10,20,30,40

nsel,,13,16

sffun,pres,abc(1)

sf,all,pres,0

i donnot konw what is wrong.help!

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: help:ansys about surface load

10/18/2009 12:43 PM

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.

  1. State what you want your gizmo to do in as much detail as practical.
  2. 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.
  3. 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
Register to Reply
Participant

Join Date: Sep 2008
Location: China
Posts: 2
#2
In reply to #1

Re: help:ansys about surface load

10/18/2009 11:03 PM

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.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#3
In reply to #2

Re: help:ansys about surface load

10/19/2009 9:44 AM

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
Register to Reply
Register to Reply 3 comments

Previous in Forum: the good of AC motors   Next in Forum: axial thrust

Advertisement