Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.47 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.47 KB

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".