PHOENICS User Meeting 2006 PHOENICS Tomorrow PRELUDE New PHOENICS pre-processor Why does PHOENICS need a new pre- processor? In the first years of PHOENICS,

Slides:



Advertisements
Similar presentations
PHOENICS User Meeting 2006 PHOENICS Today Domain partitioning; exporting and importing. Domain-partitioning reduces a large calculation to a succession.
Advertisements

PHOENICS User Meeting 2006 PHOENICS Today In-Form, 1 In-Form is the third stage in the process of helping users to extend the simulation capability of.
PHOENICS User Meetings 2008 PRELUDE PRELUDE New PHOENICS pre-processor Why does PHOENICS need a new pre- processor? In the first years of PHOENICS, data.
INTRODUCTION TO ADOBE FLASH CS4
Bringing Procedural Knowledge to XLIFF Prof. Dr. Klemens Waldhör TAUS Labs & FOM University of Applied Science FEISGILTT 16 October 2012 Seattle, USA.
MultiLoop III - Tutorial 1 Running an existing model.
Dashboards Slide by ana’s presentation. Tired of these challenges? No centralized view of executive information from multiple functional areas and systems;
PHOENICS May What is PHOENICS P arabolic H yperbolic O r E lliptic N umerical I ntegration C ode S eries PHOENICS is a general-purpose CFD.
Decision Analysis Tools in Excel
MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
The Web Warrior Guide to Web Design Technologies
1 Chapter 12 Working With Access 2000 on the Internet.
Software Requirements
Guide To UNIX Using Linux Third Edition
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Guide To UNIX Using Linux Third Edition
ASP.NET Programming with C# and SQL Server First Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
A First Program Using C#
Chapter 2 How to Compile and Execute a Simple Program.
EnSight analyze, visualize, communicate EnSight 6.x Advanced Training Part 1 Instructors: Mike Krogh, Anders Grimsrud.
Database Design with VisualDCT Nicholas Di Monte.
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
Spreadsheet-Based Decision Support Systems Chapter 22:
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lab 4 Using Solver, Linking Workbooks,
Innovation Intelligence ® SimLab Automation Training Nirmal Subbaiah May, 2013.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Chapter 8: Writing Graphical User Interfaces
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® INTRODUCTION TO FLASH ANIMATION.
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
1. 2 Preface In the time since the 1986 edition of this book, the world of compiler design has changed significantly 3.
XP Tutorial 8 Adding Interactivity with ActionScript.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
XP New Perspectives on XML, 2 nd Edition Tutorial 7 1 TUTORIAL 7 CREATING A COMPUTATIONAL STYLESHEET.
MULTLAB FEM-UNICAMP UNICAMP Extending the simulation capabilities of CFD codes The PHOENICS In-Form Facility Extending the simulation capabilities of CFD.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Software Engineering, COMP201 Slide 1 Software Requirements BY M D ACHARYA Dept of Computer Science.
Chapter – 8 Software Tools.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
13-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 13 Solver.out File and CCL Introduction to.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
MPEG-4 Binary Information for Scenes (BIFS)
PRELUDE New PHOENICS pre-processor
Chapter 13 Solver .out File and CCL
Matlab Training Session 4: Control, Flow and Functions
Computer Programming.
Compiler Construction
INTRODUCTION TO FLASH ANIMATION
Data Model.
CSE 307 Basics of Image Processing
Tutorial 7 – Integrating Access With the Web and With Other Programs
An Introduction to JavaScript
Presentation transcript:

PHOENICS User Meeting 2006 PHOENICS Tomorrow PRELUDE New PHOENICS pre-processor Why does PHOENICS need a new pre- processor? In the first years of PHOENICS, data were input via text files (Q1s) written in PIL (PHOENICS Input Language). PIL had (and has) many valuable features: (new-variable declaration, logic, DO loops, CASE structures, file reading, etc; but not all users found it easy. Therefore menu-type input procedures were introduced, for users who did not know PIL, so as to write Q1s for them.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Losses as well as gains Much good was done, e.g. -- visual display and manipulation; -- attention focussed on objects. -- use of x, y, z, rather than ix, iy, iz; * But much was lost also, namely: -- declarations, -- logic, -- case structures, etc. This need not have been so, we can now recognise; but hindsight is easy.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Resulting shortcomings Consequently the Q1 written by the VR-editor defines adequately the data needed for a single solver run. However, the Q1 contains no record of the class of runs of which it was a single instance. PRELUDE has been introduced as a means of preserving and enriching that record.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Other motives It has also been said that the VR-Editor looks old-fashioned. Perhaps that is because some dialogue boxes are indeed old. Do they betray their Fortran basis? PRELUDE does have a more modern appearance; but achieving it has not been a high-priority aim (rightly?). More important is that PRELUDE looks (and acts) the same under both Windows and Unix/Linux.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Relation of PRELUDE to Satellite PRELUDE and Satellite work in tandem. PRELUDE passes its output to Satellite in the form of a Q1 file, which Satellite then converts into eardat and facetdat and passes to the solver for execution.

PHOENICS User Meeting 2006 PHOENICS Tomorrow PRELUDE as environment The activation of Satellite, Solver and Viewer is achieved from within PRELUDE, which thereby acts as an environment. It may itself have been activated from the Commander, in its role of 'outer environment'. Interactive users of the Satellite can, if they wish, modify the data on its way to the solver, by way of the VR-Editor.

PHOENICS User Meeting 2006 PHOENICS Tomorrow main features of PRELUDE, 1 PRELUDE processes input data provided by one or more of the following: a single-instance Q1 file, a multiple-instance Q3 file, a script containing human-editable commands, input, especially of data relationships, provided interactively by the user..dat files defining shapes,.ac files created by AC3D,.stl files.pob files

PHOENICS User Meeting 2006 PHOENICS Tomorrow main features, 2 PRELUDE allows relationships to be typed into boxes, whereafter they are acted upon instantly. This is probably the most important of all the features of PRELUDE. Its relational character distinguishes it from Satellite in the same way as an EXCEL spread-sheet is distinguished from an palm- top calculator. Does any competing code possess this?

PHOENICS User Meeting 2006 PHOENICS Tomorrow Further features PRELUDE can launch a series of PHOENICS runs, with different values of specified parameters, and access the results in an orderly way. PRELUDE treats 'phi-variables' as objects having attributes, in a manner similar to physical objects (except that they have no visual representation). PRELUDE also treats as objects 'models' such as IMMERSOL, k-epsilon, and solid-stress, which appear on the 'object-tree as children of the 'domain' object and as parents of their associated 'phis'.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Relationships exemplified

PHOENICS User Meeting 2006 PHOENICS Tomorrow Main features, 3 PRELUDE can record the results of an interactive-input session in the form of a Q3 file, which, because it preserves the algebraically-expressed relationships between the data elements, can be used for the creation of an unlimited number of individual-instance simulations. PRELUDE has 'undo' capabilities.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Who will use PRELUDE ? 1 Users of the Gateway approach to PHOENICS (i.e. the goal-scorers) Gateways allow users to perform simulations of pre- defined kinds, with the minimum of difficulty. Such users are presented with all that they need, but no more. They are not required to make CFD-specific decisions.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Who will use PRELUDE ? 2 The makers of Gateways (i.e. mid- field players) usually: -- consultants, for their clients, -- lecturers, for their students, -- CHAM and CHAM-J staff, for selected application sectors, -- the company PHOENICS expert, for his coal-face colleagues.

PHOENICS User Meeting 2006 PHOENICS Tomorrow What is a gateway? A Gateway consists of: a script which sets up an initial scenario; a 'store-cupboard' containing a set of objects with attributes which the user is is expected to need ; a script embodying a tutorial which enables the new user to learn what to do; some exemplary Q3s.

PHOENICS User Meeting 2006 PHOENICS Tomorrow What is a Q3? It is a kind of generalised Q1, embodying classes, of cases, not just single instances. It preserves declared variables. It preserves relationships. Although often created and modified interactively, it is human-editable.

PHOENICS User Meeting 2006 PHOENICS Tomorrow What is a PRELUDE script ? It is a file written in Tcl/Tk, with extensions introduced by CHAM, which tell PRELUDE what to do. It acts like a macro of PRELUDE-user key- board entries. It is NOT for the general user (either forward of mid-field); but CHAM could offer training in script-writing.

PHOENICS User Meeting 2006 PHOENICS Tomorrow More about Gateways Gateways are much easier to create than special-purpose programs. Three which are now being finalised are: -- The Virtual Wind Tunnel -- Heating, Ventilating and Air- conditioning -- Fire, and smoke movement.

PHOENICS User Meeting 2006 PHOENICS Tomorrow PRELUDE demonstrated G W Michel CHAM © 2006

PHOENICS User Meeting 2006 PHOENICS Tomorrow Prelude Next generation editor for PHOENICS Relationships specified mathematically IN-Form creation of boundary conditions, buoyancy etc. More object formats are supported User writable script extensions Undo/Redo for most features. Prompt to save on exit if any parameter has been changed.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Relationships Parameters are defined as functions of other properties Parameters include position, size, rotation of objects, and user variables. Checks formulae for type of result (2.4 is not an integer)

PHOENICS User Meeting 2006 PHOENICS Tomorrow In-Form BCs Functions can be specified as functions of coordinates and other parameters EG parabolic velocity at inlet with a single inlet object

PHOENICS User Meeting 2006 PHOENICS Tomorrow As Seen in PRELUDE Prelude defines the inform statements as text EARTH interprets the statements Prelude saves and restores the statements and can add new statements.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Formats beyond.dat Other file formats are supported by the OpenSceneGraph graphics engine. EG.3ds model of a watch with texture (its about time…)

PHOENICS User Meeting 2006 PHOENICS Tomorrow Parametric Objects Defined using Tcl script (which can be created by the end user or a consultant) Example: a baffle with a cutout area. Shape parameters are radius, cutout depth, length and number of facets.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Parametric Baffle Adjusting the parameters such as cutout and length changes the shape without editing and saving a geometry file

PHOENICS User Meeting 2006 PHOENICS Tomorrow Tree Model of Scene A Scenegraph is used to optimise performance and achieve hierarchical graphics. The table, plus chair and computer is a single assembly but PHOENICS can set separate properties for each component.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Hierarchical Table Rotate the assembly (table) and all the other parts remain at the same relative positions. Position in PHOENICS handled automatically by PRELUDE.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Textured Objects Can use ac3d to generate textured objects. Or other data sources - here the OSG format sample of a cow….

PHOENICS User Meeting 2006 PHOENICS Tomorrow Using other objects The Cow is passed to EARTH and flow around the cow in a virtual wind tunnel solved.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Architecture Very complex models can be imported into Prelude and exported to EARTH - PARSOL does its best to fit vertices facets

PHOENICS User Meeting 2006 PHOENICS Tomorrow Results around House Very hard to mesh due to open windows, but PARSOL gives this result in less than 4 minutes on a 2GHz PC.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Multiple runs PRELUDE can perform multiple runs, varying a parameter on each run. Here an airfoil is placed in the VWT and its incidence changed from -15 to 5 degrees.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Results of Incidence After about 5 minutes CPU, I achieved the 5 runs displayed here. (incidence - -15,-10,-5,0,5 degrees) The scales of pressure are not identical in the examples.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Summary PRELUDE is the latest tool for access to PHOENICS features Users and consultants can produce special purpose gateways to enable clients to access the features they need with maximum ease and reliability.

PHOENICS User Meeting 2006 PHOENICS Tomorrow Future for PRELUDE Add a rigid body dynamics code to provide inputs to MOFOR Improved access to DWG, DXF or other CAD formats (please tell us your requirements) Display of results in the PRELUDE graphics scene.