-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e3264f
commit 8b214f9
Showing
102 changed files
with
12,781 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TInFFoam.C | ||
|
||
EXE = $(FOAM_USER_APPBIN)/TInFFoam |
1,488 changes: 1,488 additions & 0 deletions
1,488
tutorials/TInFFoam/Make/linux64GccDPInt32Opt/TInFFoam.C.dep
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# 1 "Make/options" | ||
# 1 "<built-in>" | ||
# 1 "<command-line>" | ||
# 8 "<command-line>" | ||
# 1 "/usr/include/stdc-predef.h" 1 3 4 | ||
|
||
# 17 "/usr/include/stdc-predef.h" 3 4 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# 8 "<command-line>" 2 | ||
# 1 "Make/options" | ||
EXE_INC = -I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/meshTools/lnInclude | ||
|
||
|
||
|
||
EXE_LIBS = -lfiniteVolume -lmeshTools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SOURCE = \ | ||
TInFFoam.C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EXE = $(FOAM_USER_APPBIN)/TInFFoam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
EXE_INC = \ | ||
-I$(LIB_SRC)/finiteVolume/lnInclude \ | ||
-I$(LIB_SRC)/meshTools/lnInclude | ||
|
||
EXE_LIBS = \ | ||
-lfiniteVolume \ | ||
-lmeshTools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/*---------------------------------------------------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation | ||
\\/ M anipulation | | ||
------------------------------------------------------------------------------- | ||
License | ||
This file is part of OpenFOAM. | ||
OpenFOAM is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. | ||
Application | ||
icoFoam | ||
Description | ||
Transient solver for incompressible, laminar flow of Newtonian fluids. | ||
\*---------------------------------------------------------------------------*/ | ||
|
||
#include "fvCFD.H" | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
#include "setRootCaseLists.H" | ||
#include "createTime.H" | ||
#include "createMesh.H" | ||
#include "createFields.H" | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
Info<< "\nStarting time loop\n" << endl; | ||
|
||
while (runTime.loop()) | ||
{ | ||
Info<< "Time = " << runTime.timeName() << nl << endl; | ||
|
||
U.correctBoundaryConditions(); | ||
|
||
runTime.write(); | ||
|
||
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" | ||
<< " ClockTime = " << runTime.elapsedClockTime() << " s" | ||
<< nl << endl; | ||
} | ||
|
||
Info<< "End\n" << endl; | ||
|
||
return 0; | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Info<< "Reading field U\n" << endl; | ||
volVectorField U | ||
( | ||
IOobject | ||
( | ||
"U", | ||
runTime.timeName(), | ||
mesh, | ||
IOobject::MUST_READ, | ||
IOobject::AUTO_WRITE | ||
), | ||
mesh | ||
); | ||
|
||
#include "createPhi.H" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 6 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volVectorField; | ||
location "0"; | ||
object U; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (1 0 0); | ||
|
||
boundaryField | ||
{ | ||
|
||
inlet | ||
{ | ||
type turbulentATSMInlet; | ||
periodicInY true; | ||
periodicInZ true; | ||
vortonType "typeL"; | ||
density 1; | ||
value $internalField; | ||
|
||
U uniform 1.0; | ||
R uniform (0.01 0 0 0.075 0 0.05); | ||
L uniform (0.4 0.3 0.2); | ||
|
||
/* | ||
type turbulentATSMInlet; | ||
periodicInY true; | ||
periodicInZ true; | ||
vortonType "typeL"; | ||
density 1; | ||
value $internalField; | ||
U uniform 1.0; | ||
R uniform (0.01 0 0 0.075 0 0.05); | ||
L uniform (0.4 0.3 0.2); | ||
type turbulentSEMInlet; | ||
periodicInY true; | ||
periodicInZ true; | ||
density 10; | ||
value $internalField; | ||
U uniform 1.0; | ||
R uniform (0.01 0 0 0.075 0 0.05); | ||
L uniform (0.4 0.4 0.4 0.3 0.3 0.3 0.2 0.2 0.2); | ||
type turbulentDFMInlet; | ||
periodicInY true; | ||
periodicInZ true; | ||
filterType "gaussian"; | ||
filterFactor 4; | ||
gridFactor 1; | ||
value $internalField; | ||
U uniform 1.0; | ||
R uniform (0.01 0 0 0.075 0 0.05); | ||
L uniform (0.4 0.4 0.4 0.3 0.3 0.3 0.2 0.2 0.2); | ||
*/ | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
#includeEtc "caseDicts/setConstraintTypes" | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 6 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object k; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -2 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
#includeEtc "caseDicts/setConstraintTypes" | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 6 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object nut; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -1 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
inlet | ||
{ | ||
type calculated; | ||
value uniform 0; | ||
} | ||
|
||
outlet | ||
{ | ||
type calculated; | ||
value uniform 0; | ||
} | ||
|
||
#includeEtc "caseDicts/setConstraintTypes" | ||
} | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.