mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@ -9,25 +9,16 @@ FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object boundaryRadiationProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
".*"
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type boundaryRadiation;
|
||||
mode lookup;
|
||||
emissivity uniform 1.0;
|
||||
absorptivity uniform 0.0;
|
||||
value uniform 0.0;
|
||||
}
|
||||
mode lookup;
|
||||
emissivity 1.0;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -21,7 +21,7 @@ done
|
||||
|
||||
for i in air solid floor
|
||||
do
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
runApplication -s $i changeDictionary -region $i -subDict dictionaryReplacement
|
||||
done
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -29,7 +29,7 @@ dynamicRefineFvMeshCoeffs
|
||||
// Have slower than 2:1 refinement
|
||||
nBufferLayers 1;
|
||||
// Refine cells only up to maxRefinement levels
|
||||
maxRefinement 3;
|
||||
maxRefinement 4;
|
||||
// Stop refinement if maxCells reached
|
||||
maxCells 2000000;
|
||||
// Flux field and corresponding velocity field. Fluxes on changed
|
||||
|
||||
@ -38,7 +38,7 @@ geometry
|
||||
|
||||
//// Optional: avoid patch-face merging. Allows mesh to be used for
|
||||
//// refinement/unrefinement
|
||||
//mergePatchFaces off; // default on
|
||||
mergePatchFaces on; // default on
|
||||
|
||||
|
||||
|
||||
|
||||
@ -15,8 +15,7 @@ runApplication splitMeshRegions -cellZones -overwrite
|
||||
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
runApplication changeDictionary -region $i
|
||||
mv log.changeDictionary log.changeDictionary.$i 2>&1
|
||||
runApplication -s $i changeDictionary -region $i -subDict dictionaryReplacement
|
||||
done
|
||||
|
||||
runApplication decomposePar -allRegions
|
||||
|
||||
Reference in New Issue
Block a user