TUT: tab removal

This commit is contained in:
Mark Olesen
2018-06-21 15:43:15 +02:00
parent 73fbed1c2c
commit 237f20b0ed
29 changed files with 158 additions and 139 deletions

View File

@ -31,16 +31,16 @@ divSchemes
laplacianSchemes laplacianSchemes
{ {
default none; default none;
//laplacian(K,T) Gauss linear uncorrected; //laplacian(K,T) Gauss linear uncorrected;
laplacian(kappa,T) Gauss harmonic uncorrected; laplacian(kappa,T) Gauss harmonic uncorrected;
laplacian(thermo:alpha,h) Gauss harmonic uncorrected; laplacian(thermo:alpha,h) Gauss harmonic uncorrected;
} }
interpolationSchemes interpolationSchemes
{ {
default linear; default linear;
//default none; //default none;
} }
snGradSchemes snGradSchemes

View File

@ -14,7 +14,7 @@ FoamFile
object nut; object nut;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -1 0 0 0 0 ]; dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0; internalField uniform 0;
@ -41,5 +41,4 @@ boundaryField
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus | | \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com | | \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus | | \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com | | \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -59,7 +59,7 @@ PIMPLE
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
transonic no; transonic no;
consistent no; consistent no;
} }
relaxationFactors relaxationFactors

View File

@ -38,7 +38,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
top top

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;
@ -65,6 +66,7 @@ functions
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets sets
( (
line1 line1
@ -115,7 +117,7 @@ functions
start ( 10.0 0.005 0.0 ); start ( 10.0 0.005 0.0 );
end ( 10.0 0.005 0.8 ); end ( 10.0 0.005 0.8 );
nPoints 1001; nPoints 1001;
} }
line7 line7
{ {
type uniform; type uniform;
@ -123,7 +125,7 @@ functions
start ( 12.0 0.005 0.0 ); start ( 12.0 0.005 0.0 );
end ( 12.0 0.005 0.8 ); end ( 12.0 0.005 0.8 );
nPoints 1001; nPoints 1001;
} }
line8 line8
{ {
type uniform; type uniform;

View File

@ -35,11 +35,11 @@ boundaryField
sides1 sides1
{ {
type slip; type slip;
} }
sides2 sides2
{ {
type slip; type slip;
} }
ground ground

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep on; adjustTimeStep on;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;
@ -62,10 +63,10 @@ functions
writeControl writeTime; writeControl writeTime;
writeInterval 1; writeInterval 1;
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets sets
( (
line1 line1
{ {
@ -77,7 +78,9 @@ functions
} }
); );
fixedLocations false; fixedLocations false;
fields fields
( (
U alpha.water U alpha.water

View File

@ -35,7 +35,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
ground ground

View File

@ -38,7 +38,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
top top

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;
@ -115,7 +116,7 @@ functions
start ( 9.0 0.01 0.0 ); start ( 9.0 0.01 0.0 );
end ( 9.0 0.01 1.5 ); end ( 9.0 0.01 1.5 );
nPoints 1001; nPoints 1001;
} }
); );
fixedLocations false; fixedLocations false;

View File

@ -48,9 +48,10 @@ runTimeModifiable yes;
adjustTimeStep on; adjustTimeStep on;
maxCo 0.4; maxCo 0.4;
maxAlphaCo 0.4; maxAlphaCo 0.4;
maxDeltaT 0.01; maxDeltaT 0.01;
functions functions
{ {
@ -63,6 +64,7 @@ functions
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets sets
( (
s1 s1
@ -99,7 +101,7 @@ functions
start ( 4.645 0.275 0.0 ); start ( 4.645 0.275 0.0 );
end ( 4.645 0.275 0.5 ); end ( 4.645 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s5 s5
{ {
@ -108,7 +110,7 @@ functions
start ( 5.2 0.275 0.0 ); start ( 5.2 0.275 0.0 );
end ( 5.2 0.275 0.5 ); end ( 5.2 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s6 s6
{ {
@ -126,13 +128,13 @@ functions
start ( 6.15 0.275 0.0 ); start ( 6.15 0.275 0.0 );
end ( 6.15 0.275 0.5 ); end ( 6.15 0.275 0.5 );
nPoints 101; nPoints 101;
} }
); );
fixedLocations false; fixedLocations false;
fields (alpha.water); fields (alpha.water);
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -48,9 +48,10 @@ runTimeModifiable yes;
adjustTimeStep on; adjustTimeStep on;
maxCo 0.4; maxCo 0.4;
maxAlphaCo 0.4; maxAlphaCo 0.4;
maxDeltaT 0.01; maxDeltaT 0.01;
functions functions
{ {
@ -63,6 +64,7 @@ functions
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets sets
( (
s1 s1
@ -99,7 +101,7 @@ functions
start ( 4.645 0.275 0.0 ); start ( 4.645 0.275 0.0 );
end ( 4.645 0.275 0.5 ); end ( 4.645 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s5 s5
{ {
@ -108,7 +110,7 @@ functions
start ( 5.2 0.275 0.0 ); start ( 5.2 0.275 0.0 );
end ( 5.2 0.275 0.5 ); end ( 5.2 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s6 s6
{ {
@ -126,13 +128,14 @@ functions
start ( 6.15 0.275 0.0 ); start ( 6.15 0.275 0.0 );
end ( 6.15 0.275 0.5 ); end ( 6.15 0.275 0.5 );
nPoints 101; nPoints 101;
} }
); );
fixedLocations false; fixedLocations false;
fields (alpha.water); fields (alpha.water);
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -35,7 +35,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
ground ground

View File

@ -38,7 +38,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
top top

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;
@ -115,7 +116,7 @@ functions
start ( 10.0 0.02 0.0 ); start ( 10.0 0.02 0.0 );
end ( 10.0 0.02 0.75 ); end ( 10.0 0.02 0.75 );
nPoints 1001; nPoints 1001;
} }
line7 line7
{ {
type uniform; type uniform;
@ -123,7 +124,7 @@ functions
start ( 12.0 0.005 0.0 ); start ( 12.0 0.005 0.0 );
end ( 12.0 0.005 0.75 ); end ( 12.0 0.005 0.75 );
nPoints 1001; nPoints 1001;
} }
line8 line8
{ {
type uniform; type uniform;

View File

@ -35,7 +35,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
ground ground

View File

@ -38,7 +38,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
top top

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;

View File

@ -35,7 +35,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
ground ground

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep on; adjustTimeStep on;
maxCo 0.65; maxCo 0.65;
maxAlphaCo 0.65; maxAlphaCo 0.65;
maxDeltaT 0.05; maxDeltaT 0.05;
@ -62,10 +63,11 @@ functions
writeControl writeTime; writeControl writeTime;
writeInterval 1; writeInterval 1;
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets
( sets
(
line1 line1
{ {
type uniform; type uniform;
@ -114,7 +116,7 @@ functions
start ( 7.0 0.005 0.0 ); start ( 7.0 0.005 0.0 );
end ( 7.0 0.005 0.8 ); end ( 7.0 0.005 0.8 );
nPoints 1001; nPoints 1001;
} }
line7 line7
{ {
type uniform; type uniform;
@ -122,7 +124,7 @@ functions
start ( 8.0 0.005 0.0 ); start ( 8.0 0.005 0.0 );
end ( 8.0 0.005 0.8 ); end ( 8.0 0.005 0.8 );
nPoints 1001; nPoints 1001;
} }
line8 line8
{ {
type uniform; type uniform;
@ -132,7 +134,9 @@ functions
nPoints 1001; nPoints 1001;
} }
); );
fixedLocations false; fixedLocations false;
fields fields
( (
U alpha.water U alpha.water

View File

@ -35,7 +35,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
ground ground

View File

@ -38,7 +38,7 @@ boundaryField
sides sides
{ {
type empty; type empty;
} }
top top

View File

@ -33,7 +33,7 @@ inlet
wavePeriod 3.017; wavePeriod 3.017;
uMean 2.0825; uMean 2.0825;
waveLength 6.2832; waveLength 6.2832;
@ -53,16 +53,16 @@ inlet
Ejs Ejs
( (
5.6009609e-002 5.6009609e-002
3.1638171e-002 3.1638171e-002
1.5375952e-002 1.5375952e-002
7.1743178e-003 7.1743178e-003
3.3737077e-003 3.3737077e-003
1.6324880e-003 1.6324880e-003
8.2331980e-004 8.2331980e-004
4.4403497e-004 4.4403497e-004
2.7580059e-004 2.7580059e-004
2.2810557e-004 2.2810557e-004
); );
} }

View File

@ -41,7 +41,7 @@ boundaryField
} }
ground ground
{ {
type epsilonWallFunction; type epsilonWallFunction;
value uniform 0.0001; value uniform 0.0001;
} }
} }

View File

@ -42,7 +42,7 @@ boundaryField
} }
ground ground
{ {
type kqRWallFunction; type kqRWallFunction;
value uniform 0.001; value uniform 0.001;
} }
} }

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep on; adjustTimeStep on;
maxCo 0.4; maxCo 0.4;
maxAlphaCo 0.4; maxAlphaCo 0.4;
maxDeltaT 0.01; maxDeltaT 0.01;
@ -62,92 +63,94 @@ functions
enabled true; enabled true;
writeControl writeTime; writeControl writeTime;
interpolationScheme cellPoint; interpolationScheme cellPoint;
setFormat raw; setFormat raw;
sets sets
( (
s1 s1
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 2.065 0.275 0.0 ); start ( 2.065 0.275 0.0 );
end ( 2.065 0.275 0.5 ); end ( 2.065 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s2 s2
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 3.565 0.275 0.0 ); start ( 3.565 0.275 0.0 );
end ( 3.565 0.275 0.5 ); end ( 3.565 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s3 s3
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 3.99 0.275 0.0 ); start ( 3.99 0.275 0.0 );
end ( 3.99 0.275 0.5 ); end ( 3.99 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s4 s4
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.055 0.275 0.0 ); start ( 4.055 0.275 0.0 );
end ( 4.055 0.275 0.5 ); end ( 4.055 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s5 s5
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.155 0.275 0.0 ); start ( 4.155 0.275 0.0 );
end ( 4.155 0.275 0.5 ); end ( 4.155 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s6 s6
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.275 0.275 0.0 ); start ( 4.275 0.275 0.0 );
end ( 4.275 0.275 0.5 ); end ( 4.275 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s7 s7
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.395 0.275 0.0 ); start ( 4.395 0.275 0.0 );
end ( 4.395 0.275 0.5 ); end ( 4.395 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s8 s8
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.515 0.275 0.0 ); start ( 4.515 0.275 0.0 );
end ( 4.515 0.275 0.5 ); end ( 4.515 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s9 s9
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.635 0.275 0.0 ); start ( 4.635 0.275 0.0 );
end ( 4.635 0.275 0.5 ); end ( 4.635 0.275 0.5 );
nPoints 101; nPoints 101;
} }
s10 s10
{ {
type uniform; type uniform;
axis distance; axis distance;
start ( 4.77 0.275 0.0 ); start ( 4.77 0.275 0.0 );
end ( 4.77 0.275 0.5 ); end ( 4.77 0.275 0.5 );
nPoints 101; nPoints 101;
} }
); );
fixedLocations false; fixedLocations false;
fields fields
( (
p p_rgh U alpha.water p p_rgh U alpha.water

View File

@ -29,7 +29,7 @@ Mangroves
cellZone c0; cellZone c0;
a 0.01; a 0.01;
N 560; N 560;
Cm 1; Cm 1;
Cd 1.52; Cd 1.52;
} }
} }
@ -51,8 +51,8 @@ TurbulenciaMangroves
cellZone c0; cellZone c0;
a 0.01; a 0.01;
N 560; N 560;
Ckp 1; Ckp 1;
Cep 3.5; Cep 3.5;
Cd 1.52; Cd 1.52;
} }
} }