mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -17,7 +17,7 @@ rAU = 1.0/UEqn().A();
|
||||
|
||||
if (pimple.momentumPredictor())
|
||||
{
|
||||
solve(UEqn() == -fvc::grad(p) + fvOptions(U));
|
||||
solve(UEqn() == -fvc::grad(p));
|
||||
|
||||
fvOptions.correct(U);
|
||||
}
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
#set -x
|
||||
|
||||
if [ "$ParaView_VERSION" == "3.98.1" ]
|
||||
then
|
||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||
then
|
||||
[ -n "$PV_PLUGIN_PATH" ] || {
|
||||
@ -18,5 +20,8 @@ then
|
||||
else
|
||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||
fi
|
||||
else
|
||||
echo "WARN: PV398 readers not building: ParaView_VERSION=$ParaView_VERSION"
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
#set -x
|
||||
|
||||
if [ "$ParaView_VERSION" != "3.98.1" ]
|
||||
then
|
||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||
then
|
||||
[ -n "$PV_PLUGIN_PATH" ] || {
|
||||
@ -18,5 +20,8 @@ then
|
||||
else
|
||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||
fi
|
||||
else
|
||||
echo "WARN: PV3 readers not building: ParaView_VERSION=$ParaView_VERSION"
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -63,8 +63,6 @@ class processorCyclicPolyPatch
|
||||
//- Index of originating patch
|
||||
mutable label referPatchID_;
|
||||
|
||||
// Private member functions
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
@ -223,7 +221,6 @@ public:
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
virtual ~processorCyclicPolyPatch();
|
||||
|
||||
|
||||
|
||||
@ -65,8 +65,7 @@ void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges
|
||||
labelListList featurePointFeatureEdges(nFeatPts);
|
||||
forAll(featurePointFeatureEdges, pI)
|
||||
{
|
||||
featurePointFeatureEdges[pI] =
|
||||
labelList(pointEdges[featurePoints[pI]].size(), -1);
|
||||
featurePointFeatureEdges[pI] = pointEdges[featurePoints[pI]];
|
||||
}
|
||||
|
||||
// Mapping between old and new indices, there is entry in the map for each
|
||||
@ -74,6 +73,10 @@ void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges
|
||||
// >= 0 corresponds to the index
|
||||
labelList pointMap(sFeatLocalPts.size(), -1);
|
||||
|
||||
// Mapping between surface edge index and its feature edge index. -1 if it
|
||||
// is not a feature edge
|
||||
labelList edgeMap(sFeatEds.size(), -1);
|
||||
|
||||
// Noting when the normal of a face has been used so not to duplicate
|
||||
labelList faceMap(surf.size(), -1);
|
||||
|
||||
@ -98,6 +101,8 @@ void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges
|
||||
{
|
||||
label sFEI = featureEdges[i];
|
||||
|
||||
edgeMap[sFEI] = i;
|
||||
|
||||
const edge& fE(sFeatEds[sFEI]);
|
||||
|
||||
// Check to see if the points have been already used
|
||||
@ -156,43 +161,31 @@ void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges
|
||||
{
|
||||
regionEdges.append(i);
|
||||
}
|
||||
}
|
||||
|
||||
forAll(featurePointFeatureEdges, pI)
|
||||
{
|
||||
const labelList& fpfEdges = pointEdges[featurePoints[pI]];
|
||||
|
||||
labelList& fpfe = featurePointFeatureEdges[pI];
|
||||
|
||||
forAll(fpfEdges, eI)
|
||||
{
|
||||
if (sFEI == fpfEdges[eI])
|
||||
{
|
||||
fpfe[eI] = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Populate feature point feature edges
|
||||
DynamicList<label> newFeatureEdges;
|
||||
|
||||
forAll(featurePointFeatureEdges, pI)
|
||||
{
|
||||
const labelList& fpfe = featurePointFeatureEdges[pI];
|
||||
|
||||
DynamicList<label> newFeatureEdges(fpfe.size());
|
||||
newFeatureEdges.setCapacity(fpfe.size());
|
||||
|
||||
forAll(fpfe, eI)
|
||||
{
|
||||
const label edgeIndex = fpfe[eI];
|
||||
const label oldEdgeIndex = fpfe[eI];
|
||||
const label newFeatureEdgeIndex = edgeMap[oldEdgeIndex];
|
||||
|
||||
if (edgeIndex != -1)
|
||||
if (newFeatureEdgeIndex != -1)
|
||||
{
|
||||
newFeatureEdges.append(edgeIndex);
|
||||
newFeatureEdges.append(newFeatureEdgeIndex);
|
||||
}
|
||||
}
|
||||
|
||||
featurePointFeatureEdges[pI] = newFeatureEdges;
|
||||
featurePointFeatureEdges[pI].transfer(newFeatureEdges);
|
||||
}
|
||||
|
||||
|
||||
// Reorder the edges by classification
|
||||
|
||||
List<DynamicList<label> > allEds(nEdgeTypes);
|
||||
@ -277,7 +270,7 @@ void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges
|
||||
edgeMesh::operator=(edgeMesh(pts, eds));
|
||||
|
||||
// Initialise sorted edge related data
|
||||
edgeDirections_ = edgeDirections/mag(edgeDirections);
|
||||
edgeDirections_ = edgeDirections/(mag(edgeDirections) + VSMALL);
|
||||
edgeNormals_ = edgeNormals;
|
||||
regionEdges_ = regionEdges;
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -62,7 +62,11 @@ Foam::fv::fourthGrad<Type>::calcGrad
|
||||
// Assemble the second-order least-square gradient
|
||||
// Calculate the second-order least-square gradient
|
||||
tmp<GeometricField<GradType, fvPatchField, volMesh> > tsecondfGrad
|
||||
= leastSquaresGrad<Type>(mesh).grad(vsf);
|
||||
= leastSquaresGrad<Type>(mesh).grad
|
||||
(
|
||||
vsf,
|
||||
"leastSquaresGrad(" + vsf.name() + ")"
|
||||
);
|
||||
const GeometricField<GradType, fvPatchField, volMesh>& secondfGrad =
|
||||
tsecondfGrad();
|
||||
|
||||
|
||||
@ -25,9 +25,7 @@ License
|
||||
|
||||
#include "CentredFitSnGradData.H"
|
||||
#include "surfaceFields.H"
|
||||
#include "volFields.H"
|
||||
#include "SVD.H"
|
||||
#include "syncTools.H"
|
||||
#include "extendedCentredCellToFaceStencil.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
@ -226,7 +224,7 @@ void Foam::CentredFitSnGradData<Polynomial>::calcFit()
|
||||
// find the fit coefficients for every face in the mesh
|
||||
|
||||
const surfaceScalarField& w = mesh.surfaceInterpolation::weights();
|
||||
const surfaceScalarField& dC = mesh.deltaCoeffs();
|
||||
const surfaceScalarField& dC = mesh.nonOrthDeltaCoeffs();
|
||||
|
||||
for (label facei = 0; facei < mesh.nInternalFaces(); facei++)
|
||||
{
|
||||
|
||||
@ -25,7 +25,7 @@ Class
|
||||
Foam::CentredFitSnGradData
|
||||
|
||||
Description
|
||||
Data for the quadratic fit correction interpolation scheme
|
||||
Data for centred fit snGrad schemes
|
||||
|
||||
SourceFiles
|
||||
CentredFitSnGradData.C
|
||||
@ -64,6 +64,7 @@ class CentredFitSnGradData
|
||||
// values of the stencil to obtain the gradient for each direction
|
||||
List<scalarList> coeffs_;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
TypeName("CentredFitSnGradData");
|
||||
|
||||
@ -100,7 +100,7 @@ public:
|
||||
const GeometricField<Type, fvPatchField, volMesh>&
|
||||
) const
|
||||
{
|
||||
return this->mesh().deltaCoeffs();
|
||||
return this->mesh().nonOrthDeltaCoeffs();
|
||||
}
|
||||
|
||||
//- Return true if this scheme uses an explicit correction
|
||||
@ -132,10 +132,10 @@ public:
|
||||
centralWeight_
|
||||
);
|
||||
|
||||
const List<scalarList>& f = cfd.coeffs();
|
||||
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > sft
|
||||
= stencil.weightedSum(vf, f);
|
||||
(
|
||||
stencil.weightedSum(vf, cfd.coeffs())
|
||||
);
|
||||
|
||||
sft().dimensions() /= dimLength;
|
||||
|
||||
@ -143,6 +143,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace fv
|
||||
|
||||
@ -168,18 +168,32 @@ void Foam::sampledSurfaces::sampleAndWrite
|
||||
template<class GeoField>
|
||||
void Foam::sampledSurfaces::sampleAndWrite(const IOobjectList& objects)
|
||||
{
|
||||
wordList names;
|
||||
if (loadFromFiles_)
|
||||
{
|
||||
IOobjectList fieldObjects(objects.lookupClass(GeoField::typeName));
|
||||
|
||||
wordList names(fieldObjects.names());
|
||||
|
||||
labelList fieldNames(findStrings(fieldSelection_, names));
|
||||
|
||||
forAll(fieldNames, fieldI)
|
||||
names = fieldObjects.names();
|
||||
}
|
||||
else
|
||||
{
|
||||
const word& fieldName = names[fieldNames[fieldI]];
|
||||
names = mesh_.thisDb().names<GeoField>();
|
||||
}
|
||||
|
||||
labelList nameIDs(findStrings(fieldSelection_, names));
|
||||
|
||||
wordHashSet fieldNames(wordList(names, nameIDs));
|
||||
|
||||
forAllConstIter(wordHashSet, fieldNames, iter)
|
||||
{
|
||||
const word& fieldName = iter.key();
|
||||
|
||||
if ((Pstream::master()) && verbose_)
|
||||
{
|
||||
Pout<< "sampleAndWrite: " << fieldName << endl;
|
||||
}
|
||||
|
||||
if (loadFromFiles_)
|
||||
{
|
||||
const GeoField fld
|
||||
(
|
||||
IOobject
|
||||
@ -192,30 +206,10 @@ void Foam::sampledSurfaces::sampleAndWrite(const IOobjectList& objects)
|
||||
mesh_
|
||||
);
|
||||
|
||||
if ((Pstream::master()) && verbose_)
|
||||
{
|
||||
Pout<< "sampleAndWrite: " << fieldName << endl;
|
||||
}
|
||||
|
||||
sampleAndWrite(fld);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
const wordList fieldNames
|
||||
(
|
||||
mesh_.thisDb().names<GeoField>(fieldSelection_)
|
||||
);
|
||||
|
||||
forAll(fieldNames, i)
|
||||
{
|
||||
const word& fieldName = fieldNames[i];
|
||||
|
||||
if ((Pstream::master()) && verbose_)
|
||||
{
|
||||
Pout<< "sampleAndWrite: " << fieldName << endl;
|
||||
}
|
||||
|
||||
sampleAndWrite
|
||||
(
|
||||
mesh_.thisDb().lookupObject<GeoField>(fieldName)
|
||||
|
||||
@ -53,11 +53,12 @@ New
|
||||
|
||||
Info<< "Selecting chemistry type " << chemistryTypeDict << endl;
|
||||
|
||||
const int nCmpt = 12;
|
||||
const int nCmpt = 13;
|
||||
const char* cmptNames[nCmpt] =
|
||||
{
|
||||
"chemistrySolver",
|
||||
"chemistryThermo",
|
||||
"baseChemistry",
|
||||
"transport",
|
||||
"thermo",
|
||||
"equationOfState",
|
||||
@ -107,8 +108,9 @@ New
|
||||
word chemistryTypeName
|
||||
(
|
||||
word(chemistryTypeDict.lookup("chemistrySolver")) + '<'
|
||||
+ word(chemistryTypeDict.lookup("chemistryThermo")) + ','
|
||||
+ solidThermoTypeName + ',' + gasThermoTypeName + ">"
|
||||
+ word(chemistryTypeDict.lookup("chemistryThermo")) + '<'
|
||||
+ typeName + ','
|
||||
+ solidThermoTypeName + ',' + gasThermoTypeName + ">>"
|
||||
);
|
||||
|
||||
Info<< "chemistryTypeName " << chemistryTypeName << endl;
|
||||
|
||||
@ -48,7 +48,8 @@ namespace Foam
|
||||
defineTemplateTypeNameAndDebugWithName \
|
||||
( \
|
||||
sChemistryl##Comp##SThermo, \
|
||||
(#sChemistry"<"#Comp"," + SThermo::typeName() + ">").c_str(), \
|
||||
(word(sChemistry::typeName_()) + "<"#Comp"," + SThermo::typeName() + \
|
||||
+ ">").c_str(), \
|
||||
0 \
|
||||
); \
|
||||
\
|
||||
|
||||
@ -47,8 +47,8 @@ namespace Foam
|
||||
defineTemplateTypeNameAndDebugWithName \
|
||||
( \
|
||||
SS##Schem##Comp##SThermo##GThermo, \
|
||||
(#SS"<"#Schem"<"#Comp"," + SThermo::typeName() + "," \
|
||||
+ GThermo::typeName() + ">>").c_str(), \
|
||||
(#SS"<" + word(Schem::typeName_()) +"<"#Comp"," + SThermo::typeName() \
|
||||
+ "," + GThermo::typeName() + ">>").c_str(), \
|
||||
0 \
|
||||
); \
|
||||
\
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -175,6 +175,7 @@ class triSurface
|
||||
void writeDXGeometry(const bool, Ostream&) const;
|
||||
void writeDXTrailer(Ostream&) const;
|
||||
|
||||
|
||||
// Static private functions
|
||||
|
||||
//- Convert faces to labelledTri. All get same region.
|
||||
@ -203,6 +204,7 @@ class triSurface
|
||||
//- read non-comment line
|
||||
static string getLineNoComment(IFstream&);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Protected Member Functions
|
||||
@ -219,6 +221,7 @@ protected:
|
||||
return static_cast<List<Face>&>(*this);
|
||||
}
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Public typedefs
|
||||
@ -287,7 +290,6 @@ public:
|
||||
triSurface(const triSurface&);
|
||||
|
||||
|
||||
|
||||
//- Destructor
|
||||
~triSurface();
|
||||
|
||||
@ -324,6 +326,7 @@ public:
|
||||
// If >2 neighbours: undetermined.
|
||||
const labelList& edgeOwner() const;
|
||||
|
||||
|
||||
// Edit
|
||||
|
||||
//- Move points
|
||||
@ -381,6 +384,7 @@ public:
|
||||
labelList& faceMap
|
||||
) const;
|
||||
|
||||
|
||||
// Write
|
||||
|
||||
//- Write to Ostream in simple FOAM format
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -122,7 +122,7 @@ class alphatJayatillekeWallFunctionFvPatchScalarField
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("alphatJayatillekeWallFunction");
|
||||
TypeName("compressible::alphatJayatillekeWallFunction");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -105,7 +105,7 @@ class alphatWallFunctionFvPatchScalarField
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("alphatWallFunction");
|
||||
TypeName("compressible::alphatWallFunction");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
@ -28,19 +28,19 @@ boundaryField
|
||||
}
|
||||
ground
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
blockedFaces
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value nonuniform 0();
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value nonuniform 0();
|
||||
}
|
||||
|
||||
@ -23,19 +23,19 @@ boundaryField
|
||||
{
|
||||
piston
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
liner
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
cylinderHead
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
ground
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
mut muSgs;
|
||||
value uniform 0;
|
||||
}
|
||||
@ -45,7 +45,7 @@ boundaryField
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
mut muSgs;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -9,18 +9,18 @@ application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication topoSet -dict cRefine.topoSetDict
|
||||
runApplication topoSet -dict system/cRefine.topoSetDict
|
||||
runApplication refineMesh -overwrite -dict system/refineMeshDict
|
||||
|
||||
rm log.topoSet
|
||||
runApplication topoSet -dict f.topoSetDict
|
||||
runApplication topoSet -dict system/f.topoSetDict
|
||||
|
||||
# create the pyrolysis region.
|
||||
runApplication extrudeToRegionMesh -overwrite
|
||||
|
||||
|
||||
rm log.topoSet
|
||||
runApplication topoSet -dict fBurner.topoSetDict
|
||||
runApplication topoSet -dict system/fBurner.topoSetDict
|
||||
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
back
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
back
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,13 +23,13 @@ boundaryField
|
||||
{
|
||||
movingWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,13 +23,13 @@ boundaryField
|
||||
{
|
||||
rotor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
stator
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
back
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
back
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
back
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
Default_Boundary_Region
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ boundaryField
|
||||
}
|
||||
WALL10
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
prismWall
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
defaultFaces
|
||||
|
||||
@ -23,17 +23,17 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,25 +23,25 @@ boundaryField
|
||||
{
|
||||
frontAndBack
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
topAndBottom
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
hot
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
cold
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,12 +23,12 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -22,7 +22,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle.*"
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle1.*"
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ dictionaryReplacement
|
||||
{
|
||||
"region0_to_.*"
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ baffles
|
||||
|
||||
alphat
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
epsilon
|
||||
|
||||
@ -23,22 +23,22 @@ boundaryField
|
||||
{
|
||||
box
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
floor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,25 +23,25 @@ boundaryField
|
||||
{
|
||||
box
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
floor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,19 +23,19 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -20,6 +20,7 @@ FoamFile
|
||||
frontAndBack
|
||||
{
|
||||
type symmetryPlane;
|
||||
inGroups 1(symmetryPlane);
|
||||
nFaces 320;
|
||||
startFace 3456;
|
||||
}
|
||||
@ -44,6 +45,7 @@ FoamFile
|
||||
upperWall
|
||||
{
|
||||
type symmetryPlane;
|
||||
inGroups 1(symmetryPlane);
|
||||
nFaces 160;
|
||||
startFace 4064;
|
||||
}
|
||||
|
||||
@ -19,13 +19,13 @@ libs ("libOpenFOAM.so" "libfieldFunctionObjects.so");
|
||||
|
||||
application simpleFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 500;
|
||||
endTime 5;
|
||||
|
||||
deltaT 1;
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ ddtSchemes
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
grad(U) cellLimited Gauss linear 1;
|
||||
grad(U) fourth; //cellLimited Gauss linear 1;
|
||||
grad(nuTilda) cellLimited Gauss linear 1;
|
||||
}
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,17 +23,17 @@ boundaryField
|
||||
{
|
||||
top
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
symmetry
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
inlet
|
||||
|
||||
@ -46,7 +46,7 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type alphatWallFunction;
|
||||
type compressible::alphatWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user