waveForcing: Added optional lambdaBoundary specification
which allows lambda to set higher in the cells adjacent to the boundary which is particularly useful when solving for waves in a domain with no mean-flow and wave BCs to avoid numerical stability problems where the specified wave flow reverses into the domain. The alternative is to use symmetry rather than wave BCs on the side patches which is stable without using lambdaBoundary but there is modest distortion of the wave profile adjacent to the side patches which does not propagate into the domain due to the wave forcing.
This commit is contained in:
@ -45,7 +45,8 @@ forcing
|
||||
duration 0.5;
|
||||
}
|
||||
|
||||
lambda 25;
|
||||
lambda 5;
|
||||
lambdaBoundary 25;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ functions0
|
||||
DebugSwitches
|
||||
{
|
||||
// Write the forcing and damping scale and force fields
|
||||
// forcing 1;
|
||||
forcing 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user