Solvers and tutorials: changed use of buoyantPressure BC to fixedFluxPressure

This commit is contained in:
Henry
2012-04-20 09:49:58 +01:00
parent 4eafca473c
commit ef8efc27ba
48 changed files with 137 additions and 141 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

@ -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

@ -15,37 +15,31 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5 4
( (
left
{
type symmetryPlane;
nFaces 320;
startFace 99210;
}
outlet outlet
{ {
type patch; type patch;
nFaces 320; nFaces 320;
startFace 99530; startFace 99370;
} }
up up
{ {
type symmetryPlane; type symmetryPlane;
nFaces 380; nFaces 380;
startFace 99850; startFace 99690;
} }
hole hole
{ {
type wall; type wall;
nFaces 560; nFaces 560;
startFace 100230; startFace 100070;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
nFaces 100000; nFaces 100000;
startFace 100790; startFace 100630;
} }
) )

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;
} }