Math operations in APDL

S
shbo4183
Sun, Oct 9, 2022 10:50 AM

Hello Ansys users,

I would like to know how to write the below in Ansys APDL code:

C = 23 * ((10)^(8/9))

Till now I used the square of a number as B = 2*2 (for example), but not
sure how to write the power of a number or parameter as shown above.
Kindly give me a hint on this.

Thanks & Regards,
Shravani Bojja
FUAS

Hello Ansys users, I would like to know how to write the below in Ansys APDL code: C = 23 * ((10)^(8/9)) Till now I used the square of a number as B = 2*2 (for example), but not sure how to write the power of a number or parameter as shown above. Kindly give me a hint on this. Thanks & Regards, Shravani Bojja FUAS
MG
Mohammad Gharaibeh
Sun, Oct 9, 2022 11:28 AM

As APDL is based on FORTRAN, the power is written as two stars (). In
other words, for N to the power M (N^M), we write N
M.

Good Luck!

---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348

---====

As APDL is based on FORTRAN, the power is written as two stars (**). In other words, for N to the power M (N^M), we write N**M. Good Luck! ===================================== Mohammad A Gharaibeh, Ph.D. Associate Professor Department of Mechanical Engineering The Hashemite University P.O. Box 330127 Zarqa, 13133, Jordan Tel: +962 - 5 - 390 3333 Ext. 4771 Fax: +962 - 5 - 382 6348 =====================================
S
shbo4183
Sun, Oct 9, 2022 12:09 PM

On 09.10.2022 13:28, Mohammad Gharaibeh via Xansys wrote:

As APDL is based on FORTRAN, the power is written as two stars (). In
other words, for N to the power M (N^M), we write N
M.

Good Luck!

---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348

---====


Xansys mailing list -- xansys-temp@list.xansys.org
To unsubscribe send an email to xansys-temp-leave@list.xansys.org
If you are receiving too many emails from XANSYS please consider
changing account settings to Digest mode which will send a single
email per day.

Please send administrative requests such as deletion from XANSYS to
xansys-mod@tynecomp.co.uk and not to the list

Thanks for your quick reply:)

Regards,
Shravani Bojja

On 09.10.2022 13:28, Mohammad Gharaibeh via Xansys wrote: > As APDL is based on FORTRAN, the power is written as two stars (**). In > other words, for N to the power M (N^M), we write N**M. > > Good Luck! > ===================================== > Mohammad A Gharaibeh, Ph.D. > Associate Professor > Department of Mechanical Engineering > The Hashemite University > P.O. Box 330127 > Zarqa, 13133, Jordan > Tel: +962 - 5 - 390 3333 Ext. 4771 > Fax: +962 - 5 - 382 6348 > ===================================== > _______________________________________________ > Xansys mailing list -- xansys-temp@list.xansys.org > To unsubscribe send an email to xansys-temp-leave@list.xansys.org > If you are receiving too many emails from XANSYS please consider > changing account settings to Digest mode which will send a single > email per day. > > Please send administrative requests such as deletion from XANSYS to > xansys-mod@tynecomp.co.uk and not to the list Thanks for your quick reply:) Regards, Shravani Bojja