Skip to content

An application for simulating and airfoil deployed on the open source cloud software Openstack.

Notifications You must be signed in to change notification settings

gabrielevensen/Airfoil-as-a-Service

 
 

Repository files navigation

Airfoil as a Service

The airfoil project is made to work as a cloud service using celery workers, RabbitMQ as the broker, Flask as the application. The results are stored in a MongoDB database.

workflow

Starting up with Heat

On your own terminal source the file from your cloud provider source UPPMAX 2021_1-5-openrc.sh

Update heat-file ssc-heat.yaml with your key name and the public part of your key . Have key-file and the ssc-heat.yaml in the same folder and run openstack stack create airfoil_stack -f 'yaml' -t ssc-heat.yaml to start up the services.

Please have patience when setting up the VM! Wait for at least 20 minutes after the HOT has been deployed. Both heat and cloudinit installs necessary packages on the VM and deploys a docker with the airfoil application to run the mesh files with below input. If you wish another set of mesh arguments edit this in second_step.sh shell script. #ARGUMENTS to runme.sh <angle.start> <angle.stop> <no.of.angles> <no.of.nodes> <no.of.refinement.levels> #./runme.sh 0 30 10 200 1

Go into a web browser http://<floating-ip>:5000/home> and run the number of files wanted (submit at most 22 files, there are 22 mesh-files crated as default). Use the the floating IP of the master VM containing the Flask service. Wait a couple of minutes before you enter "Click here to view airfoil results".

About

An application for simulating and airfoil deployed on the open source cloud software Openstack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.4%
  • Shell 30.4%
  • HTML 11.6%
  • Dockerfile 8.6%