mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial commit after latest foundation merge
This commit is contained in:
@ -22,20 +22,17 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7,4 +7,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
rm -f 0/T
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -11,4 +11,4 @@ cp 0/T.org 0/T
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,20 +22,17 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7,4 +7,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
rm -f 0/T
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -11,4 +11,4 @@ cp 0/T.org 0/T
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -25,8 +25,7 @@ boundaryField
|
||||
|
||||
wall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -8,4 +8,4 @@ runApplication blockMesh
|
||||
runApplication snappyHexMesh -overwrite
|
||||
runApplication `getApplication`
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,20 +22,17 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7,4 +7,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
cp 0/T.org 0/T
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -11,4 +11,4 @@ runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -23,26 +23,22 @@ boundaryField
|
||||
{
|
||||
frontAndBack
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
topAndBottom
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
hot
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
cold
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -8,4 +8,4 @@ cleanCase
|
||||
rm -rf sets
|
||||
rm -f validation/*.eps
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -13,4 +13,4 @@ runApplication sample -latestTime
|
||||
|
||||
( cd validation && ./createGraphs )
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -26,13 +26,11 @@ boundaryField
|
||||
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
|
||||
@ -9,4 +9,4 @@ rm -rf constant/baffle3DRegion
|
||||
rm -rf constant/polyMesh/boundary
|
||||
rm -rf 0
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -38,13 +38,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian((rho*nuEff),U) Gauss linear uncorrected;
|
||||
laplacian(rhorAUf,p_rgh) Gauss linear uncorrected;
|
||||
laplacian(alphaEff,h) Gauss linear uncorrected;
|
||||
laplacian((rho*DkEff),k) Gauss linear uncorrected;
|
||||
laplacian((rho*DepsilonEff),epsilon) Gauss linear uncorrected;
|
||||
laplacian((rho*DomegaEff),omega) Gauss linear uncorrected;
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
|
||||
@ -22,26 +22,22 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
box
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -6,4 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -9,4 +9,4 @@ application=`getApplication`
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,26 +22,22 @@ boundaryField
|
||||
{
|
||||
floor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
ceiling
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
box
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -6,4 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -9,4 +9,4 @@ application=`getApplication`
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -101,4 +101,4 @@ done
|
||||
log "done"
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -34,33 +34,27 @@ boundaryField
|
||||
}
|
||||
minY
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
bottomWater_to_rightSolid
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
bottomWater_to_leftSolid
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
bottomWater_to_heater
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -19,4 +19,4 @@ rm -rf constant/heater/polyMesh
|
||||
rm -rf constant/leftSolid/polyMesh
|
||||
rm -rf constant/rightSolid/polyMesh
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -18,7 +18,7 @@ done
|
||||
|
||||
for i in bottomWater topAir heater leftSolid rightSolid
|
||||
do
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
runApplication -s $i changeDictionary -region $i
|
||||
done
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ done
|
||||
runApplication decomposePar -allRegions
|
||||
|
||||
# Run
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
@ -40,4 +40,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -23,4 +23,4 @@ rm -rf constant/heater/polyMesh
|
||||
rm -rf constant/leftSolid/polyMesh
|
||||
rm -rf constant/rightSolid/polyMesh
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,7 +22,7 @@ done
|
||||
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
runApplication -s $i changeDictionary -region $i
|
||||
done
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@ runApplication `getApplication`
|
||||
#runApplication decomposePar -allRegions
|
||||
#
|
||||
## Run
|
||||
#runParallel `getApplication` 4
|
||||
#runParallel `getApplication`
|
||||
#
|
||||
## Reconstruct
|
||||
#runApplication reconstructPar -allRegions
|
||||
@ -45,4 +45,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -27,13 +27,11 @@ boundaryField
|
||||
}
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
ice_to_cabin
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
ice_to_exterior
|
||||
{
|
||||
|
||||
@ -23,8 +23,7 @@ boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
@ -39,8 +38,7 @@ boundaryField
|
||||
}
|
||||
blades
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -34,8 +34,7 @@ boundaryField
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7,16 +7,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
runApplication decomposePar -region air
|
||||
mv log.decomposePar log.decomposePar.air
|
||||
runApplication -s air decomposePar -region air
|
||||
runApplication -s porous decomposePar -region porous
|
||||
|
||||
runApplication decomposePar -region porous
|
||||
mv log.decomposePar log.decomposePar.porous
|
||||
runParallel $(getApplication)
|
||||
|
||||
runParallel $(getApplication) 4
|
||||
|
||||
runApplication reconstructPar -latestTime -region air
|
||||
mv log.reconstructPar log.reconstructPar.air
|
||||
|
||||
runApplication reconstructPar -latestTime -region porous
|
||||
mv log.reconstructPar log.reconstructPar.porous
|
||||
runApplication -s air reconstructPar -latestTime -region air
|
||||
runApplication -s porous reconstructPar -latestTime -region porous
|
||||
|
||||
@ -6,20 +6,18 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
#create meshes
|
||||
runApplication blockMesh -region air
|
||||
mv log.blockMesh log.blockMesh.air
|
||||
runApplication blockMesh -region porous
|
||||
mv log.blockMesh log.blockMesh.porous
|
||||
runApplication -s air blockMesh -region air
|
||||
runApplication -s porous blockMesh -region porous
|
||||
|
||||
# create rotor blades in air region
|
||||
runApplication topoSet -region air -dict system/topoSetDict.1
|
||||
mv log.topoSet log.topoSet.air.1
|
||||
runApplication -s air.1 \
|
||||
topoSet -region air -dict system/topoSetDict.1
|
||||
|
||||
runApplication createBaffles -region air -overwrite
|
||||
|
||||
# create rotor zone in air region for MRF
|
||||
runApplication topoSet -region air -dict system/topoSetDict.2
|
||||
mv log.topoSet log.topoSet.air.2
|
||||
runApplication -s air.2 \
|
||||
topoSet -region air -dict system/topoSetDict.2
|
||||
|
||||
rm -rf constant/air/polyMesh/sets
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ boundaryField
|
||||
".*"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -37,4 +37,4 @@ rm -f constant/topAir/subMap
|
||||
rm -f constant/topAir/visibleFaceFaces
|
||||
rm -f constant/topAir/mapDist
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -15,13 +15,15 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Agglomerate patch faces
|
||||
for i in bottomAir topAir
|
||||
do
|
||||
faceAgglomerate -region $i -dict constant/viewFactorsDict > log.faceAgglomerate.$i 2>&1
|
||||
runApplication -s $i \
|
||||
faceAgglomerate -region $i -dict constant/viewFactorsDict
|
||||
done
|
||||
|
||||
# Generate view factors
|
||||
for i in bottomAir topAir
|
||||
do
|
||||
viewFactorsGen -region $i > log.viewFactorsGen.$i 2>&1
|
||||
runApplication -s $i \
|
||||
viewFactorsGen -region $i
|
||||
done
|
||||
|
||||
runApplication `getApplication`
|
||||
@ -33,4 +35,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -18,17 +18,19 @@ runApplication decomposePar -allRegions
|
||||
# Agglomerate patch faces
|
||||
for i in bottomAir topAir
|
||||
do
|
||||
mpirun -np 4 faceAgglomerate -region $i -dict constant/viewFactorsDict -parallel> log.faceAgglomerate.$i 2>&1
|
||||
runParallel -s $i -np 4 \
|
||||
faceAgglomerate -region $i -dict constant/viewFactorsDict
|
||||
done
|
||||
|
||||
# Generate view factors
|
||||
for i in bottomAir topAir
|
||||
do
|
||||
mpirun -np 4 viewFactorsGen -region $i -parallel > log.viewFactorsGen.$i 2>&1
|
||||
runParallel -s $i -np 4 \
|
||||
viewFactorsGen -region $i
|
||||
done
|
||||
|
||||
# Run
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
@ -40,4 +42,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -17,8 +17,8 @@ done
|
||||
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
runApplication -s $i changeDictionary -region $i
|
||||
done
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user