Skip to content
GitLab
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
71036b3b
Commit
71036b3b
authored
May 29, 2011
by
andy
Browse files
ENH: Updated solid thermo i/o
parent
3d24f995
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/solid/radiation/const/constSolidRad.C
View file @
71036b3b
...
...
@@ -37,18 +37,9 @@ template<class thermo>
constSolidRad
<
thermo
>::
constSolidRad
(
const
dictionary
&
dict
)
:
thermo
(
dict
),
kappa_
(
readScalar
(
dict
.
subDict
(
"radiativeProperties"
).
lookup
(
"kappa"
))),
sigmaS_
(
readScalar
(
dict
.
subDict
(
"radiativeProperties"
).
lookup
(
"sigmaS"
)
)
),
emissivity_
(
readScalar
(
dict
.
subDict
(
"radiativeProperties"
).
lookup
(
"emissivity"
))
)
kappa_
(
readScalar
(
dict
.
subDict
(
"radiation"
).
lookup
(
"kappa"
))),
sigmaS_
(
readScalar
(
dict
.
subDict
(
"radiation"
).
lookup
(
"sigmaS"
))),
emissivity_
(
readScalar
(
dict
.
subDict
(
"radiation"
).
lookup
(
"emissivity"
)))
{}
...
...
src/thermophysicalModels/solid/rhoType/const/constRho.C
View file @
71036b3b
...
...
@@ -29,7 +29,7 @@ License
Foam
::
constRho
::
constRho
(
const
dictionary
&
dict
)
:
rho_
(
readScalar
(
dict
.
subDict
(
"density
Properties
"
).
lookup
(
"rho"
)))
rho_
(
readScalar
(
dict
.
subDict
(
"density"
).
lookup
(
"rho"
)))
{}
...
...
src/thermophysicalModels/solid/thermo/const/constSolidThermo.C
View file @
71036b3b
...
...
@@ -35,8 +35,8 @@ Foam::constSolidThermo<rhoType>::constSolidThermo
)
:
rhoType
(
dict
),
Cp_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"Cp"
))),
Hf_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"Hf"
)))
Cp_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"Cp"
))),
Hf_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"Hf"
)))
{}
...
...
src/thermophysicalModels/solid/thermo/exponential/exponentialSolidThermo.C
View file @
71036b3b
...
...
@@ -35,10 +35,10 @@ Foam::exponentialSolidThermo<rhoType>::exponentialSolidThermo
)
:
rhoType
(
dict
),
c0_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"C0"
))),
n0_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"n0"
))),
Tref_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"Tref"
))),
Hf_
(
readScalar
(
dict
.
subDict
(
"thermo
Propertie
s"
).
lookup
(
"Hf"
)))
c0_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"C0"
))),
n0_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"n0"
))),
Tref_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"Tref"
))),
Hf_
(
readScalar
(
dict
.
subDict
(
"thermo
dynamic
s"
).
lookup
(
"Hf"
)))
{}
...
...
src/thermophysicalModels/solid/transport/const/constSolidTransport.C
View file @
71036b3b
...
...
@@ -32,7 +32,7 @@ template<class thermo>
Foam
::
constSolidTransport
<
thermo
>::
constSolidTransport
(
const
dictionary
&
dict
)
:
thermo
(
dict
),
K_
(
readScalar
(
dict
.
subDict
(
"transport
Properties
"
).
lookup
(
"K"
)))
K_
(
readScalar
(
dict
.
subDict
(
"transport"
).
lookup
(
"K"
)))
{}
...
...
src/thermophysicalModels/solid/transport/exponential/exponentialSolidTransport.C
View file @
71036b3b
...
...
@@ -39,7 +39,7 @@ Foam::exponentialSolidTransport<thermo>::exponentialSolidTransport
n0_
(
0
.
0
),
Tref_
(
0
.
0
)
{
const
dictionary
&
subDict
=
dict
.
subDict
(
"transport
Properties
"
);
const
dictionary
&
subDict
=
dict
.
subDict
(
"transport"
);
K0_
=
readScalar
(
subDict
.
lookup
(
"K0"
));
n0_
=
readScalar
(
subDict
.
lookup
(
"n0"
));
Tref_
=
readScalar
(
subDict
.
lookup
(
"Tref"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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