Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
ad5305ae
Commit
ad5305ae
authored
Dec 08, 2010
by
mattijs
Browse files
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
parents
fdd30d16
34f55c4f
Changes
155
Hide whitespace changes
Inline
Side-by-side
applications/solvers/heatTransfer/chtMultiRegionFoam/Make/options
View file @
ad5305ae
...
...
@@ -5,6 +5,7 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basicSolidThermo/lnInclude \
-I$(LIB_SRC)/turbulenceModels/compressible/turbulenceModel/lnInclude
...
...
applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/Make/options
View file @
ad5305ae
...
...
@@ -7,6 +7,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basicSolidThermo/lnInclude \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/turbulenceModels/compressible/turbulenceModel/lnInclude \
...
...
applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/solid/setRegionSolidFields.H
View file @
ad5305ae
...
...
@@ -4,7 +4,7 @@
tmp
<
volScalarField
>
trho
=
thermo
.
rho
();
const
volScalarField
&
rho
=
trho
();
tmp
<
volScalarField
>
tcp
=
thermo
.
c
p
();
tmp
<
volScalarField
>
tcp
=
thermo
.
C
p
();
const
volScalarField
&
cp
=
tcp
();
tmp
<
volScalarField
>
tK
=
thermo
.
K
();
...
...
applications/solvers/heatTransfer/chtMultiRegionFoam/solid/setRegionSolidFields.H
View file @
ad5305ae
...
...
@@ -4,11 +4,12 @@
tmp
<
volScalarField
>
trho
=
thermo
.
rho
();
const
volScalarField
&
rho
=
trho
();
tmp
<
volScalarField
>
tcp
=
thermo
.
c
p
();
tmp
<
volScalarField
>
tcp
=
thermo
.
C
p
();
const
volScalarField
&
cp
=
tcp
();
tmp
<
volScalarField
>
tK
=
thermo
.
K
();
//tmp<volSymmTensorField> tK = thermo.directionalK();
const
volScalarField
&
K
=
tK
();
//const volSymmTensorField& K = tK();
volScalarField
&
T
=
thermo
.
T
();
applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C
View file @
ad5305ae
...
...
@@ -55,4 +55,35 @@ Foam::scalar Foam::solidRegionDiffNo
}
Foam
::
scalar
Foam
::
solidRegionDiffNo
(
const
fvMesh
&
mesh
,
const
Time
&
runTime
,
const
volScalarField
&
Cprho
,
const
volSymmTensorField
&
Kdirectional
)
{
scalar
DiNum
=
0
.
0
;
scalar
meanDiNum
=
0
.
0
;
volScalarField
K
=
mag
(
Kdirectional
);
//- Take care: can have fluid domains with 0 cells so do not test for
// zero internal faces.
surfaceScalarField
KrhoCpbyDelta
=
mesh
.
surfaceInterpolation
::
deltaCoeffs
()
*
fvc
::
interpolate
(
K
)
/
fvc
::
interpolate
(
Cprho
);
DiNum
=
gMax
(
KrhoCpbyDelta
.
internalField
())
*
runTime
.
deltaT
().
value
();
meanDiNum
=
(
average
(
KrhoCpbyDelta
)).
value
()
*
runTime
.
deltaT
().
value
();
Info
<<
"Region: "
<<
mesh
.
name
()
<<
" Diffusion Number mean: "
<<
meanDiNum
<<
" max: "
<<
DiNum
<<
endl
;
return
DiNum
;
}
// ************************************************************************* //
applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.H
View file @
ad5305ae
...
...
@@ -41,6 +41,15 @@ namespace Foam
const
volScalarField
&
Cprho
,
const
volScalarField
&
K
);
scalar
solidRegionDiffNo
(
const
fvMesh
&
mesh
,
const
Time
&
runTime
,
const
volScalarField
&
Cprho
,
const
volSymmTensorField
&
K
);
}
#endif
...
...
applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solveSolid.H
View file @
ad5305ae
...
...
@@ -18,6 +18,8 @@ if (finalIter)
Info
<<
"Min/max T:"
<<
min
(
T
)
<<
' '
<<
max
(
T
)
<<
endl
;
}
thermo
.
correct
();
if
(
finalIter
)
{
mesh
.
data
::
remove
(
"finalIteration"
);
...
...
applications/solvers/lagrangian/coalChemistryFoam/Make/options
View file @
ad5305ae
...
...
@@ -10,8 +10,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
...
...
@@ -33,8 +33,8 @@ EXE_LIBS = \
-lbasicThermophysicalModels \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lthermophysicalFunctions \
-lreactionThermophysicalModels \
-lSLGThermo \
...
...
applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/Make/options
View file @
ad5305ae
...
...
@@ -10,8 +10,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
...
...
@@ -32,8 +32,8 @@ EXE_LIBS = \
-lbasicThermophysicalModels \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lthermophysicalFunctions \
-lreactionThermophysicalModels \
-lSLGThermo \
...
...
applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options
View file @
ad5305ae
...
...
@@ -5,8 +5,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/pdfs/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
...
...
@@ -26,8 +26,8 @@ EXE_LIBS = \
-lcompressibleLESModels \
-lspecie \
-lbasicThermophysicalModels \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lthermophysicalFunctions \
-lreactionThermophysicalModels \
-lSLGThermo \
...
...
applications/solvers/lagrangian/reactingParcelFoam/Make/options
View file @
ad5305ae
...
...
@@ -9,8 +9,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
...
...
@@ -31,8 +31,8 @@ EXE_LIBS = \
-lbasicThermophysicalModels \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lthermophysicalFunctions \
-lreactionThermophysicalModels \
-lSLGThermo \
...
...
applications/solvers/lagrangian/steadyReactingParcelFoam/Make/options
View file @
ad5305ae
...
...
@@ -10,8 +10,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
...
...
@@ -32,8 +32,8 @@ EXE_LIBS = \
-lbasicThermophysicalModels \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lthermophysicalFunctions \
-lreactionThermophysicalModels \
-lSLGThermo \
...
...
applications/utilities/miscellaneous/foamDebugSwitches/Make/options
View file @
ad5305ae
...
...
@@ -47,9 +47,9 @@ EXE_LIBS = \
-lrandomProcesses \
-lreactionThermophysicalModels \
-lsampling \
-l
s
olidMixture \
-l
pointS
olidMixture \
-lsolidParticle \
-l
s
olids \
-l
pointS
olids \
-lspecie \
-lsurfMesh \
-lsystemCall \
...
...
src/ODE/ODESolvers/KRR4/KRR4.C
View file @
ad5305ae
...
...
@@ -58,17 +58,17 @@ const scalar
Foam
::
KRR4
::
KRR4
(
const
ODE
&
ode
)
:
ODESolver
(
ode
),
yTemp_
(
n_
),
dydxTemp_
(
n_
),
g1_
(
n_
),
g2_
(
n_
),
g3_
(
n_
),
g4_
(
n_
),
yErr_
(
n_
),
dfdx_
(
n_
),
dfdy_
(
n_
,
n_
),
a_
(
n_
,
n_
),
pivotIndices_
(
n_
)
yTemp_
(
n_
,
0
.
0
),
dydxTemp_
(
n_
,
0
.
0
),
g1_
(
n_
,
0
.
0
),
g2_
(
n_
,
0
.
0
),
g3_
(
n_
,
0
.
0
),
g4_
(
n_
,
0
.
0
),
yErr_
(
n_
,
0
.
0
),
dfdx_
(
n_
,
0
.
0
),
dfdy_
(
n_
,
n_
,
0
.
0
),
a_
(
n_
,
n_
,
0
.
0
),
pivotIndices_
(
n_
,
0
.
0
)
{}
...
...
src/ODE/ODESolvers/RK/RK.C
View file @
ad5305ae
...
...
@@ -57,14 +57,14 @@ const scalar
Foam
::
RK
::
RK
(
const
ODE
&
ode
)
:
ODESolver
(
ode
),
yTemp_
(
n_
),
ak2_
(
n_
),
ak3_
(
n_
),
ak4_
(
n_
),
ak5_
(
n_
),
ak6_
(
n_
),
yErr_
(
n_
),
yTemp2_
(
n_
)
yTemp_
(
n_
,
0
.
0
),
ak2_
(
n_
,
0
.
0
),
ak3_
(
n_
,
0
.
0
),
ak4_
(
n_
,
0
.
0
),
ak5_
(
n_
,
0
.
0
),
ak6_
(
n_
,
0
.
0
),
yErr_
(
n_
,
0
.
0
),
yTemp2_
(
n_
,
0
.
0
)
{}
...
...
src/ODE/ODESolvers/SIBS/SIBS.C
View file @
ad5305ae
...
...
@@ -50,17 +50,17 @@ namespace Foam
Foam
::
SIBS
::
SIBS
(
const
ODE
&
ode
)
:
ODESolver
(
ode
),
a_
(
iMaxX_
),
alpha_
(
kMaxX_
,
kMaxX_
),
d_p_
(
n_
,
kMaxX_
),
x_p_
(
kMaxX_
),
err_
(
kMaxX_
),
yTemp_
(
n_
),
ySeq_
(
n_
),
yErr_
(
n_
),
dfdx_
(
n_
),
dfdy_
(
n_
,
n_
),
a_
(
iMaxX_
,
0
.
0
),
alpha_
(
kMaxX_
,
kMaxX_
,
0
.
0
),
d_p_
(
n_
,
kMaxX_
,
0
.
0
),
x_p_
(
kMaxX_
,
0
.
0
),
err_
(
kMaxX_
,
0
.
0
),
yTemp_
(
n_
,
0
.
0
),
ySeq_
(
n_
,
0
.
0
),
yErr_
(
n_
,
0
.
0
),
dfdx_
(
n_
,
0
.
0
),
dfdy_
(
n_
,
n_
,
0
.
0
),
first_
(
1
),
epsOld_
(
-
1
.
0
)
{}
...
...
src/lagrangian/coalCombustion/Make/options
View file @
ad5305ae
...
...
@@ -8,8 +8,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
...
...
@@ -30,8 +30,8 @@ LIB_LIBS = \
-lbasicThermophysicalModels \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lreactionThermophysicalModels \
-lSLGThermo \
-lcompressibleRASModels \
...
...
src/lagrangian/intermediate/Make/options
View file @
ad5305ae
...
...
@@ -7,8 +7,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
s
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/
pointS
olidMixture/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
...
...
@@ -27,8 +27,8 @@ LIB_LIBS = \
-lpdf \
-lliquids \
-lliquidMixture \
-l
s
olids \
-l
s
olidMixture \
-l
pointS
olids \
-l
pointS
olidMixture \
-lspecie \
-lbasicThermophysicalModels \
-lreactionThermophysicalModels \
...
...
src/lagrangian/intermediate/submodels/Reacting/CompositionModel/CompositionModel/CompositionModel.C
View file @
ad5305ae
...
...
@@ -100,7 +100,7 @@ const Foam::liquidMixture& Foam::CompositionModel<CloudType>::liquids() const
template
<
class
CloudType
>
const
Foam
::
s
olidMixture
&
Foam
::
CompositionModel
<
CloudType
>::
solids
()
const
const
Foam
::
pointS
olidMixture
&
Foam
::
CompositionModel
<
CloudType
>::
solids
()
const
{
return
thermo_
.
solids
();
}
...
...
src/lagrangian/intermediate/submodels/Reacting/CompositionModel/CompositionModel/CompositionModel.H
View file @
ad5305ae
...
...
@@ -143,7 +143,7 @@ public:
const
liquidMixture
&
liquids
()
const
;
//- Return the global (additional) solids
const
s
olidMixture
&
solids
()
const
;
const
pointS
olidMixture
&
solids
()
const
;
//- Return the list of phase properties
const
phasePropertiesList
&
phaseProps
()
const
;
...
...
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment