mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -100,7 +100,7 @@ tmp<volScalarField> kkLOmega::fTaul
|
||||
lambdaEff*omega_
|
||||
+ dimensionedScalar
|
||||
(
|
||||
"ROTVSMALL",
|
||||
"ROOTVSMALL",
|
||||
dimLength*inv(dimTime),
|
||||
ROOTVSMALL
|
||||
)
|
||||
@ -194,6 +194,7 @@ tmp<volScalarField> kkLOmega::gammaNAT
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
kkLOmega::kkLOmega
|
||||
@ -670,7 +671,7 @@ void kkLOmega::correct()
|
||||
alphaT(lambdaEff, fv(sqr(fw)*kt_/nu()/(omega_ + omegaMin_)), ktS)
|
||||
);
|
||||
|
||||
// By pass s0urce term divided by kl_
|
||||
// By pass source term divided by kl_
|
||||
|
||||
const dimensionedScalar fwMin("SMALL", dimless, ROOTVSMALL);
|
||||
|
||||
|
||||
@ -136,6 +136,7 @@ class kkLOmega
|
||||
const volScalarField& fNatCrit
|
||||
) const;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Protected data
|
||||
|
||||
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/T
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/T
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/alphaSgs
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/alphaSgs
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/k
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/k
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/muSgs
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/muSgs
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/T
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/T
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Y0Default
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Y0Default
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Yv
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/panelRegion/Yv
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/smallPoolFire2D/0/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/smallPoolFire2D/0/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/smallPoolFire3D/0/Ydefault
Executable file → Normal file
0
tutorials/combustion/fireFoam/les/smallPoolFire3D/0/Ydefault
Executable file → Normal file
@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# copy propeller surface from resources folder
|
||||
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
|
||||
|
||||
|
||||
# - meshing
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
@ -22,14 +22,13 @@ boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
//type totalPressure;
|
||||
//p0 uniform 40;
|
||||
|
||||
type timeVaryingTotalPressure;
|
||||
type uniformTotalPressure;
|
||||
pressure table
|
||||
(
|
||||
(0 10)
|
||||
(1 40)
|
||||
);
|
||||
p0 40; // only used for restarts
|
||||
outOfBounds clamp;
|
||||
fileName "$FOAM_CASE/constant/p0vsTime";
|
||||
|
||||
U U;
|
||||
phi phi;
|
||||
rho none;
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
(
|
||||
(0 10)
|
||||
(1 40)
|
||||
)
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
location "0";
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -23,50 +22,37 @@ boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type timeVaryingTotalPressure;
|
||||
type uniformTotalPressure;
|
||||
pressure table
|
||||
(
|
||||
(0 10)
|
||||
(1 40)
|
||||
);
|
||||
p0 40; // only used for restarts
|
||||
U U;
|
||||
phi phi;
|
||||
rho none;
|
||||
psi none;
|
||||
gamma 1;
|
||||
p0 40;
|
||||
fileName "$FOAM_CASE/constant/p0vsTime";
|
||||
outOfBounds clamp;
|
||||
value uniform 40;
|
||||
}
|
||||
|
||||
outlet1
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 10;
|
||||
}
|
||||
|
||||
outlet2
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
baffles
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
fan_half0
|
||||
{
|
||||
type fan;
|
||||
patchType cyclic;
|
||||
jump uniform 0;
|
||||
f 2(100 -0.1);
|
||||
value uniform 0;
|
||||
}
|
||||
fan_half1
|
||||
{
|
||||
type fan;
|
||||
patchType cyclic;
|
||||
jump uniform 0;
|
||||
f 2(100 -0.1);
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
(
|
||||
(0 10)
|
||||
(1 40)
|
||||
)
|
||||
@ -4,6 +4,9 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
\rm -f constant/triSurface/motorBike.obj.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# copy motorbike surface from resources folder
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
|
||||
|
||||
# Make dummy 0 directory
|
||||
mkdir 0
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
Folder to house tri-surfaces
|
||||
|
||||
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
|
||||
folder
|
||||
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@ addLayers false;
|
||||
// - to 'snap' the mesh boundary to the surface
|
||||
geometry
|
||||
{
|
||||
motorBike.stl
|
||||
motorBike.obj
|
||||
{
|
||||
type triSurfaceMesh;
|
||||
name motorBike;
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
awk '{print $1 " " $4}' poolHeight/0/faceSource.dat > poolHeight_vs_time
|
||||
|
||||
|
||||
@ -3,6 +3,9 @@
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
\rm -f constant/triSurface/motorBike.obj.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# copy motorbike surface from resources folder
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
|
||||
|
||||
cp -r 0.org 0 > /dev/null 2>&1
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
Folder to house tri-surfaces
|
||||
|
||||
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
|
||||
folder
|
||||
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@ addLayers true;
|
||||
// - to 'snap' the mesh boundary to the surface
|
||||
geometry
|
||||
{
|
||||
motorBike.stl
|
||||
motorBike.obj
|
||||
{
|
||||
type triSurfaceMesh;
|
||||
name motorBike;
|
||||
|
||||
BIN
tutorials/resources/geometry/motorBike.obj.gz
Normal file
BIN
tutorials/resources/geometry/motorBike.obj.gz
Normal file
Binary file not shown.
BIN
tutorials/resources/geometry/propellerTip.obj.gz
Normal file
BIN
tutorials/resources/geometry/propellerTip.obj.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user