libwaves.so: Now included in the alpha and U wave BC specification
rather than in controlDict.
This commit is contained in:
@ -24,15 +24,19 @@ boundaryField
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
"(top|inlet)"
|
||||
{
|
||||
type waveVelocity;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(front|back)"
|
||||
{
|
||||
type symmetryPlane;
|
||||
|
||||
@ -24,10 +24,13 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
"(top|inlet|outlet)"
|
||||
{
|
||||
type waveAlpha;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
"(front|back)"
|
||||
{
|
||||
type symmetryPlane;
|
||||
|
||||
@ -50,9 +50,4 @@ adjustTimeStep no;
|
||||
|
||||
maxCo 1;
|
||||
|
||||
libs
|
||||
(
|
||||
"libwaves.so"
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -28,6 +28,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type waveVelocity;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
outlet
|
||||
|
||||
@ -26,6 +26,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type waveAlpha;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
outlet
|
||||
|
||||
@ -52,8 +52,6 @@ maxCo 10;
|
||||
maxAlphaCo 5;
|
||||
maxDeltaT 0.01;
|
||||
|
||||
libs ("libwaves.so");
|
||||
|
||||
functions
|
||||
{
|
||||
surfaces
|
||||
|
||||
@ -25,19 +25,23 @@ boundaryField
|
||||
left
|
||||
{
|
||||
type waveVelocity;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type outletPhaseMeanVelocity;
|
||||
UnMean 2;
|
||||
alpha alpha.water;
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
tangentialVelocity $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type noSlip;
|
||||
|
||||
@ -26,12 +26,14 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
left
|
||||
{
|
||||
type waveAlpha;
|
||||
U U;
|
||||
libs ("libwaves.so");
|
||||
inletOutlet true;
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type inletOutlet;
|
||||
|
||||
@ -54,11 +54,6 @@ maxAlphaCo 1;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
libs
|
||||
(
|
||||
"libwaves.so"
|
||||
);
|
||||
|
||||
functions
|
||||
{
|
||||
interfaceHeight1
|
||||
|
||||
@ -25,12 +25,15 @@ boundaryField
|
||||
"(inlet|inletSide)"
|
||||
{
|
||||
type waveVelocity;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type noSlip;
|
||||
|
||||
@ -25,13 +25,16 @@ boundaryField
|
||||
"(inlet|inletSide)"
|
||||
{
|
||||
type waveAlpha;
|
||||
libs ("libwaves.so");
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type zeroGradient;
|
||||
|
||||
@ -54,11 +54,6 @@ maxAlphaCo 1;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
libs
|
||||
(
|
||||
"libwaves.so"
|
||||
);
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc isoSurface(isoField=alpha.water, isoValue=0.5, fields=())
|
||||
|
||||
Reference in New Issue
Block a user