mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' into pairPatchAgglomeration
This commit is contained in:
@ -88,19 +88,18 @@ constantProperties
|
||||
constantVolume true;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
|
||||
@ -72,19 +72,18 @@ constantProperties
|
||||
Pr 0.7;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
|
||||
@ -16,11 +16,16 @@ setSet -batch system/sets.setSet > log.setSet1 2>&1
|
||||
setsToZones -noFlipMap > log.setsToZones 2>&1
|
||||
|
||||
# create the first cyclic - lhs of porous zone
|
||||
unset FOAM_SETNAN
|
||||
# Note that we don't know what value to give these patches-out-of-nothing so
|
||||
# - use binary writing to avoid 'nan'
|
||||
# - use setFields to set values
|
||||
unset FOAM_SIGFPE
|
||||
createBaffles cycLeft '(cycLeft_half0 cycLeft_half1)' -overwrite > log.createBaffles1 2>&1
|
||||
|
||||
# create the second cyclic - rhs of porous zone
|
||||
createBaffles cycRight '(cycRight_half0 cycRight_half1)' -overwrite > log.createBaffles2 2>&1
|
||||
# Initialise newly created patchFields to 0
|
||||
changeDictionary
|
||||
|
||||
runApplication $application
|
||||
|
||||
|
||||
@ -87,19 +87,18 @@ constantProperties
|
||||
constantVolume false;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ReactingMultiphaseLookupTableInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ReactingMultiphaseLookupTableInjection;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
|
||||
@ -0,0 +1,197 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.7.1 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object changeDictionaryDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
alphat
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
G
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
H2O
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
k
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
mut
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
N2
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
O2
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
p
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
T
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
U
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
cycLeft
|
||||
{
|
||||
type cyclic;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
cycRight
|
||||
{
|
||||
type cyclic;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -33,7 +33,7 @@ writeInterval 0.1;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
writeFormat binary;
|
||||
|
||||
writePrecision 10;
|
||||
|
||||
|
||||
@ -87,19 +87,18 @@ constantProperties
|
||||
constantVolume false;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
@ -132,7 +131,7 @@ subModels
|
||||
U0 (0 0 0);
|
||||
sizeDistribution
|
||||
{
|
||||
pdfType uniform;
|
||||
distributionModelType uniform;
|
||||
uniformDistribution
|
||||
{
|
||||
minValue 100e-06;
|
||||
|
||||
@ -87,19 +87,18 @@ constantProperties
|
||||
constantVolume false;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel PatchInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel PatchInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
@ -135,7 +134,7 @@ subModels
|
||||
flowRateProfile constant 1;
|
||||
sizeDistribution
|
||||
{
|
||||
pdfType general;
|
||||
distributionModelType general;
|
||||
generalDistribution
|
||||
{
|
||||
distribution
|
||||
|
||||
@ -84,19 +84,18 @@ constantProperties
|
||||
constantVolume false;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity off;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
|
||||
@ -56,19 +56,18 @@ constantProperties
|
||||
poissonsRatio 0.35;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
|
||||
@ -71,19 +71,18 @@ constantProperties
|
||||
Pr 0.7;
|
||||
}
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel ManualInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
|
||||
@ -18,81 +18,6 @@ FoamFile
|
||||
solution
|
||||
{
|
||||
active no;
|
||||
|
||||
integrationSchemes
|
||||
{
|
||||
U Euler;
|
||||
T Analytical;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
constantProperties
|
||||
{
|
||||
parcelTypeId 1;
|
||||
|
||||
rhoMin 1e-15;
|
||||
minParticleMass 1e-15;
|
||||
TMin 200;
|
||||
pMin 1000;
|
||||
minParticleMass 1e-15;
|
||||
|
||||
rho0 1400;
|
||||
T0 313;
|
||||
Cp0 1680;
|
||||
|
||||
youngsModulus 2e9;
|
||||
poissonsRatio 0.35;
|
||||
|
||||
epsilon0 0.8;
|
||||
f0 0.3;
|
||||
|
||||
Tvap 400;
|
||||
Tbp 400;
|
||||
Pr 0.7;
|
||||
LDevol 0;
|
||||
hRetentionCoeff 1;
|
||||
|
||||
constantVolume true;
|
||||
}
|
||||
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity off;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
DragModel none;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
PatchInteractionModel none;
|
||||
|
||||
HeatTransferModel none;
|
||||
|
||||
CompositionModel none;
|
||||
|
||||
PhaseChangeModel none;
|
||||
|
||||
DevolatilisationModel none;
|
||||
|
||||
SurfaceReactionModel none;
|
||||
|
||||
PostProcessingModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
radiation off;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@ solution
|
||||
transient no; // yes;
|
||||
calcFrequency 10;
|
||||
maxTrackTime 5.0;
|
||||
maxCo 0.3;
|
||||
|
||||
coupled true;
|
||||
cellValueSourceCorrection off;
|
||||
@ -97,20 +98,18 @@ constantProperties
|
||||
}
|
||||
|
||||
|
||||
particleForces
|
||||
{
|
||||
gravity on;
|
||||
virtualMass off;
|
||||
pressureGradient off;
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
|
||||
subModels
|
||||
{
|
||||
InjectionModel PatchInjection;
|
||||
particleForces
|
||||
{
|
||||
activeForces
|
||||
(
|
||||
sphereDrag
|
||||
gravity
|
||||
);
|
||||
}
|
||||
|
||||
DragModel SphereDrag;
|
||||
InjectionModel PatchInjection;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
@ -146,7 +145,7 @@ subModels
|
||||
flowRateProfile constant 1;
|
||||
sizeDistribution
|
||||
{
|
||||
pdfType general;
|
||||
distributionModelType general;
|
||||
generalDistribution
|
||||
{
|
||||
distribution
|
||||
|
||||
Reference in New Issue
Block a user