Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
4b81f443
Commit
4b81f443
authored
Feb 13, 2009
by
Andrew Heather
Browse files
more updates...
parent
ef874be0
Changes
23
Hide whitespace changes
Inline
Side-by-side
tutorials/incompressible/
ico
DyMFoam/movingCone/0/U
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/0/U
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/0/cellMotionUx
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/0/cellMotionUx
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/0/p
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/0/p
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/0/pointMotionUx
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/0/pointMotionUx
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/constant/dynamicMeshDict
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/constant/dynamicMeshDict
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/constant/polyMesh/blockMeshDict
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/constant/polyMesh/blockMeshDict
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/constant/polyMesh/boundary
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/constant/polyMesh/boundary
View file @
4b81f443
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format binary;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/incompressible/
ico
DyMFoam/movingCone/constant/transportProperties
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/constant/transportProperties
View file @
4b81f443
...
...
@@ -8,14 +8,32 @@
FoamFile
{
version 2.0;
format
binary
;
format
ascii
;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1e-05;
CrossPowerLawCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
m m [ 0 0 1 0 0 0 0 ] 1;
n n [ 0 0 0 0 0 0 0 ] 1;
}
BirdCarreauCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
k k [ 0 0 1 0 0 0 0 ] 0;
n n [ 0 0 0 0 0 0 0 ] 1;
}
// ************************************************************************* //
tutorials/incompressible/pimpleDyMFoam/movingCone/constant/turbulenceProperties
0 → 100644
View file @
4b81f443
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType laminar;
// ************************************************************************* //
tutorials/incompressible/
ico
DyMFoam/movingCone/system/controlDict
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/system/controlDict
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/system/fvSchemes
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/system/fvSchemes
View file @
4b81f443
...
...
@@ -30,6 +30,7 @@ divSchemes
{
default none;
div(phi,U) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}
laplacianSchemes
...
...
@@ -39,6 +40,7 @@ laplacianSchemes
laplacian(rAU,pcorr) Gauss linear corrected;
laplacian(rAU,p) Gauss linear corrected;
laplacian(diffusivity,cellMotionU) Gauss linear uncorrected;
laplacian(nuEff,U) Gauss linear uncorrected;
}
interpolationSchemes
...
...
tutorials/incompressible/
ico
DyMFoam/movingCone/system/fvSolution
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/system/fvSolution
View file @
4b81f443
File moved
tutorials/incompressible/
ico
DyMFoam/movingCone/system/tetFemSolution
→
tutorials/incompressible/
pimple
DyMFoam/movingCone/system/tetFemSolution
View file @
4b81f443
File moved
tutorials/incompressible/simpleSRFFoam/mixer/0/epsilon
View file @
4b81f443
...
...
@@ -33,12 +33,16 @@ boundaryField
innerWall
{
type zeroGradient;
type epsilonWallFunction;
U Urel;
value uniform 14.855;
}
outerWall
{
type zeroGradient;
type epsilonWallFunction;
U Urel;
value uniform 14.855;
}
cyclic
...
...
tutorials/incompressible/simpleSRFFoam/mixer/0/k
View file @
4b81f443
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -25,26 +26,26 @@ boundaryField
type fixedValue;
value uniform 0.375;
}
outlet
{
type zeroGradient;
}
innerWall
{
type zeroGradient;
type kQRWallFunction;
value uniform 0.375;
}
outerWall
{
type zeroGradient;
type kQRWallFunction;
value uniform 0.375;
}
cyclic
{
type cyclic;
value uniform 0.375;
}
}
// ************************************************************************* //
tutorials/incompressible/simpleSRFFoam/mixer/0/nut
0 → 100644
View file @
4b81f443
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ 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;
}
innerWall
{
type nutWallFunction;
U Urel;
value uniform 0;
}
outerWall
{
type nutWallFunction;
U Urel;
value uniform 0;
}
cyclic
{
type cyclic;
value uniform 0;
}
}
// ************************************************************************* //
tutorials/incompressible/simpleSRFFoam/mixer/0/omega
View file @
4b81f443
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -25,26 +26,28 @@ boundaryField
type fixedValue;
value uniform 3.5;
}
outlet
{
type zeroGradient;
}
innerWall
{
type zeroGradient;
type omegaWallFunction;
U Urel;
value uniform 3.5;
}
outerWall
{
type zeroGradient;
type omegaWallFunction;
U Urel;
value uniform 3.5;
}
cyclic
{
type cyclic;
value uniform 3.5;
}
}
// ************************************************************************* //
tutorials/incompressible/simpleSRFFoam/simpleSRFFoam/Make/options
View file @
4b81f443
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/turbulenceModels/RAS \
-I$(LIB_SRC)/transportModels
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel
EXE_LIBS = \
-lincompressibleRASModels \
...
...
tutorials/incompressible/simpleSRFFoam/simpleSRFFoam/UEqn.H
0 → 100644
View file @
4b81f443
// Momentum predictor
tmp
<
fvVectorMatrix
>
UrelEqn
(
fvm
::
div
(
phi
,
Urel
)
+
turbulence
->
divDevReff
(
Urel
)
+
SRF
->
Su
()
);
UrelEqn
().
relax
();
eqnResidual
=
solve
(
UrelEqn
()
==
-
fvc
::
grad
(
p
)
).
initialResidual
();
maxResidual
=
max
(
eqnResidual
,
maxResidual
);
tutorials/incompressible/simpleSRFFoam/simpleSRFFoam/convergenceCheck.H
0 → 100644
View file @
4b81f443
// check convergence
if
(
maxResidual
<
convergenceCriterion
)
{
Info
<<
"reached convergence criterion: "
<<
convergenceCriterion
<<
endl
;
runTime
.
writeAndEnd
();
Info
<<
"latestTime = "
<<
runTime
.
timeName
()
<<
endl
;
}
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment