A group project for the Applied Cloud Computing course at Uppsala University
Using a 2D NavierStokes solver based on the Finite Element Method (FEM), and implemented using the open source framework FEniCS/Dolfin together with the Mesh generation software Gmsh, We are developing a cloudbased solution and service for conducting experiments to assess the influence of the angle of attack on the lift force (for different values of the other inputs to the program).
Clone the repo using Git:
git clone https://github.com/DrThyme/ACC_Project.git
Alternatively you can download as .zip!
source setup.sh
# Enter your credentials etc.
This requires that you have an account on the SMOG cloud (regionOne)
python cw2.py
# URL to flower dashboard and Web UI will be printed in the terminal.
This requires that you have an account on the SMOG cloud (regionOne)
Running multiple sequential calculations from the Web-UI may cause the task queue to crash.
Some parameters are set and can not be changed in the current implementation.
@celery.task
def calc_lift_force(ang):
#....
# Your function
#....
@apps.route('/result')
def start():
maxAngle = request.args['maxAngle']
minAngle = request.args['minAngle']
numSamples = request.args['numSamples']
#....
# Do Stuff with input from the form in airfoil.html
#....
tasks = [calc_lift_force.s(angle) for angle in a_list]
task_group = group(tasks)
group_result = task_group()
while (group_result.ready() == False):
time.sleep(2)
res = group_result.get()
#....
# Return stuff
#....
Group 1:
- Andreas Gäwerth
- Tim Josefsson
- Adam Ruul
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Added my new feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request!