39
ForcePAD–A New User Interface Metaphorefor 2D Finite Element Modeling J. Lindemann and G. Sandberg Division of Structural Mechanics Lund University

ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

ForcePAD – A New User

Interface Metaphore for 2D

Finite Element Modeling

J. Lindemann and G. Sandberg

Division of Structural Mechanics

Lund University

Page 2: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Introduction

� First version developed in 2001

� Developed as a educational tool for

understanding shape and force relationships

� Used continously in courses for architect, design � Used continously in courses for architect, design

and engineering students

� ForcePAD targets

� Designers, archtitects and people without knowledge

of material, shape and force relationships.

� Engineering graduate students as a tool for enhancing

their understanding of basic mechanical concepts

Division of Structural Mechanics, Lund University 2USNCCM9 7/25/2007

Page 3: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

A short history

� ForcePAD 1.0.5

� Painting stiffness on element grid

� ForcePAD 2.0.x – 2.2.x

� Introduced Image based modeling

� ForcePAD 2.3 –

� Task oriented

� New boundary conditions

� Action mode with real-time updates

USNCCM9 7/25/2007 3Division of Structural Mechanics, Lund University

Page 4: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

4

Page 5: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson
Page 6: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson
Page 7: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Why ForcePAD?

� There was a need for a tool, explaining the basic

relationships in mechanics.

� Standard FE Software too complicated

� Geometry modelling

� Load cases

� Must have knowledge to use

� … too many features

� Often designed to be general

� Solve many types of problems

USNCCM9 7/25/2007 7Division of Structural Mechanics, Lund University

Page 8: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

What is ForcePAD?

� 2D finite element model - Plane stress

� Image based geometry modeling

� Uses the same user interface metaphores as in image

editing software (Paintbrush, Photoshop etc…)

� Stiffness represented as a grayscale

� White = no stiffness

� Black = full stiffness

USNCCM9 7/25/2007 8Division of Structural Mechanics, Lund University

Page 9: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

What is ForcePAD?

Pixel image FE-grid

Page 10: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

How do we create an easy to use user

interface for 2D FE modeling?interface for 2D FE modeling?

USNCCM9 7/25/2007Division of Structural Mechanics, Lund University 10

Page 11: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Reducing user interface complexity

� Most evolving applications adds features

� Users want features => more icons/menus

� Application becomes complex

� Donald Normal calls this ”creeping featurism”

� Even simple FE user interfaces has to handle� Even simple FE user interfaces has to handlemany features

� Solutions: � Avoidance and restrain (not allways possible)

� Organisation and modularisation

� functions divided into modules with each a limited set of functions

USNCCM9 7/25/2007 11Division of Structural Mechanics, Lund University

Page 12: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

ForcePAD 2.2 series

Many buttons

Flipouts

Property panels

Page 13: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Solution?

� Task oriented user interface

� Show only the tools needed for the task at hand

� To support this ForcePAD divided into 3 main

modes

� Sketch mode

� Physics mode

� Action mode

� Left toolbar - main tasks for the selected mode

� Right toolbar - task oriented commands

USNCCM9 7/25/2007 13Division of Structural Mechanics, Lund University

Page 14: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

ForcePAD 2.3 series

Main tasks Task operations

Drawing areaDrawing area

Application modes

Sketch mode

Physics mode

Action mode

Page 15: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Sketch mode

� Used to model the structure to be studied

� Modelling is done by ”Painting” with stiffness

� Available tasks� Available tasks

� Select

� Brush

� Geometric tools

� Flood fill

� All tasks are the same as in a conventional image editing application

USNCCM9 7/25/2007 15Division of Structural Mechanics, Lund University

Page 16: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Select

Selection marker

Cut

Copy

Paste

Paste from system clipboardPaste from system clipboard

Page 17: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Brush

Brush mode

Erase mode

Stiffness selection

Brush size

Page 18: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Geometric tools

Rectangle tool

Circle tools

Line tool

Stiffness selector

Page 19: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Flood fill

Stiffness selector

Page 20: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson
Page 21: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Physics mode

� Defines the physical constraints of the problems

� Forces

� Constraints

� Hinges (In the final 2.3.0 release)

� Cuts (In the final 2.3.0 release)

� Tasks:

� Forces

� Constraints

USNCCM9 7/25/2007 21Division of Structural Mechanics, Lund University

Page 22: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Forces

Add forces

Erase forces

Enable self-weight

Page 23: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Constraints

Add constraint

Erase constraint

Rotate constraint

Page 24: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson
Page 25: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Action mode

� Representation of the structure

subjected to loads and constraints

� No ”Start Calculation” button

� Simulation is done when transitioning to

action modeaction mode

� Model must be consistant before entering

action mode

� Visual representations of

� Stress

� Displacements

USNCCM9 7/25/2007 25Division of Structural Mechanics, Lund University

Page 26: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Action mode continued…

� Many parameters for the visualisation can be changed

� Transparency, Arrow size, thickness, repeat etc.

� Filters for compressive/tensile stress

� Stress threshold

� Action mode provides 3 tasks

� Principal stresses

� Mises stresses (under development)

� Displacements

� Applied forces can be modified in real-time.

� This applies for all visualisation tasks

USNCCM9 7/25/2007 26Division of Structural Mechanics, Lund University

Page 27: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Principal stresses

Arrow size control

Stress arrow transparency

Stress arrow skip control

Stop autoscaling of result stress arrows

Show compression and tension

Show only tension

Show only compression

Page 28: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Von Mises Stresses

”Jet” colorscale

”Hot” colorscale

Set treshold for max colorscale

Invert colorscale

Page 29: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Displacements

Displacement scale

Page 30: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Real-time model modification

Page 31: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Real-time model modification

Page 32: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson
Page 33: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Interacting with other programs

� Most designers and architects use the sketch as

the main design tool

� Software tools such as Adobe Illustrator,

Photoshop are also commonPhotoshop are also common

� ForcePAD has the ability to import pictures from

files or the clipboard

� Scanned sketches can be used

� Sketches in Photoshop can be imported directly

USNCCM9 7/25/2007 33Division of Structural Mechanics, Lund University

Page 34: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Interacting with other programs

Page 35: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Implementation goals

� Fast and responsive

� Fast visualisations

� Fast drawing

� Fast solving

� Modern GUI� Modern GUI

� Hints

� High-colored icons

� Standard toolset

� Platform independent

� Mac OS X, Linux and Windows

USNCCM9 7/25/2007 35Division of Structural Mechanics, Lund University

Page 36: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Implemenation

� Language � C++

� User interface� Fast Light Toolkit (FLTK 1.1.x)

� Available for Linux, Mac OS X and Windows

� Very good performance on all platforms

FLTK OpenGL

X11 WIN32Cocoa

ForcePAD

Hardware

� Very good performance on all platforms

� Solver� Implemeted using the NEWMAT11 library

� Graphics� OpenGL

� Interface to hardware accelerated 3D and 2D

� Fast rasterisation interface

� Platform independent

USNCCM9 7/25/2007 36Division of Structural Mechanics, Lund University

Page 37: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Conclusions

� ForcePAD is an effective and easy to use

educational software

� ForcePAD can be used in both engineering and in

design science education

� FE modeling without ”geometry” definition for

quick and eady modeling

� Visualisation and understanding of internal

forces, part of the design process

� Task based user interface for reduced complexity

USNCCM9 7/25/2007 37Division of Structural Mechanics, Lund University

Page 38: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Future work

� More constraints types with intuitive userinterface metaphors

� Eigenmodes

� Enable real-time constraint modification in action-modeaction-mode

� Take advantage of multi-core for even moreeffective solvers

� Open the ForcePAD application, enabling customapplication types and solvers

� Current source available on sourceforge via subversion

USNCCM9 7/25/2007 38Division of Structural Mechanics, Lund University

Page 39: ForcePAD–A New User Interface Metaphorefor 2D Finite Element …forcepad.sourceforge.net/docs/forcepad_usnccm9.pdf · 2007-07-25 · A shorthistory ForcePAD1.0.5 Paintingstiffnesson

Getting ForcePAD

www.byggmek.lth.se/resources/software

USNCCM9 7/25/2007Division of Structural Mechanics, Lund University 39

www.byggmek.lth.se/resources/software