mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
to simplify construction of dimensionedScalar properties and avoid the duplication of the name string in the constructor call.
19 lines
445 B
C
19 lines
445 B
C
singlePhaseTransportModel laminarTransport(U, phi);
|
|
|
|
// Thermal expansion coefficient [1/K]
|
|
dimensionedScalar beta
|
|
(
|
|
"beta",
|
|
dimless/dimTemperature,
|
|
laminarTransport
|
|
);
|
|
|
|
// Reference temperature [K]
|
|
dimensionedScalar TRef("TRef", dimTemperature, laminarTransport);
|
|
|
|
// Laminar Prandtl number
|
|
dimensionedScalar Pr("Pr", dimless, laminarTransport);
|
|
|
|
// Turbulent Prandtl number
|
|
dimensionedScalar Prt("Prt", dimless, laminarTransport);
|