Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

Conflicts:
	tutorials/incompressible/pimpleFoam/elipsekkLOmega/constant/polyMesh/boundary
This commit is contained in:
sergio
2012-04-20 12:41:42 +01:00
56 changed files with 240 additions and 148 deletions

View File

@ -7,6 +7,7 @@
surfaceScalarField phiHbyA surfaceScalarField phiHbyA
( (
"phiHbyA",
(fvc::interpolate(HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())
+ fvc::ddtPhiCorr(rAU, rho, U, phiAbs) + fvc::ddtPhiCorr(rAU, rho, U, phiAbs)
); );

View File

@ -8,6 +8,7 @@
surfaceScalarField phiHbyA surfaceScalarField phiHbyA
( (
"phiHbyA",
fvc::interpolate(rho) fvc::interpolate(rho)
*( *(
(fvc::interpolate(HbyA) & mesh.Sf()) (fvc::interpolate(HbyA) & mesh.Sf())

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -37,6 +37,7 @@ SourceFiles
#define ListOps_H #define ListOps_H
#include "labelList.H" #include "labelList.H"
#include "ops.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -209,6 +210,18 @@ label findSortedIndex
); );
//- Find last element < given value in sorted list and return index,
// return -1 if not found. Binary search.
template<class ListType, class BinaryOp>
label findLower
(
const ListType&,
typename ListType::const_reference,
const label stary,
const BinaryOp& bop
);
//- Find last element < given value in sorted list and return index, //- Find last element < given value in sorted list and return index,
// return -1 if not found. Binary search. // return -1 if not found. Binary search.
template<class ListType> template<class ListType>

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -592,12 +592,13 @@ Foam::label Foam::findSortedIndex
} }
template<class ListType> template<class ListType, class BinaryOp>
Foam::label Foam::findLower Foam::label Foam::findLower
( (
const ListType& l, const ListType& l,
typename ListType::const_reference t, typename ListType::const_reference t,
const label start const label start,
const BinaryOp& bop
) )
{ {
if (start >= l.size()) if (start >= l.size())
@ -612,7 +613,7 @@ Foam::label Foam::findLower
{ {
label mid = (low + high)/2; label mid = (low + high)/2;
if (l[mid] < t) if (bop(l[mid], t))
{ {
low = mid; low = mid;
} }
@ -622,13 +623,13 @@ Foam::label Foam::findLower
} }
} }
if (l[high] < t) if (bop(l[high], t))
{ {
return high; return high;
} }
else else
{ {
if (l[low] < t) if (bop(l[low], t))
{ {
return low; return low;
} }
@ -640,6 +641,18 @@ Foam::label Foam::findLower
} }
template<class ListType>
Foam::label Foam::findLower
(
const ListType& l,
typename ListType::const_reference t,
const label start
)
{
return findLower(l, t, start, lessOp<typename ListType::value_type>());
}
template<class Container, class T, int nRows> template<class Container, class T, int nRows>
Foam::List<Container> Foam::initList(const T elems[nRows]) Foam::List<Container> Foam::initList(const T elems[nRows])
{ {

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -270,7 +270,7 @@ public:
) const; ) const;
//- Read a value from the named option if present. //- Read a value from the named option if present.
// Return true if the named option was found. // Return supplied default otherwise.
template<class T> template<class T>
inline T optionLookupOrDefault inline T optionLookupOrDefault
( (

View File

@ -167,8 +167,11 @@ bool linearInterpolationWeights::integrationWeights
<< exit(FatalError); << exit(FatalError);
} }
// Currently no fancy logic on cached index // Currently no fancy logic on cached index like in value
label i1 = findLower(samples_, t1);
//- Find lower or equal index
label i1 = findLower(samples_, t1, 0, lessEqOp<scalar>());
//- Find lower index
label i2 = findLower(samples_, t2); label i2 = findLower(samples_, t2);
// For now just fail if any outside table // For now just fail if any outside table

View File

@ -38,6 +38,7 @@ Description
separator ","; // optional (defaults to ",") separator ","; // optional (defaults to ",")
fileName "fileXYZ"; // name of csv data file fileName "fileXYZ"; // name of csv data file
outOfBounds clamp; // optional out-of-bounds handling outOfBounds clamp; // optional out-of-bounds handling
interpolationScheme linear; // optional interpolation scheme
} }
\endverbatim \endverbatim

View File

@ -73,6 +73,11 @@ void Foam::TableBase<Type>::writeEntries(Ostream& os) const
os.writeKeyword("outOfBounds") << boundsHandlingToWord(boundsHandling_) os.writeKeyword("outOfBounds") << boundsHandlingToWord(boundsHandling_)
<< token::END_STATEMENT << nl; << token::END_STATEMENT << nl;
} }
if (interpolationScheme_ != "linear")
{
os.writeKeyword("interpolationScheme") << interpolationScheme_
<< token::END_STATEMENT << nl;
}
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -142,6 +142,10 @@ Op(minMod, minMod(x, y))
Op(and, x && y) Op(and, x && y)
Op(or, x || y) Op(or, x || y)
Op(eqEq, x == y) Op(eqEq, x == y)
Op(less, x < y)
Op(lessEq, x <= y)
Op(greater, x > y)
Op(greaterEq, x >= y)
#undef Op #undef Op

View File

@ -215,6 +215,39 @@ void Foam::meshTools::writeOBJ
} }
void Foam::meshTools::writeOBJ
(
Ostream& os,
const point& p1,
const point& p2,
label& count
)
{
os << "v" << ' ' << p1.x() << ' ' << p1.y() << ' ' << p1.z() << endl;
os << "v" << ' ' << p2.x() << ' ' << p2.y() << ' ' << p2.z() << endl;
os << "l" << " " << (count + 1) << " " << (count + 2) << endl;
count += 2;
}
void Foam::meshTools::writeOBJ
(
Ostream& os,
const point& p1,
const point& p2
)
{
os << "v" << ' ' << p1.x() << ' ' << p1.y() << ' ' << p1.z() << endl;
os << "vn"
<< ' ' << p2.x() - p1.x()
<< ' ' << p2.y() - p1.y()
<< ' ' << p2.z() - p1.z() << endl;
}
void Foam::meshTools::writeOBJ void Foam::meshTools::writeOBJ
( (
Ostream& os, Ostream& os,

View File

@ -107,6 +107,24 @@ namespace meshTools
const point& pt const point& pt
); );
//- Write obj representation of a line connecting two points
// Need to keep track of points that have been added. count starts at 0
void writeOBJ
(
Ostream& os,
const point& p1,
const point& p2,
label& count
);
//- Write obj representation of a point p1 with a vector from p1 to p2
void writeOBJ
(
Ostream& os,
const point& p1,
const point& p2
);
//- Write obj representation of faces subset //- Write obj representation of faces subset
void writeOBJ void writeOBJ
( (

View File

@ -23,7 +23,7 @@ boundaryField
{ {
ground ground
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
@ -35,7 +35,7 @@ boundaryField
burner burner
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
@ -53,7 +53,7 @@ boundaryField
"(region0_to.*)" "(region0_to.*)"
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
} }

View File

@ -23,7 +23,7 @@ boundaryField
{ {
outlet outlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
@ -41,13 +41,13 @@ boundaryField
base base
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }

View File

@ -23,7 +23,7 @@ boundaryField
{ {
outlet outlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
sides sides
@ -39,12 +39,12 @@ boundaryField
} }
base base
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
} }

View File

@ -22,21 +22,21 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }

View File

@ -22,21 +22,21 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }

View File

@ -22,28 +22,28 @@ boundaryField
{ {
ground ground
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
igloo_region0 igloo_region0
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
twoFridgeFreezers_seal_0 twoFridgeFreezers_seal_0
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }
twoFridgeFreezers_herring_1 twoFridgeFreezers_herring_1
{ {
type buoyantPressure; type fixedFluxPressure;
rho rhok; rho rhok;
value uniform 0; value uniform 0;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
} }

View File

@ -23,25 +23,25 @@ boundaryField
{ {
frontAndBack frontAndBack
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
topAndBottom topAndBottom
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
hot hot
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
cold cold
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
} }

View File

@ -23,22 +23,22 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
outlet outlet
{ {
type buoyantPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
fixedWalls fixedWalls

View File

@ -22,19 +22,19 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 1e5; value uniform 1e5;
} }
} }

View File

@ -22,25 +22,25 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
box box
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
} }

View File

@ -22,25 +22,25 @@ boundaryField
{ {
floor floor
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
ceiling ceiling
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
fixedWalls fixedWalls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
box box
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
} }

View File

@ -23,11 +23,11 @@ boundaryField
{ {
"(sides|frontAndBack)" "(sides|frontAndBack)"
{ {
type buoyantPressure; type fixedFluxPressure;
} }
region0_to_wallFilmRegion_wallFilmFaces region0_to_wallFilmRegion_wallFilmFaces
{ {
type buoyantPressure; type fixedFluxPressure;
} }
} }

View File

@ -23,12 +23,12 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
wallFilm wallFilm
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 100000; value uniform 100000;
} }
} }

View File

@ -23,19 +23,19 @@ boundaryField
{ {
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
} }
outlet outlet
{ {
type buoyantPressure; type fixedFluxPressure;
} }
sides sides
{ {
type buoyantPressure; type fixedFluxPressure;
} }
region0_to_wallFilmRegion_wallFilmFaces region0_to_wallFilmRegion_wallFilmFaces
{ {
type buoyantPressure; type fixedFluxPressure;
} }
} }

View File

@ -23,11 +23,11 @@ boundaryField
{ {
sides sides
{ {
type buoyantPressure; type fixedFluxPressure;
} }
region0_to_wallFilmRegion_wallFilmFaces region0_to_wallFilmRegion_wallFilmFaces
{ {
type buoyantPressure; type fixedFluxPressure;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
@ -50,7 +50,7 @@ boundaryField
hull_wall hull_wall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
inlet inlet
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
outlet outlet
@ -32,7 +32,7 @@ boundaryField
} }
walls walls
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
} }

View File

@ -22,13 +22,13 @@ boundaryField
{ {
rotor rotor
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
stator stator
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }

View File

@ -22,13 +22,13 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
obstacle obstacle
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
stationaryWalls stationaryWalls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
atmosphere atmosphere
@ -38,7 +38,7 @@ boundaryField
} }
floatingObject floatingObject
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -30,7 +30,7 @@ boundaryField
} }
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -30,7 +30,7 @@ boundaryField
} }
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
walls walls
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -23,19 +23,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
gradient uniform 0; gradient uniform 0;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
gradient uniform 0; gradient uniform 0;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
gradient uniform 0; gradient uniform 0;
value uniform 0; value uniform 0;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -39,7 +39,7 @@ boundaryField
bullet bullet
{ {
type buoyantPressure; type fixedFluxPressure;
} }
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
inlet inlet
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
outlet outlet

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,13 +22,13 @@ boundaryField
{ {
rotor rotor
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
stator stator
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,19 +22,19 @@ boundaryField
{ {
leftWall leftWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
rightWall rightWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
inlet inlet
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
@ -34,19 +34,19 @@ boundaryField
bottomWall bottomWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
endWall endWall
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
top top
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,115 +22,115 @@ boundaryField
{ {
SYMP3 SYMP3
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
INLE1 INLE1
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
OUTL9 OUTL9
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
OUTL10 OUTL10
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
OUTL11 OUTL11
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
OUTL12 OUTL12
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL6 WALL6
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL8 WALL8
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL61 WALL61
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL62 WALL62
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL63 WALL63
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL64 WALL64
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL65 WALL65
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL66 WALL66
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL67 WALL67
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL68 WALL68
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL69 WALL69
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL7 WALL7
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
WALL70 WALL70
{ {
type buoyantPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -23,19 +23,19 @@ boundaryField
{ {
left left
{ {
type buoyantPressure; type fixedFluxPressure;
} }
right right
{ {
type buoyantPressure; type fixedFluxPressure;
} }
bottom bottom
{ {
type buoyantPressure; type fixedFluxPressure;
} }
top top
{ {
type buoyantPressure; type fixedFluxPressure;
} }
frontBack frontBack
{ {

View File

@ -22,7 +22,7 @@ boundaryField
{ {
bottom bottom
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
@ -34,7 +34,7 @@ boundaryField
walls walls
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }

View File

@ -22,7 +22,7 @@ boundaryField
{ {
walls walls
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
outlet outlet
@ -32,7 +32,7 @@ boundaryField
} }
inlet inlet
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
frontAndBackPlanes frontAndBackPlanes

View File

@ -1901,7 +1901,7 @@ boundaryField
{ {
inlet inlet
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }
@ -1913,7 +1913,7 @@ boundaryField
walls walls
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value uniform 0; value uniform 0;
} }

View File

@ -22,13 +22,13 @@ boundaryField
{ {
rotor rotor
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }
stator stator
{ {
type multiphaseFixedFluxPressure; type fixedFluxPressure;
value $internalField; value $internalField;
} }