ODEn OpenSees Design Environment Adam Markowitz, Alisa Neeman, Boris Jeremić, Alex Pang University of California, Santa Cruz and 11/7/2015 University of California, Davis.
Download ReportTranscript ODEn OpenSees Design Environment Adam Markowitz, Alisa Neeman, Boris Jeremić, Alex Pang University of California, Santa Cruz and 11/7/2015 University of California, Davis.
ODEn OpenSees Design Environment Adam Markowitz, Alisa Neeman, Boris Jeremić, Alex Pang University of California, Santa Cruz and 11/7/2015 University of California, Davis 1 Motivation • OpenSees earthquake engineering simulation requires hand-coding C++ or Tcl • User creates a mesh in Abaqus or GiD • Creation of materials • Creation of elements • one by one or • user may write single-use Matlab script to assist • Process is cumbersome and error-prone • No visual cues to aid user 11/7/2015 2 The Dream… 11/7/2015 3 Pieces of ODEn • Abconv • Convert Abaqus data to OpenSees XML document • ODEn (GUI) • Visualize, modify, and persist OpenSees XML Documents • Osgen • Generate OpenSees source code (C++, Tcl, etc.) from OpenSees XML documents 11/7/2015 4 Why use XML? • • • • • • Well formatted Automated validation Human readable Machine readable Platform Independent XML does half the work of a compiler • Facilitates translation to other formats 11/7/2015 5 Main Capabilities • Automate mesh-to-element transformation • Provide visual interface so user can check design for errors • Automate creation of materials • Facilitate assignment of materials and/or material properties • To single elements • To groups of elements • Persist models for future modifications 11/7/2015 6 Abconv • Read mesh data from Abaqus • Convert mesh data into an OpenSees XML document *Part, name=Soil *Node 1, 30368., 0., 13520. 2, 23504., 0., 13520. ./abconv mesh.inp <NodeGroup name="Soil"> <Node id="1" Crd1="30368" Crd2="0" Crd3="13520" /> <Node id="2" Crd1="23504" Crd2="0" Crd3="13520" /> 11/7/2015 7 ODEn • Domain inspector • Allows selection and modification (materials, etc.) of finite elements and finite element groups • Reads in OpenSees XML documents • Generated by abconv • Serialized from OpenSees Domain (printXMLModel) • Persist OpenSees XML document with properties such as materials, etc. 11/7/2015 8 ODEn interface Element group Material properties 11/7/2015 9 ODEn interface Saved Materials 11/7/2015 10 osgen osgen (OpenSees Generator) takes an OpenSees XML instance document, and validates against the OpenSees XML Schema. This XML instance document represents a serialized OpenSees Domain and is used to generate runnable source code automatically. Essentially, osgen acts like a compiler from XML to C++ or Tcl. XML schema XML domain 11/7/2015 Generate C++ validate Generate Tcl 11 Big Picture ODEn allows visualization, design, and modification of properties for OpenSees objects using an intuitive Graphical User Interface Input: OpenSees XML document, Abaqus mesh data, etc. Output: OpenSees XML document, C++ or Tcl source code 11/7/2015 12 Future Work • Version Control Integration to version Domain XML Documents • Code generation plugins (such as Tcl) • Architecture already in place! • Multi-platform GUI support 11/7/2015 13 Working prototype can be found at NEESforge as part of the VEES project We’re looking for volunteers to code and participate in user studies http://neesforge.nees.org/projects/vees/ 11/7/2015 14