First, we set the loop to the interval of the data.

*loop intervals

The next couple of lines indicate the starting of one section and the title of the example, taken from the first field in the interval data with an abbreviation on the label. They are followed by a comment explaining the type of data we are using.

LOADS

TITLE: *IntvData(Charge_case)

$ LOAD TYPE

We begin by setting the condition as before. If one condition is assigned twice or more to the same element without including the *CanRepeat parameter in the *Set Cond, the condition will appear once; if the *CanRepeat parameter is present then the number of conditions that will appear is the number of times it was assigned to the condition.

*Set Cond Face-Load *elems *CanRepeat

Then, a condition checks if any element exists in the condition.

*if(CondNumEntities(int)>0)

Next is a title for the next section, followed by a comment for the user.

DISTRIBUTED ON FACES

$ LOADS DISTRIBUTED ON ELEMENT FACES

We assign the number of nodes to a variable.

$ NUMBER OF NODES BY FACE NODGE = 2

$ LOADED FACES AND FORCE VALUES

*loop elems *OnlyInCond

ELEMENT=*elemsnum(), CONNECTIV *globalnodes

*cond(1) *cond(1) *cond(2) *cond(2)

*end elems

END_DISTRIBUTED ON FACES

*endif

The final section deals with outputting a list of the nodes and their conditions.