Giter Club home page Giter Club logo

openvsp3plugin's Introduction

OpenVSP3Plugin

What is OpenVSP?

Open Vehicle Sketch Pad (OpenVSP) is a parametric aircraft geometry tool. OpenVSP allows the user to create a 3D model of an aircraft defined by common engineering parameters. This model can be processed into formats suitable for engineering analysis.[1]

The predecessors to OpenVSP have been developed by J.R. Gloudemans and others for NASA since the early 1990’s. On January 10 2012, OpenVSP was released as an open source project under the NASA Open Source Agreement (NOSA) version 1.3.[1]

What is the OpenVPS3Plugin?

The OpenVSP3Plugin is a JAVA software tool that allows for the interface between OpenVSP and an analysis framework such as Phoenix Integration’s ModelCenter or the NASA developed OpenMDAO software. The OpenVSP3Plugin is designed to work on any computer desktop platform (Mac, Linux, and Windows) that has a local installation of JAVA.

The OpenVSP3Plugin performs three main functions:
  1. Parse an OpenVSP v. 3 file

  2. Auto-generate an OpenVSP script and a design (.des) file

  3. Execute OpenVSP with the auto-generated script and apply user selected design variables in the design file. (ModelCenter only)

The user selects the design variables written in the design file through the interactive graphical user interface.

Build

To build the OpenVSP3Plugin, edit the build.bat file and run it. Edit the build.bat file and set JDK_HOME to the path of your JAVA installation. If you have ModelCenter installed set MC_INSTALL to the path of your ModelCenter installation.

:: JDK_HOME is required and must point to an installed JDK
set "JDK_HOME=C:/Program Files/Java/jdk1.8.0_151"

:: MC_INSTALL is optional but required to use the plugin with ModelCenter
:: Comment this line if you don't have ModelCenter
::set "MC_INSTALL=C:/Program Files/Phoenix Integration/ModelCenter 12.0"

Prebuilt releases (OpenVSP3Plugin.jar)

Prebuilt releases will be built using the latest source code and JAVA 8 JDK and ModelCenter 12 interfaces

Installation

There is no custom installer for the OpenVSP3Plugin, it must be done by hand.
The OpenVSP3Plugin uses 2 environment variables:

OpenVSP_EXE (Required)

This needs to be set to the path of the OpenVSP executable (vsp.exe) that the plugin will use.

TMP (ModelCenter only)

(probably already set on your machine) Is used to create temporary folders in which OpenVSP is executed, and the output files are parsed.

OpenMDAO

To use the OpenVSP3Plugin in an OpenMDAO environment simply execute the OpenVSP3Plugin.jar file. This can be accomplished by running the following command:
java -jar OpenVSP3Plugin.jar

In this mode all temporary files are written to the current working directory.

ModelCenter

See ModelCenter help on installing plugins and "registrationless plugins".

OpenVSP3Plugin logging can be viewed in the ModelCenter JAVA Console. Open the "Preferences" dialog, Tools→Preferences…​, select the Java Plug-Ins tab, and check the Show Java Console checkbox.

Documentation

A presentation on how to use the OpenVSP3Plugin is located here: OpenVSP Workshop 2017 OpenVSP3Plugin

openvsp3plugin's People

Contributors

jasonduley avatar jfenbert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openvsp3plugin's Issues

OpenVSP3Plugin on Linux.

Hi! I would like to understand about how I could install this plugin on linux

Thanks in advance.

Expose OpenVSP 3.14.1 new structures variables

There are many new design variables related to the new structures capability.
These need to be exposed by the plugin.
Some new variables are exposed automatically but these do not follow the previous XML naming conventions.

Connection Failure

Hello, I have followed the instructions to edit the build.bat, set the environment variables, and I can see the component in ModelCenter, but once I try and open the component, I get a Connection Failure error that says:

Unable to locate: component plug-in:SOFTWARE\Phoenix Integration\Component Plug-Ins\OpenVSP3Plugin
Reason: Error: java.lang.NoClassDefFoundError: javafx/collections/ObservableList.
Action: loading plug-in.

I am using JDK 8 and ModelCenter 14.0 (only version available).

Do you have any idea what I am doing wrong?

Build Error

When trying to build I get the following error.

src\main\java\openvsp3plugin\JavaFXUI.java:110: error: cannot find symbol
private FileChooser fileChooser = new FileChooser();
^
symbol: class FileChooser
location: class JavaFXUI

Add ability to generate CFD mesh files

The plugin exposes the CFDMeshSettings.ExportCFD.* flags used in the GUI to select which formats to output the generated CFD mesh. These flags have not effect when running the vspscript. The plugin needs to expose output file variables and populate them when they are selected.

java.io.Filenotfoundexception

when I get the option to open a vsp3 file, and I do i get the following error:

java.io.FileNotFoundException: .\OpenVSP3PluginCompGeom.csv (No such file or directory)

additional notes, I am running this on ubuntu 18.04.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.