Product: ABAQUS/Standard
User subroutine UMASFL:
can be used to prescribe the mass flow rate vector at the nodes of a model as a function of position and time;
will be called whenever a current value of mass flow rate (per unit area) is needed for a node listed in a user-subroutine-defined mass flow rate definition (the node should belong to one or more convection/diffusion elements); and
will overwrite any flow rate data specified for the associated mass flow rate definition outside the user subroutine.
SUBROUTINE UMASFL(FLOW,KFLOW,KSTEP,KINC,TIME,NODE,COORDS) C INCLUDE 'ABA_PARAM.INC' C DIMENSION FLOW(KFLOW), TIME(2), COORDS(3) C user coding to define FLOW RETURN END
FLOW
Total value of the mass flow rate vector at this point. The number of components in this vector is KFLOW. If KFLOW=1, give the total mass flow rate through the cross-section (for one-dimensional elements). If KFLOW=2, give the x-component and y-component of the flow rate vector as FLOW(1) and FLOW(2). If KFLOW=3, give the x-component, y-component, and z-component as FLOW(1), FLOW(2), and FLOW(3).
KFLOW
The number of components in the mass flow rate vector. UMASFL will be called only once per node.
KSTEP
Step number.
KINC
Increment number.
TIME(1)
Current value of step time.
TIME(2)
Current value of total time.
NODE
Node number.
COORDS
An array containing the coordinates of this node.