3.5. Nodal Loading Routines
3.5.1. disiqr Function (Getting Information About Constraints)
*deck,disiqr
function disiqr (node,key)
c *** primary function: get information about constraints
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number for inquire.
c key (int,sc,in) - key as to the information needed
c = 1 - return constraint mask
c = DB_MAXDEFINED,
c DB_NUMDEFINED - return number of nodal constraints
c NOTE: both DB_MAXDEFINED and
c DB_NUMDEFINED produce the same
c functionality
c output arguments:
c disiqr (int,func,out) - the returned value of disiqr is based on
c setting of key.
3.5.2. disget Function (Getting a Constraint from the Database)
*deck,disget
function disget (inode,idf,value)
c *** primary function: get a constraint from the data base (in raw form)
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c variable (typ,siz,intent) description
c inode (int,sc,in) - node number (negative value for no
c partabeval)
c idf (int,sc,in) - reference number for the DOF: (1-32)
c UX = 1, UY = 2, UZ = 3, ROTX= 4, ROTY= 5, ROTZ= 6, AX = 7, AY = 8
c AZ = 9, VX =10, VY =11, VZ =12 , , , WARP=16
c CONC=17, HDSP=18, PRES=19, TEMP=20, VOLT=21, MAG =22, ENKE=23, ENDS=24
c EMF =25, CURR=26 SP01=27, SP02=28, SP03=29, SP04=30, SP05=31, SP06=32
c (missing entries are spares)
c output arguments:
c disget (int,func,out) - status of constraint.
c = 0 - no constraint on this node
c for this DOF
c = 4 - this node has a constraint
c defined for this DOF
c = -4 - this node has a pseudo-support
c defined for this DOF
c value (dp,ar(4),out) - constraint values
c value(1-2) - (real,imag) values of present settings
c value(3-4) - (real,imag) values of previous settings
3.5.3. disput Subroutine (Storing a Constraint at a Node)
*deck,disput
subroutine disput (node,idf,value)
c *** primary function: store a constraint at a node.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c idf (int,sc,in) - reference number of DOF: (1-32)
c UX = 1, UY = 2, UZ = 3, ROTX= 4, ROTY= 5, ROTZ= 6, AX = 7, AY = 8
c AZ = 9, VX =10, VY =11, VZ =12
c CONC=17 PRES=19, TEMP=20, VOLT=21, MAG =22, ENKE=23, ENDS=24
c EMF =25, CURR=26 (missing entries are spares)
c value (dp,ar(2),in) - (real,imag) values for constraint
c output arguments: none.
3.5.4. disdel Subroutine (Deleting a Constraint at a Node)
*deck,disdel
subroutine disdel (node,idf)
c *** primary function: delete a constraint at a node
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number.
c idf (int,sc,in) - reference number of DOF: (1-32)
c UX = 1, UY = 2, UZ = 3, ROTX= 4, ROTY= 5, ROTZ= 6, AX = 7, AY = 8
c AZ = 9, VX =10, VY =11, VZ =12
c CONC=17, PRES=19, TEMP=20, VOLT=21, MAG =22, ENKE=23, ENDS=24
c EMF =25, CURR=26 (missing entries are spares)
c output arguments: none.
3.5.5. foriqr Function (Getting Information About Nodal Loads)
*deck,foriqr
function foriqr (node,key)
c *** primary function: get information about nodal loads.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - number of node being inquired about.
c should be 0 for key=DB_MAXDEFINED or
c DB_NUMDEFINED
c key (dp,sc,in) - key as to information needed
c = 1 - return force mask for node
c = DB_MAXDEFINED,
c DB_NUMDEFINED - return number of nodal loadings
c in model
c NOTE: both DB_MAXDEFINED and DB_NUMDEFINED
c produce the same functionality
c output arguments:
c foriqr (int,func,out) - the returned value of foriqr is based on
c setting of key.
3.5.6. forget Function (Getting a Constraint from the Database)
*deck,forget
function forget (inode,idf,value)
c *** primary function: get a force from the data base (in raw form)
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c inode (int,sc,in) - node number (negative value for no
c partabeval)
c idf (int,sc,in) - reference number for the DOF: (1-32)
c (see echprm.inc)
c output arguments:
c forget (int,func,out) - status of constraint.
c = 0 - no loading on this node for this DOF
c = 4 - this node has a loading for this DOF
c value (dp,ar(4),out)
c value(1-2) - (real,imag) values of present settings
c value(3-4) - (real,imag) values of previous settings
3.5.7. forput Subroutine (Storing a Nodal Load at a Node)
*deck,forput
subroutine forput (node,idf,value)
c *** primary function: store a nodal load at a node
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c idf (int,sc,in) - reference number for the DOF: (1-32)
c FX = 1, FY = 2, FZ = 3, MX = 4, MY = 5, MZ = 6, CSGX= 7, CSGY= 8
c CSGZ= 9, VFX =10, VFY =11, VFZ =12
c RATE=17 FLOW=19, HEAT=20, AMPS=21, FLUX=22, NPKE=23, NPDS=24
c CURT=25, (missing entries are spares)
c value (dp,ar(2),in) - (real,imag) values of force
c output arguments: none.
3.5.8. fordel Subroutine (Deleting a Nodal Load at a Node)
*deck,fordel
subroutine fordel (node,idf)
c *** primary function: delete a nodal load at a node
c *** secondary functions: none.
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c idf (int,sc,in) - reference number for the DOF: (1-32)
c FX = 1, FY = 2, FZ = 3, MX = 4, MY = 5, MZ = 6, CSGX= 7, CSGY= 8
c CSGZ= 9, VFX =10, VFY =11, VFZ =12
c RATE=17, FLOW=19, HEAT=20, AMPS=21, FLUX=22, NPKE=23, NPDS=24
c CURT=25, (missing entries are spares)
c output arguments:
c none.
3.5.9. ntpiqr Function (Getting Information About a Nodal Temperature)
*deck,ntpiqr
function ntpiqr (node,key)
c *** primary function: get information about a nodal temperature
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c should be zero for key=2
c key (int,sc,in) - key for operation
c = 1 - return temperature status
c ntpiqr = 0 - node has no temperature
c constraint defined
c = 1 - node has a temperature
c constraint defined
c = 2 - return total number of nodal
c temperatures defined in model
c output arguments:
c ndinqr (int,func,out) - the returned value of ndinqr is based on
c setting of key.
3.5.10. ntpget Function (Getting a Specified Nodal Temperature)
*deck,ntpget
function ntpget (node,tmp)
c *** primary function: get specified nodal heat generation (in raw form)
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c output arguments:
c ntpget (int,func,out) - heat generation status of node.
c = 0 - nodal heat generation undefined
c = 1 - nodal heat generation is defined
c tmp (dp,ar(2),out) - the nodal heat generation (new,old).
3.5.11. ntpput Subroutine (Storing a Nodal Temperature)
*deck,ntpput
subroutine ntpput (node,temp)
c *** primary function: store nodal temperature.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c temp (dp ,sc,in) - nodal temperature
c output arguments: none.
3.5.12. ntpdel Subroutine (Deleting a Nodal Temperature)
*deck,ntpdel
subroutine ntpdel (node)
c *** primary function: delete node temperatures.
c *** Notice - This file contains ANSYS Confidential information ***
c
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c
c output arguments:
c none.
3.5.13. nhgiqr Function (Getting Information About Nodal Heat Generations)
*deck,nhgiqr
function nhgiqr (node,key)
c *** primary function: get information about nodal heat generations
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c should be 0 for key=2
c key (int,sc,in) - key for operation
c = 1 - return whether node has a heat generation rate
c defined
c nhgiqr = 0 - no heat generation defined for node
c = 1 - heat generation is defined for node
c = 2 - return total number of nodal heat generation
c rates defined in model
c output arguments:
c nhgiqr (int,func,out) - the returned value of nhgiqr is based on
c setting of key.
3.5.14. nhgget Function (Getting a Nodal Heat Generation)
*deck,nhgget
function nhgget (node,hg)
c *** primary function: get specified nodal heat generation (in raw form)
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c output arguments:
c nhgget (int,func,out) - heat generation status of node.
c = 0 - nodal heat generation undefined
c = 1 - nodal heat generation is defined
c hg (dp,ar(2),out) - the nodal heat generation (new,old).
3.5.15. nhgput Subroutine (Storing Nodal Heat Generation)
*deck,nhgput
subroutine nhgput (node,hg)
c *** primary function: store nodal heat generation.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c hg (dp ,sc,in) - nodal heat generation
c output arguments: none.
3.5.16. nhgdel Subroutine (Deleting a Nodal Heat Generation)
*deck,nhgdel
subroutine nhgdel (node)
c *** primary function: delete nodal heat generations.
c *** Notice - This file contains ANSYS Confidential information ***
c
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c output arguments:
c none.
3.5.17. nfuiqr Function (Getting Information About Nodal Fluences)
*deck,nfuiqr
function nfuiqr (node,key)
c *** primary function: get information about nodal fluences
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c should be zero for key=2
c key (int,sc,in) - key for operation
c = 1 - return status:
c nfuiqr = 0 - node does not have a fluence constraint
c = 1 - node has a fluence constraint
c = 2 - return total number of nodal fluences defined on
c model
c output arguments:
c nfuiqr (int,func,out) - the returned value of nfuiqr is based on
c setting of key.
3.5.18. nfuget Function (Getting a Nodal Fluence)
*deck,nfuget
function nfuget (node,fluen)
c *** primary function: get specified nodal fluence.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c output arguments:
c nfuget (int,func,out) - fluence status of node.
c = 0 - node has no fluence constraint
c = 1 - node has a fluence constaint
c fluen (dp ,ar(2),out) - the nodal fluences (new,old).
3.5.19. nfuput Subroutine (Storing a Nodal Fluence)
*deck,nfuput
subroutine nfuput (node,fluen)
c *** primary function: store nodal fluence.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c fluen (dp ,sc,in) - nodal fluence
c output arguments: none.
3.5.20. nfudel Subroutine (Deleting a Nodal Fluence)
*deck,nfudel
subroutine nfudel (node)
c *** primary function: delete node fluences.
c
c *** Notice - This file contains ANSYS Confidential information ***
c
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c
c output arguments:
c none.
c
3.5.21. ndciqr Function (Getting Information About Nodal Current Densities)
*deck,ndciqr
function ndciqr (node,key)
c *** primary function: get information about nodel current densities
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c should be zero for key=2
c key (int,sc,in) - key for operation
c = 1 - return nodal current status:
c ndciqr = 0 - no current density defined for this node
c = 1 - node has a current density defined
c = 2 - total number of nodal current densities defined
c on model
c output arguments:
c ndciqr (int,func,out) - the returned value of ndciqr is based on
c setting of key.
3.5.22. ndcget Function (Getting a Nodal Current Density)
*deck,ndcget
function ndcget (node,currd)
c *** primary function: get specified nodal current density.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c output arguments:
c ndcget (int,func,out) - current density status of node.
c = 0 - node has no current density defined
c = 1 - node has a current density defined
c currd (dp,ar(4,2),out) - the node current density (new,old).
3.5.23. ndcput Subroutine (Storing a Nodal Current Density)
*deck,ndcput
subroutine ndcput (node,currd)
c *** primary function: store nodal current density.
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c currd (dp ,ar(4),in) - nodal current densities
c output arguments: none.
3.5.24. ndcdel Subroutine (Deleting a Nodal Current Density)
*deck,ndcdel
subroutine ndcdel (node)
c *** primary function: delete nodal current densities
c *** Notice - This file contains ANSYS Confidential information ***
c
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c
c output arguments:
c none.
3.5.25. nvdiqr Function (Getting Information About Nodal Magnetic Virtual
Displacements)
*deck,nvdiqr
function nvdiqr (node,key)
c *** primary function: get information about nodal mag virtual disps
c *** Notice - This file contains ANSYS Confidential information ***
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c should be zero for key=2
c key (int,sc,in) - key for operation
c = 1 - return magnetic virtual displacement status
c nvdiqr = 0 - no mag. virt. disps defined for this node
c = 1 - node has mag. virt. disps defined
c = 2 - return total number of nodal magnetic virtual
c displacements defined on model
c output arguments
c nvdiqr (int,func,out) - the returned value of nvdiqr is based on
c setting of key.
3.5.26. nvdget Function (Getting a Nodal Magnetic Virtual Displacement)
*deck,nvdget
function nvdget (node,virtd)
c *** primary function: get specified nodal magnetic virtual displacement
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c output arguments:
c nvdget (int,func,out) - virtual disp status of node.
c = 0 - node has no magnetic virtual
c displacement
c = 1 - node has a magnetic virtual
c displacement
c virtd (dp ,sc,out) - the nodal virtual displacement value
3.5.27. nvdput Subroutine (Storing a Nodal Virtual Displacement)
*deck,nvdput
subroutine nvdput (node,virtd)
c *** primary function: store nodal virtual displacement
c *** Notice - This file contains ANSYS Confidential information ***
c input arguments:
c node (int,sc,in) - node number
c virtd (dp ,sc,in) - nodal virtual displacement
c output arguments: none.
3.5.28. nvddel Subroutine (Deleting a Nodal Virtual Displacement)
*deck,nvddel
subroutine nvddel (node)
c *** primary function: delete nodal virtual displacements.
c *** Notice - This file contains ANSYS Confidential information ***
c
c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout
c
c input arguments:
c variable (typ,siz,intent) description
c node (int,sc,in) - node number
c
c output arguments:
c none.