mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -42,5 +42,7 @@ doc/[Dd]oxygen/man
|
||||
*.tar.gz
|
||||
*.tgz
|
||||
|
||||
# ignore .timeStamp in the main directory
|
||||
/.timeStamp
|
||||
|
||||
# end-of-file
|
||||
|
||||
@ -26,7 +26,7 @@ Class
|
||||
Foam::ZoneID
|
||||
|
||||
Description
|
||||
A class holds the data needed to identify a zone in a dynamic mesh.
|
||||
A class that holds the data needed to identify a zone in a dynamic mesh.
|
||||
|
||||
The zone is identified by name.
|
||||
Its index in the zoneMesh is updated if the mesh has changed.
|
||||
|
||||
@ -96,7 +96,7 @@ void Foam::preservePatchTypes
|
||||
if (patchDictionary.found(defaultFacesName))
|
||||
{
|
||||
const dictionary& patchDict =
|
||||
patchDictionary.subDict("defaultFaces");
|
||||
patchDictionary.subDict(defaultFacesName);
|
||||
|
||||
if (patchDict.found("geometricType"))
|
||||
{
|
||||
|
||||
@ -209,32 +209,16 @@ Foam::string& Foam::string::expand()
|
||||
*this = home(user)/file;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (operator[](0) == '.')
|
||||
{
|
||||
// expand a lone initial '.' and './' into CWD
|
||||
// otherwise strip leading './' sequences
|
||||
while
|
||||
(
|
||||
operator[](0) == '.'
|
||||
&& (size() == 1 || operator[](1) == '/')
|
||||
)
|
||||
// Expand initial '.' and './' into cwd
|
||||
if (size() == 1)
|
||||
{
|
||||
// handle leading ".////" as well
|
||||
size_type slashPos = 1;
|
||||
while (size() > slashPos && operator[](slashPos) == '/')
|
||||
{
|
||||
++slashPos;
|
||||
}
|
||||
|
||||
if (size() <= slashPos)
|
||||
{
|
||||
*this = cwd();
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string::erase(0, slashPos);
|
||||
}
|
||||
*this = cwd();
|
||||
}
|
||||
else if (operator[](1) == '/')
|
||||
{
|
||||
std::string::replace(0, 1, cwd());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,6 +26,7 @@ Class
|
||||
Foam::geomDecomp
|
||||
|
||||
Description
|
||||
Geometrical domain decomposition
|
||||
|
||||
SourceFiles
|
||||
geomDecomp.C
|
||||
|
||||
@ -26,6 +26,7 @@ Class
|
||||
Foam::metisDecomp
|
||||
|
||||
Description
|
||||
Metis domain decomposition
|
||||
|
||||
SourceFiles
|
||||
metisDecomp.C
|
||||
|
||||
@ -55,7 +55,7 @@ namespace Foam
|
||||
|
||||
// assignToProcessorGroup : given nCells cells and nProcGroup processor
|
||||
// groups to share them, how do we share them out? Answer : each group
|
||||
// gets nCells/nProocGroup cells, and the first few get one
|
||||
// gets nCells/nProcGroup cells, and the first few get one
|
||||
// extra to make up the numbers. This should produce almost
|
||||
// perfect load balancing
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ Description
|
||||
Mesh motion specifically for the "pumping" system of an ink-jet
|
||||
injector.
|
||||
|
||||
The set of points in the "pumping" region are compressed and expended
|
||||
The set of points in the "pumping" region are compressed and expanded
|
||||
sinusoidally to impose a sinusoidal variation of the flow at the
|
||||
nozzle exit.
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::turbulentMixingLengthDissipationRateInletFvPatchScalarField
|
||||
Foam::turbulentMixingLengthFrequencyInletFvPatchScalarField
|
||||
|
||||
Description
|
||||
Calculate omega via the mixing length
|
||||
|
||||
@ -27,10 +27,11 @@ Class
|
||||
|
||||
Description
|
||||
Holds information (coordinate and yStar) regarding nearest wall point.
|
||||
|
||||
Used in VanDriest wall damping where the interest is in y+ but only
|
||||
needs to be calculated upto e.g. y+ < 200. In all other cells/faces
|
||||
(since y gets initialized to GREAT and yStar to 1) the damping function
|
||||
becomes 1
|
||||
needs to be calculated up to e.g. y+ < 200. In all other cells/faces
|
||||
the damping function becomes 1, since y gets initialized to GREAT and
|
||||
yStar to 1.
|
||||
|
||||
SourceFiles
|
||||
wallPointYPlusI.H
|
||||
|
||||
@ -26,17 +26,19 @@ Class
|
||||
Foam::displacementInterpolationFvMotionSolver
|
||||
|
||||
Description
|
||||
Mesh motion solver for an fvMesh. Scales inbetween motion prescribed on
|
||||
faceZones. Works out per point the distance between the bounding
|
||||
face zones (in all three directions) at the start and then every time
|
||||
step
|
||||
Mesh motion solver for an fvMesh.
|
||||
|
||||
Scales inbetween motion prescribed on faceZones. Works out per point
|
||||
the distance between the bounding face zones (in all three directions)
|
||||
at the start and then every time step
|
||||
- moves the faceZones based on tables
|
||||
- interpolates the displacement of all points based on the
|
||||
faceZone motion.
|
||||
faceZone motion.
|
||||
|
||||
Tables are in the constant/tables directory.
|
||||
Tables are in the <verbatim>constant/tables</verbatim> directory.
|
||||
|
||||
Note: could be a motionSolver - does not use any fvMesh structure.
|
||||
Note
|
||||
could be a motionSolver - does not use any fvMesh structure.
|
||||
|
||||
SourceFiles
|
||||
displacementInterpolationFvMotionSolver.C
|
||||
|
||||
@ -32,16 +32,18 @@ Description
|
||||
|
||||
On the back plane (z=0):
|
||||
|
||||
Y
|
||||
^
|
||||
|
|
||||
+--------+
|
||||
|2 3|
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
|0 1|
|
||||
+--------+->X
|
||||
@verbatim
|
||||
Y
|
||||
^
|
||||
|
|
||||
+--------+
|
||||
|2 3|
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
|0 1|
|
||||
+--------+->X
|
||||
@endverbatim
|
||||
|
||||
For the front plane add 4 to the point labels.
|
||||
|
||||
@ -234,7 +236,7 @@ public:
|
||||
//- Returns octant number given intersection. Midpoint provided.
|
||||
// onEdge set if sample on edge of subOctant. If onEdge
|
||||
// the direction vector determines which octant to use
|
||||
// (acc. to which octant the sample would be if it were moved
|
||||
// (acc. to which octant the sample would be if it were moved
|
||||
// along dir)
|
||||
static inline direction subOctant
|
||||
(
|
||||
@ -250,7 +252,7 @@ public:
|
||||
inline void searchOrder
|
||||
(
|
||||
const point& sample,
|
||||
FixedList<direction, 8>& octantOrder
|
||||
FixedList<direction, 8>& octantOrder
|
||||
) const;
|
||||
|
||||
//- Intersects other boundingbox?
|
||||
|
||||
@ -26,15 +26,15 @@ Class
|
||||
Foam::writer
|
||||
|
||||
Description
|
||||
base class for graphics format writing. Entry points are
|
||||
- write(..). Write to an Ostream a table of points with corresponding
|
||||
values.
|
||||
|
||||
- write(scalar/vector/tensor). Write single scalar/vector/tensor.
|
||||
Default is to write space separated components.
|
||||
Base class for graphics format writing. Entry points are
|
||||
- write(..). \n
|
||||
Write to an Ostream a table of points with corresponding values.
|
||||
- write(scalar/vector/tensor). \n
|
||||
Write single scalar/vector/tensor.
|
||||
Default is to write space separated components.
|
||||
|
||||
Example:
|
||||
|
||||
@verbatim
|
||||
// Construct writer of xmgr type
|
||||
autoPtr<writer<scalar> > scalarFormatter(writer<scalar>::New("xmgr"));
|
||||
|
||||
@ -51,8 +51,8 @@ Description
|
||||
"U.component(0)", // name of values
|
||||
vals // values
|
||||
);
|
||||
@endverbatim
|
||||
|
||||
|
||||
SourceFiles
|
||||
writer.C
|
||||
|
||||
@ -90,7 +90,7 @@ protected:
|
||||
|
||||
//- Generates filename from coordSet and sampled fields
|
||||
fileName getBaseName(const coordSet&, const wordList&) const;
|
||||
|
||||
|
||||
void writeCoord
|
||||
(
|
||||
const coordSet& samples,
|
||||
|
||||
@ -27,12 +27,13 @@
|
||||
# wmakeLnInclude
|
||||
#
|
||||
# Description
|
||||
# Link all the source files in the $1 directory into $1/lnInclude
|
||||
# Link all the source files in the <dir> directory into <dir>/lnInclude
|
||||
#
|
||||
# Usage: wmakeLnInclude [-f] <dir> [-lnOption]
|
||||
#
|
||||
# The desired source files:
|
||||
# *.C *.H *.h *.cxx
|
||||
# *.C *.H *.h *.cpp *.cxx *.hpp *.hxx
|
||||
#
|
||||
# Avoid
|
||||
# *.c (C source)
|
||||
# .#* (cvs recovered files)
|
||||
@ -100,6 +101,7 @@ fi
|
||||
|
||||
if [ -d $incDir ]
|
||||
then
|
||||
# could change force to remove lnInclude first
|
||||
if [ ! "$forceUpdate" ]
|
||||
then
|
||||
# echo $Script: include directory $incDir already exists, exiting.
|
||||
@ -129,4 +131,10 @@ find .. $findOpt \
|
||||
-a ! -name ".#*" \
|
||||
-exec ln $lnOpt {} . \;
|
||||
|
||||
|
||||
#
|
||||
# remove any broken links
|
||||
#
|
||||
find -L . -type l -exec rm \{\} \;
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user