OnTime- Visualization for Parallel and Serial Simulation in OpenSees

cypriotcamelUrban and Civil

Nov 29, 2013 (4 years and 5 months ago)

96 views

We

present

our

current

work

on

extending

VEES

(Visualizer

for

the

Earthquake

Engineering

System)

and

OpenSees

to

handle

visualization

during

and

or

after

a

parallelized

or

serial

simulation

run
.

Our

lightweight

framework

leverages

existing

superclasses

within

OpenSees

while

providing

the

necessities

to

load

state

time

step

by

time

step
.






The

source

code

for

the

simulation

runs

with

a

launch

of

VEES

replacing

analysis

commands,

and

the

user

can

pause

and

examine

constitutive

state

at

each

time

step
.


We

add

two

classes

to

OpenSees,

DomainRecorder

and

File_Channel
.


DomainRecorder

is

a

subclass

of

Recorder
.

Recorders

perform

some

action

on

each

commit

step

in

a

simulation
.

DomainRecorder

records

the

current

state

of

the

entire

simulation

domain

(stress,

strain,

stiffness,

deformation)

by

taking

advantage

of

the

MovableObject

interface’s

sendSelf

and

recvSelf

method
.

Elements,

Materials,

and

the

Domain

itself

are

all

required

to

implement

these

methods
.

The

interface

was

originally

designed

to

assist

with

parallelization

by

serializing

objects

to

send

to

other

compute

nodes
.

We

use

it

instead

to

capture

state

on

each

commit
.



The

state

of

the

entire

simulation

domain

is

saved

to

file

using

the

existing

sendSelf

methods,

with

the

caveat

that

presently

some

Finite

Elements’

sendSelf

methods

capture

only

material

constants,

not

stress,

strain

or

other

kinematic

properties
.


VEES

has

been

extended

to

load

domain

state

in

a

similar

fashion

(using

recvSelf)

and

the

graphical

user

interface

has

likewise

been

extended

to

facilitate

incrementing

and

decrementing

time

steps,

or

run

an

entire

simulation

as

a

movie
.


It

can

handle

changes

in

the

domain

such

as

removing

or

adding

elements

since

the

visualizer

essentially

runs

the

same

experiment

as

the

cluster,

but

without

computati
on
.

New Constitutive Visualizations






















Brick Gauss Points colored by


ii
2


The

latest

capability

is

to

select

a

single

brick

element,

and

then

a

single

gauss

point

within

the

element

to

examine

the

stiffness

tensor
.

We

use

the

idea

of

a

Reynolds

Glyph

which

morphs

a

unit

sphere

using

the

formula

E
ijkl
n
i
n
j
n
k
n
l

where

n

is

a

vector

of

unit

length

from

the

origin

of

the

sphere

to

the

surface
.
[