All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
readThermophysicalProperties.H
Go to the documentation of this file.
1 Info<< "Reading thermophysical properties\n" << endl;
2 
3 solidDisplacementThermo thermo(mesh);
4 
5 const volScalarField& E(thermo.E());
6 const volScalarField& nu(thermo.nu());
7 
8 const volScalarField Cp(thermo.Cp());
9 
10 Info<< "Calculating Lame's coefficients\n" << endl;
11 
12 const volScalarField mu(E/(2*(1 + nu)));
13 
15 (
16  thermo.planeStress()
17  ? nu*E/((1 + nu)*(1 - nu))
18  : nu*E/((1 + nu)*(1 - 2*nu))
19 );
20 
21 const volScalarField threeK
22 (
23  thermo.planeStress()
24  ? E/(1 - nu)
25  : E/(1 - 2*nu)
26 );
27 
28 const volScalarField threeKalpha("threeKalpha", threeK*thermo.alphav());
fluidReactionThermo & thermo
Definition: createFields.H:28
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
dynamicFvMesh & mesh
const dimensionedScalar mu
Atomic mass unit.
scalar Cp(const scalar p, const scalar T) const
Definition: EtoHthermo.H:2
messageStream Info