Commit ef8efc27 authored by Henry's avatar Henry
Browse files

Solvers and tutorials: changed use of buoyantPressure BC to fixedFluxPressure

parent 4eafca47
......@@ -7,6 +7,7 @@
surfaceScalarField phiHbyA
(
"phiHbyA",
(fvc::interpolate(HbyA) & mesh.Sf())
+ fvc::ddtPhiCorr(rAU, rho, U, phiAbs)
);
......
......@@ -8,6 +8,7 @@
surfaceScalarField phiHbyA
(
"phiHbyA",
fvc::interpolate(rho)
*(
(fvc::interpolate(HbyA) & mesh.Sf())
......
......@@ -23,7 +23,7 @@ boundaryField
{
ground
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
......@@ -35,7 +35,7 @@ boundaryField
burner
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
......@@ -53,7 +53,7 @@ boundaryField
"(region0_to.*)"
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
}
......
......@@ -23,7 +23,7 @@ boundaryField
{
outlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
......@@ -41,13 +41,13 @@ boundaryField
base
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
inlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
......
......@@ -23,7 +23,7 @@ boundaryField
{
outlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
sides
......@@ -39,12 +39,12 @@ boundaryField
}
base
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
inlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
}
......
......@@ -22,21 +22,21 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
......
......@@ -22,21 +22,21 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
......
......@@ -22,28 +22,28 @@ boundaryField
{
ground
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
igloo_region0
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
twoFridgeFreezers_seal_0
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
twoFridgeFreezers_herring_1
{
type buoyantPressure;
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
......
......@@ -22,19 +22,19 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
}
......
......@@ -23,25 +23,25 @@ boundaryField
{
frontAndBack
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
topAndBottom
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
hot
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
cold
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
}
......
......@@ -23,22 +23,22 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
inlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
outlet
{
type buoyantPressure;
type fixedFluxPressure;
value $internalField;
}
fixedWalls
......
......@@ -22,19 +22,19 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 1e5;
}
}
......
......@@ -22,25 +22,25 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
box
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
}
......
......@@ -22,25 +22,25 @@ boundaryField
{
floor
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
ceiling
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
fixedWalls
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
box
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
}
......
......@@ -15,37 +15,31 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
4
(
left
{
type symmetryPlane;
nFaces 320;
startFace 99210;
}
outlet
{
type patch;
nFaces 320;
startFace 99530;
startFace 99370;
}
up
{
type symmetryPlane;
nFaces 380;
startFace 99850;
startFace 99690;
}
hole
{
type wall;
nFaces 560;
startFace 100230;
startFace 100070;
}
frontAndBack
{
type empty;
nFaces 100000;
startFace 100790;
startFace 100630;
}
)
......
......@@ -23,11 +23,11 @@ boundaryField
{
"(sides|frontAndBack)"
{
type buoyantPressure;
type fixedFluxPressure;
}
region0_to_wallFilmRegion_wallFilmFaces
{
type buoyantPressure;
type fixedFluxPressure;
}
}
......
......@@ -23,12 +23,12 @@ boundaryField
{
walls
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
wallFilm
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 100000;
}
}
......
......@@ -23,19 +23,19 @@ boundaryField
{
inlet
{
type buoyantPressure;
type fixedFluxPressure;
}
outlet
{
type buoyantPressure;
type fixedFluxPressure;
}
sides
{
type buoyantPressure;
type fixedFluxPressure;
}
region0_to_wallFilmRegion_wallFilmFaces
{
type buoyantPressure;
type fixedFluxPressure;
}
}
......
......@@ -23,11 +23,11 @@ boundaryField
{
sides
{
type buoyantPressure;
type fixedFluxPressure;
}
region0_to_wallFilmRegion_wallFilmFaces
{
type buoyantPressure;
type fixedFluxPressure;
}
}
......
......@@ -22,7 +22,7 @@ boundaryField
{
inlet
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 0;
}
......@@ -50,7 +50,7 @@ boundaryField
hull_wall
{
type buoyantPressure;
type fixedFluxPressure;
value uniform 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment