Question: I assign X condition on some nodes and then assign Y condition on some nodes(include some nodes I select when assign X condition),then I write a calculate file,those nodes I select both when I assign X condition and Y condition only have Y condition value,but the X condition is lost.Could you tell me the reason?
Response: If you desire to apply a same condition (same name with different values) more of one times to a entity, this condition must be declared as CANREPEAT: yes in the *.cnd file.
If CANREPEAT: no (default), then the second same condition replaces the first:
Inside the bas file also exist a
*Set Cond Face-Load *elems *canrepeat
*# if canrepeat is missing, it is assumed by default in this case,
*# because Face-Load have CANREPEAT: yes
*loop elems *OnlyInCond
Elem number=*elemsnum, Nodes of the loaded face= *globalnodes Px=*cond(X_preassure) Py=*cond(Y_preassure)