|
[Sponsors] |
April 22, 2014, 14:14 |
Analyse an Airfoil at different velocities
|
#1 |
New Member
Markus
Join Date: Apr 2014
Posts: 2
Rep Power: 0 |
Hey there!
I want to analyse an airfoil at different velocities (55km/h, 110km/h, 165km/h, 220km/h, 275km/h) to find out the drag and downforce. Is it possible to analyse these five velocities in one run? Thanks for helping |
|
April 23, 2014, 10:30 |
|
#2 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
Yes, you can change the velocity using Java to automate the run. I'll post some code for it later.
|
|
April 23, 2014, 17:44 |
|
#3 |
New Member
Markus
Join Date: Apr 2014
Posts: 2
Rep Power: 0 |
||
April 24, 2014, 18:59 |
|
#4 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
So after getting your region, boundary, and creating a velocity magnitude profile, you can do this:
Code:
double velocities[] = {1.0,2.0,3.0,4.0,5.0}; for(double rampVelocity:velocities) { velocityMagnitudeProfile.getMethod(ConstantScalarProfileMethod.class).getQuantity().setValue(rampVelocity); sim.getSimulationIterator().step(1000); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Airfoil with simpleFoam and kOmegaSST: high drag values? | Tsiolkovsky | OpenFOAM Running, Solving & CFD | 6 | November 21, 2018 06:56 |
Low Speed Airfoil | Mancusi | FLUENT | 7 | April 3, 2014 07:11 |
Problem with restart solution in shape_optimization.py | robyTKD | SU2 Shape Design | 21 | May 29, 2013 10:26 |
Modeling Backflow for a 3D Airfoil (Wing of Finite Span) | Josh | CFX | 9 | August 18, 2009 12:31 |
Airfoil boundary condition | Frank | Main CFD Forum | 1 | April 21, 2008 19:36 |