What causes a change in wind direction when it hits a sail?

AI Thread Summary
The discussion focuses on the complexities of modeling wind direction changes when it interacts with a sail in a computer simulation. It highlights that when the angle between the wind and sail approaches PI/2, the physics of the situation become problematic, as the sail can stall and trap wind instead of redirecting it. The conversation emphasizes the need to treat different operational regimes of the sail separately, particularly between redirecting wind and stalling. Suggestions include using fluid dynamics for accurate modeling and approximating stalled air with mathematical functions. Ultimately, the user found a satisfactory approximation for their simulation, indicating progress in their project.
WishFish
Messages
3
Reaction score
0
I'm trying to make a computer simulation of ship.
Currently I'm working on a force of wind on the ship sail.

This is the page which describes the basics:
http://www.animations.physics.unsw.edu.au/jw/sailing.html

Basicaly, wind (W - vector) has some staring direction and then that direction is chaged because of sail (S - vector). So wind change vector (Fw) is: Fw = S - W.
Because of Newton low, it means that force on boat is -Fw, or:

Fb = W - S

So far so good.
But when the angle between the wind and sail becomes close to PI/2 my physics break apart.
What happens then is that the resulting Fb is either down left or down right, both of
which is wrong. As it is intuitively clear, when angle between wind and sail is PI/2, the resulting force on sail should be in the same direction as wind.

Clearly, the problem is that wind current will split into two streams, left and right, and when their separate forces are summed, everything in fine again.
But how to put it into simple equations?
 
Physics news on Phys.org
I'm afraid you can't simply adapt your given equation to cover this. The problem is there are two different regimes the sail is operating in...

1. As long as the angle between sail and wind is small enough, the wind hits the leading edge of the sail (nearest the mast, the part of the sail known as the 'luff') and is redirected along the length of the sail (to its 'leech') the resulting momentum change exerting a force on the boat.

2. However, once the boat is pointing sufficiently downwind the sail 'stalls', and to a first approximation just traps the wind --- the momentum change now is just the original momentum of the wind before it hits the sail. A simple view of the wind splitting off to both sides of the sail as you suggest gives the same basic result (these two momentum will cancel), but in reality what tends to happen is that turbulence develops behind the sail.

So you will have to write your computer program to treat each regime separately. But remember, you want to be working with the relative (or 'apparent') wind, not the absolute wind. It is possible for instance that on a heading that is downwind but not parallel to the wind (a very 'broad reach') a sail could start off stalled but as the boat speed builds begin to operate as a foil again due to changes in the relative wind vector.

Precisely when you switch between these two regimes is also not entirely clear cut I'm afraid. For an entirely flat sail you could argue that it always has a leading edge until the angle becomes exactly PI/2 but this is not very realistic and turbulence would likely develop before this. An accurate answer could only be obtained by proper fluid dynamical modelling. For a toy model like this, you might get acceptable results by slowly increasing the percentage of 'stalled air' after the angle reaches some threshold. I'm afraid I don't know enough about detailed sail aerodynamics to offer anything better than that.

Also be careful with your orientations. You said that:
WishFish said:
But when the angle between the wind and sail becomes close to PI/2 my physics break apart. What happens then is that the resulting Fb is either down left or down right, both of which is wrong.

But if you meant by "down" the direction opposite to that in which the boat is pointing, then you are confused. Your formula (although wrong in this regime) should still predict a forward force on the boat when the boat is headed directly downwind ('on a run'). The only time a PI/2 angle between wind and sail would give a backward force on the boat is if you 'back' the sail --- i.e. the wind is hitting the sail from the wrong side.

As an interesting aside, square rigged sales and spinnakers are sometimes trimmed so that instead of stalling, they operate by redirecting the wind downwards (i.e. their upper edges become the leading edges) allowing better downwind progress for the boat. Also there are a few small sailing dinghies (such as the Olympic Laser class) that allow their mainsail to be let out at such a large angle to the boat that the sail can channel the air in the reverse direction (the part of the sail furthest from the mast, known as the 'leech', becoming the leading edge and that past nearest the mast, the luff, becoming the trailing edge) --- known as "sailing by the lee" and resulting with the sail being on the windward rather than leeward side of the boat. But I don't suggest you try and model these complications!
 
Actually, i started to programm this game as a simple drive-your-small-boat-left-right-up-down, so i want to keep things as simple as possible (read, no turbulence :)).

jmb said:
I'm afraid you can't simply adapt your given equation to cover this. The problem is there are two different regimes the sail is operating in...

I'm handeling this by switching direction of vector of the sail when angle between sail and relative wind is less then PI/2

jmb said:
Precisely when you switch between these two regimes is also not entirely clear cut I'm afraid. For an entirely flat sail you could argue that it always has a leading edge until the angle becomes exactly PI/2 but this is not very realistic and turbulence would likely develop before this. An accurate answer could only be obtained by proper fluid dynamical modelling. For a toy model like this, you might get acceptable results by slowly increasing the percentage of 'stalled air' after the angle reaches some threshold. I'm afraid I don't know enough about detailed sail aerodynamics to offer anything better than that.

That's exactly what i need, predicting amount of this "stalled air"?

I'm currently thinking about using sin^{(3, or higher)}(angle sail<-->rel. wind) to get amount of stalled air?
jmb said:
As an interesting aside, square rigged sales and spinnakers are sometimes trimmed so that instead of stalling, they operate by redirecting the wind downwards (i.e. their upper edges become the leading edges) allowing better downwind progress for the boat. Also there are a few small sailing dinghies (such as the Olympic Laser class) that allow their mainsail to be let out at such a large angle to the boat that the sail can channel the air in the reverse direction (the part of the sail furthest from the mast, known as the 'leech', becoming the leading edge and that past nearest the mast, the luff, becoming the trailing edge) --- known as "sailing by the lee" and resulting with the sail being on the windward rather than leeward side of the boat. But I don't suggest you try and model these complications!

Yes, as i read some materials on the net about sailing, it seems that LAZER is something sacred, right? :)

And thnx for the answer!
 
Solved it with approximation.

I used the following code to approximate amount of water that would flow on the opposite side and it works satisfactory!

double angle2 = Math.PI - relativeSpeed.angle(vKeel);
double oppositeStream = (Math.pow(angle2, 4))/(2.0*Math.pow(Math.PI/2.0, 4));

http://img233.imageshack.us/img233/8995/rjeseno.th.jpg
 
Last edited by a moderator:
Sorry for replying so late.

Glad to here it works. Although I can't say I know of any physical justification for the approximation you've used!

If you ever finish the game send me a PM, since as you may have guessed I'm a bit of a sailing buff!
 
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Struggling to make relation between elastic force and height'
Hello guys this is what I tried so far. I used the UTS to calculate the force it needs when the rope tears. My idea was to make a relationship/ function that would give me the force depending on height. Yeah i couldnt find a way to solve it. I also thought about how I could use hooks law (how it was given to me in my script) with the thought of instead of having two part of a rope id have one singular rope from the middle to the top where I could find the difference in height. But the...
Back
Top