Code Monkey home page Code Monkey logo

grasp's People

Contributors

justinclough avatar kenyaalexa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

grasp's Issues

Creating Double Delta and Double Dihedral Wing OMLs

The end goal is to extend GRASP to work on double delta and dihedral wings. Let's first focus on double delta wings. Breaking that down further, here are some milestones to aim for:

  • Create the wing Outer Mold Line (OML) for a double delta wing in ESP.
  • Create the calls needed in ESP to layout ribs and spars in the outer section of the wing OML.
  • Create the calls in Gmsh to import all needed ribs and spars to represent the wing frame
  • Edit the Albany input files to solve the needed problem with the new frame

If we do these milestone well, then adapting to handle double dihedral wings should be trivial!

For the first milestone of making the OML in ESP. Checkout how its down now here. This is the base wing_spars_ribs.csm script that GRASP uses as a template when creating new problems. This of course just makes a single section wing.

To see a method to create double sectioned wings, there is an example that ships with ESP. Look at ESP_ROOT/data/fighter1.csm, Line 225 for an example of a double sectioned wing. The basic pattern is:

# First mark the stack 
mark
  # Create a wing cross section
  # First make the wing root
  udprim naca ...
  # Scale it to the correct size (default chord length is 1)
  scale desired_chord_length
  # Rotate and translate it into place
  rotatez ...
  rotatex ...
  translate ...

  # Repeat to create another wing cross section at the joint
  udprim naca ...
  scale ...
  rotatex ...
  rotatez ...
  translate ...

  # Repeat again for the wing tip
  udprim naca ...
  scale ...
  rotatex ...
  rotatez ...
  translate ...

# Finally, we rule the three cross sections together to form a solid
rule

We'll only need three cross sections to define the two sections of the wing; first is the wing root, second is the joint, and third is the tip.

As a first step towards this milestone, see if you @kenyaalexa can start with a blank .csm script and make this two section wing. Don't worry about realistic numbers, just get the shape right. Build it incrementally and check your work in the ESP GUI to make sure you're where you think you are. Do use gedit to create and edit the .csm file as opposed to creating it in the ESP GUI window. That'll give you good practice for later on.

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.