Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HPCAPPs
OpenFOAM-GPU-v2.0
Commits
55e5a777
Commit
55e5a777
authored
Oct 17, 2024
by
shunbo
Browse files
initial commit
parents
Changes
677
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
807 additions
and
0 deletions
+807
-0
OpenFOAM-v2112/applications/test/limits/Make/files
OpenFOAM-v2112/applications/test/limits/Make/files
+3
-0
OpenFOAM-v2112/applications/test/limits/Make/options
OpenFOAM-v2112/applications/test/limits/Make/options
+2
-0
OpenFOAM-v2112/applications/test/limits/Test-limits.C
OpenFOAM-v2112/applications/test/limits/Test-limits.C
+101
-0
OpenFOAM-v2112/applications/test/liquid/Make/files
OpenFOAM-v2112/applications/test/liquid/Make/files
+3
-0
OpenFOAM-v2112/applications/test/liquid/Make/options
OpenFOAM-v2112/applications/test/liquid/Make/options
+5
-0
OpenFOAM-v2112/applications/test/liquid/Test-liquid.C
OpenFOAM-v2112/applications/test/liquid/Test-liquid.C
+49
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Make/files
...-v2112/applications/test/mapDistributePolyMesh/Make/files
+3
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Make/options
...2112/applications/test/mapDistributePolyMesh/Make/options
+9
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C
...s/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C
+151
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/U
...-v2112/applications/test/mapDistributePolyMesh/cavity/0/U
+41
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/p
...-v2112/applications/test/mapDistributePolyMesh/cavity/0/p
+39
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/phi
...2112/applications/test/mapDistributePolyMesh/cavity/0/phi
+228
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/Allclean
...2/applications/test/mapDistributePolyMesh/cavity/Allclean
+12
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/Allrun
...112/applications/test/mapDistributePolyMesh/cavity/Allrun
+16
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/constant/transportProperties
...mapDistributePolyMesh/cavity/constant/transportProperties
+21
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/system/blockMeshDict
...ns/test/mapDistributePolyMesh/cavity/system/blockMeshDict
+75
-0
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/system/controlDict
...ions/test/mapDistributePolyMesh/cavity/system/controlDict
+49
-0
No files found.
Too many changes to show.
To preserve performance only
677 of 677+
files are displayed.
Plain diff
Email patch
OpenFOAM-v2112/applications/test/limits/Make/files
0 → 100644
View file @
55e5a777
Test-limits.C
EXE = $(FOAM_USER_APPBIN)/Test-limits
OpenFOAM-v2112/applications/test/limits/Make/options
0 → 100644
View file @
55e5a777
/* EXE_INC = */
/* EXE_LIBS = */
OpenFOAM-v2112/applications/test/limits/Test-limits.C
0 → 100644
View file @
55e5a777
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
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/>.
Description
Print max limits.
\*---------------------------------------------------------------------------*/
#include <limits>
#include "int.H"
#include "uint.H"
#include "string.H"
#include "scalar.H"
#include "IOstreams.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
//NONE Info<<"int16:" << pTraits<int16_t>::max << nl;
Info
<<
"=max="
<<
nl
;
Info
<<
"uint8:"
<<
pTraits
<
uint8_t
>::
max
<<
nl
;
Info
<<
"int16:"
<<
std
::
numeric_limits
<
int16_t
>::
max
()
<<
nl
;
Info
<<
"int32:"
<<
pTraits
<
int32_t
>::
max
<<
nl
;
Info
<<
"uint32:"
<<
pTraits
<
uint32_t
>::
max
<<
nl
;
Info
<<
"int64:"
<<
pTraits
<
int64_t
>::
max
<<
nl
;
Info
<<
"uint64:"
<<
pTraits
<
uint64_t
>::
max
<<
nl
;
Info
<<
nl
;
cout
<<
"int16:"
<<
std
::
numeric_limits
<
int16_t
>::
max
()
<<
nl
;
cout
<<
"int32:"
<<
pTraits
<
int32_t
>::
max
<<
nl
;
cout
<<
"uint32:"
<<
pTraits
<
uint32_t
>::
max
<<
nl
;
cout
<<
"int64:"
<<
pTraits
<
int64_t
>::
max
<<
nl
;
cout
<<
"uint64:"
<<
pTraits
<
uint64_t
>::
max
<<
nl
;
Info
<<
nl
<<
"=digits="
<<
nl
;
cout
<<
"int16:"
<<
std
::
numeric_limits
<
int16_t
>::
digits
<<
nl
;
cout
<<
"int32:"
<<
std
::
numeric_limits
<
int32_t
>::
digits
<<
nl
;
cout
<<
"uint32:"
<<
std
::
numeric_limits
<
uint32_t
>::
digits
<<
nl
;
cout
<<
"int64:"
<<
std
::
numeric_limits
<
int64_t
>::
digits
<<
nl
;
cout
<<
"uint64:"
<<
std
::
numeric_limits
<
uint64_t
>::
digits
<<
nl
;
cout
<<
"float:"
<<
std
::
numeric_limits
<
float
>::
digits
<<
nl
;
cout
<<
"double:"
<<
std
::
numeric_limits
<
double
>::
digits
<<
nl
;
cout
<<
"long double:"
<<
std
::
numeric_limits
<
long
double
>::
digits
<<
nl
;
Info
<<
nl
<<
"=float="
<<
nl
;
cout
<<
"max:"
<<
std
::
numeric_limits
<
float
>::
max
()
<<
" VGREAT:"
<<
floatScalarVGREAT
<<
nl
;
cout
<<
"min:"
<<
std
::
numeric_limits
<
float
>::
min
()
<<
" VSMALL:"
<<
floatScalarVSMALL
<<
nl
;
cout
<<
"epsilon:"
<<
std
::
numeric_limits
<
float
>::
epsilon
()
<<
" SMALL:"
<<
floatScalarSMALL
<<
nl
;
cout
<<
"1/epsilon:"
<<
1
.
0
f
/
std
::
numeric_limits
<
float
>::
epsilon
()
<<
" GREAT:"
<<
floatScalarGREAT
<<
nl
;
Info
<<
nl
<<
"=double="
<<
nl
;
cout
<<
"max:"
<<
std
::
numeric_limits
<
double
>::
max
()
<<
" VGREAT:"
<<
doubleScalarVGREAT
<<
nl
;
cout
<<
"min:"
<<
std
::
numeric_limits
<
double
>::
min
()
<<
" VSMALL:"
<<
doubleScalarVSMALL
<<
nl
;
cout
<<
"epsilon:"
<<
std
::
numeric_limits
<
double
>::
epsilon
()
<<
" SMALL:"
<<
doubleScalarSMALL
<<
nl
;
cout
<<
"1/epsilon:"
<<
1
.
0
f
/
std
::
numeric_limits
<
double
>::
epsilon
()
<<
" GREAT:"
<<
doubleScalarGREAT
<<
nl
;
Info
<<
"---
\n
End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/liquid/Make/files
0 → 100644
View file @
55e5a777
Test-liquid.C
EXE = $(FOAM_USER_APPBIN)/Test-liquid
OpenFOAM-v2112/applications/test/liquid/Make/options
0 → 100644
View file @
55e5a777
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
EXE_LIBS = \
-lthermophysicalProperties
OpenFOAM-v2112/applications/test/liquid/Test-liquid.C
0 → 100644
View file @
55e5a777
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
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/>.
Description
\*---------------------------------------------------------------------------*/
#include "C7H8.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
()
{
C7H8
fuel
;
Info
<<
fuel
.
rho
(
1e5
,
300
)
<<
endl
;
Info
<<
fuel
<<
endl
;
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Make/files
0 → 100644
View file @
55e5a777
Test-mapDistributePolyMesh.C
EXE = $(FOAM_USER_APPBIN)/Test-mapDistributePolyMesh
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Make/options
0 → 100644
View file @
55e5a777
EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude
EXE_LIBS = \
-lfiniteVolume \
-ldynamicMesh \
-lmeshTools
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C
0 → 100644
View file @
55e5a777
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2017 OpenCFD Ltd.
-------------------------------------------------------------------------------
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
mapDistributePolyMesh
Description
Test for procAddressing
\*---------------------------------------------------------------------------*/
#include "IOmapDistributePolyMesh.H"
#include "argList.H"
#include "Time.H"
#include "surfaceFields.H"
#include "flipOp.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
int
main
(
int
argc
,
char
*
argv
[])
{
#include "setRootCase.H"
#include "createTime.H"
#include "createPolyMesh.H"
Info
<<
"Reading distribute map
\n
"
<<
endl
;
const
word
instance
(
"0.005"
);
const
scalar
instanceValue
(
0
.
005
);
IOmapDistributePolyMesh
map
(
IOobject
(
"procAddressing"
,
instance
,
fvMesh
::
meshSubDir
,
mesh
,
IOobject
::
MUST_READ
,
IOobject
::
NO_WRITE
,
false
)
);
{
// Load the instance mesh
runTime
.
setTime
(
instanceValue
,
0
);
polyMesh
distributedMesh
(
IOobject
(
polyMesh
::
defaultRegion
,
instance
,
runTime
,
IOobject
::
MUST_READ
)
);
// Faces, no flip
{
const
mapDistribute
&
faceMap
=
map
.
faceMap
();
pointField
fc
(
mesh
.
faceCentres
());
faceMap
.
distribute
(
fc
,
noOp
());
Pout
<<
"Construct size:"
<<
faceMap
.
constructSize
()
<<
endl
;
forAll
(
distributedMesh
.
faceCentres
(),
facei
)
{
Pout
<<
"face:"
<<
facei
<<
"
\t
mappedFc:"
<<
fc
[
facei
]
<<
"
\t
actual:"
<<
distributedMesh
.
faceCentres
()[
facei
]
<<
endl
;
}
}
// Faces, flipped field
{
const
mapDistribute
&
faceMap
=
map
.
faceMap
();
scalarField
flux
(
mesh
.
faceAreas
()
&
vector
(
1
,
1
,
1
));
faceMap
.
distribute
(
flux
,
flipOp
());
Pout
<<
"Construct size:"
<<
faceMap
.
constructSize
()
<<
endl
;
const
scalarField
newFlux
(
distributedMesh
.
faceAreas
()
&
vector
(
1
,
1
,
1
)
);
forAll
(
newFlux
,
facei
)
{
Pout
<<
"face:"
<<
facei
<<
"
\t
mappedFlux:"
<<
flux
[
facei
]
<<
"
\t
actual:"
<<
newFlux
[
facei
]
<<
endl
;
}
}
{
const
mapDistribute
&
cellMap
=
map
.
cellMap
();
pointField
cc
(
mesh
.
cellCentres
());
cellMap
.
distribute
(
cc
,
noOp
());
Pout
<<
"Construct size:"
<<
cellMap
.
constructSize
()
<<
endl
;
forAll
(
distributedMesh
.
cellCentres
(),
celli
)
{
Pout
<<
"cell:"
<<
celli
<<
"
\t
mappedCc:"
<<
cc
[
celli
]
<<
"
\t
actual:"
<<
distributedMesh
.
cellCentres
()[
celli
]
<<
endl
;
}
}
{
const
mapDistribute
&
pointMap
=
map
.
pointMap
();
pointField
pc
(
mesh
.
points
());
pointMap
.
distribute
(
pc
,
noOp
());
Pout
<<
"Construct size:"
<<
pointMap
.
constructSize
()
<<
endl
;
forAll
(
distributedMesh
.
points
(),
pointi
)
{
Pout
<<
"point:"
<<
pointi
<<
"
\t
mappedPoint:"
<<
pc
[
pointi
]
<<
"
\t
actual:"
<<
distributedMesh
.
points
()[
pointi
]
<<
endl
;
}
}
}
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/U
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (1 1 0);
boundaryField
{
movingWall
{
type fixedValue;
value uniform (1 0 0);
}
fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/p
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
movingWall
{
type zeroGradient;
}
fixedWalls
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/0/phi
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "0";
object fluxU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
oriented 1;
internalField nonuniform List<scalar>
180
(
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
)
;
boundaryField
{
movingWall
{
type calculated;
value uniform 0;
}
fixedWalls
{
type calculated;
value uniform 0;
}
frontAndBack
{
type empty;
value nonuniform 0();
}
}
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/Allclean
0 → 100644
View file @
55e5a777
#!/bin/sh
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/bin/tools/CleanFunctions
# Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase
# Restore default dictionaries
cp
system/decomposeParDict-2 system/decomposeParDict
cp
system/controlDict-startTime system/controlDict
# -----------------------------------------------------------------------------
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/Allrun
0 → 100644
View file @
55e5a777
#!/bin/sh
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/bin/tools/RunFunctions
# Tutorial run functions
#------------------------------------------------------------------------------
runApplication blockMesh
runApplication decomposePar
-decomposeParDict
system/decomposeParDict-2
runParallel
-s
scotch
-np
5 redistributePar
\
-decomposeParDict
system/decomposeParDict-5
runParallel
-np
5 Test-mapDistributePolyMesh
\
-decomposeParDict
system/decomposeParDict-5
# -----------------------------------------------------------------------------
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/constant/transportProperties
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
nu nu [ 0 2 -1 0 0 0 0 ] 0.01;
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/system/blockMeshDict
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 0.1;
vertices
(
(0 0 0)
(1 0 0)
(1 1 0)
(0 1 0)
(0 0 0.1)
(1 0 0.1)
(1 1 0.1)
(0 1 0.1)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (10 10 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
movingWall
{
type wall;
faces
(
(3 7 6 2)
);
}
fixedWalls
{
type wall;
faces
(
(0 4 7 3)
(2 6 5 1)
(1 5 4 0)
);
}
frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //
OpenFOAM-v2112/applications/test/mapDistributePolyMesh/cavity/system/controlDict
0 → 100644
View file @
55e5a777
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application icoFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 0.5;
deltaT 0.005;
writeControl timeStep;
writeInterval 20;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
// ************************************************************************* //
Prev
1
…
30
31
32
33
34
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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