Page 1 of 1

SaveBoundaryValues

Posted: 01 Mar 2010, 17:04
by ashinbrot
HI,

I'm trying to use SaveBoundaryValues to save the values of Displacement.Load.2 at Boundary "Fixed" to a file.

Can I perhaps view an example of this code that works, since mine doesn't?

Thanks,

Re: SaveBoundaryValues

Posted: 02 Mar 2010, 06:03
by ashinbrot
Answering my own post:

This gets me where I want to go (building on raback's answer to the Gradient question, further down the thread):

Solver 2
Procedure="SaveData" "SaveScalars"
Calculate Loads = True
Filename=Results.dat
Operator 1=boundary sum
Variable 1=Displacement loads 2
End

and then in the Boundary Condition statement of interest:

Save Scalars=Logical True

Probably not elegant, but it got me what I wanted.