New olaflow run processus, includeing paddle boundary condition
This commit is contained in:
parent
1506fd06a1
commit
02c8586672
12 changed files with 2671 additions and 20 deletions
2449
olaflow/of/constant/waveDict
Normal file
2449
olaflow/of/constant/waveDict
Normal file
File diff suppressed because it is too large
Load diff
46
olaflow/of/constant/waveDict_paddle.org
Normal file
46
olaflow/of/constant/waveDict_paddle.org
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.3 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object waveDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
waveType wavemaker;
|
||||
|
||||
waveTheory tveta;
|
||||
|
||||
genAbs 1;
|
||||
|
||||
absDir 0.0;
|
||||
|
||||
nPaddles 1;
|
||||
|
||||
timeSeries
|
||||
{n}
|
||||
(
|
||||
{t}
|
||||
);
|
||||
|
||||
paddleVelocity
|
||||
{n}
|
||||
(
|
||||
{v}
|
||||
);
|
||||
|
||||
paddleEta
|
||||
{n}
|
||||
(
|
||||
{eta}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.7.1 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
|
|
@ -48,14 +47,14 @@ boundary
|
|||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
/*outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 5 6 2)
|
||||
);
|
||||
}
|
||||
}*/
|
||||
wall1
|
||||
{
|
||||
type wall;
|
||||
|
|
@ -70,6 +69,7 @@ boundary
|
|||
faces
|
||||
(
|
||||
(3 2 6 7)
|
||||
(1 5 6 2)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ startTime 0;
|
|||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 60;
|
||||
endTime 200;
|
||||
|
||||
deltaT 0.1;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ FoamFile
|
|||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 0
|
||||
volVectorFieldValue U (0 0 0)
|
||||
volScalarFieldValue porosityIndex 0
|
||||
);
|
||||
|
||||
|
|
@ -32,6 +33,15 @@ regions
|
|||
volScalarFieldValue alpha.water 1
|
||||
);
|
||||
}
|
||||
boxToCell
|
||||
{
|
||||
box (-100 0 0) (-100 1 1);
|
||||
|
||||
fieldValues
|
||||
(
|
||||
volVectorFieldValue U (1 0 0)
|
||||
);
|
||||
}
|
||||
surfaceToCell
|
||||
{
|
||||
file "./constant/triSurface/poro.stl";
|
||||
|
|
|
|||
Reference in a new issue