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 const volScalarField kappa(thermo.kappa());
10 
11 Info<< "Calculating Lame's coefficients\n" << endl;
12 
13 const volScalarField mu(E/(2*(1 + nu)));
14 
16 (
17  thermo.planeStress()
18  ? nu*E/((1 + nu)*(1 - nu))
19  : nu*E/((1 + nu)*(1 - 2*nu))
20 );
21 
22 const volScalarField threeK
23 (
24  thermo.planeStress()
25  ? E/(1 - nu)
26  : E/(1 - 2*nu)
27 );
28 
29 const volScalarField threeKalpha("threeKalpha", threeK*thermo.alphav());
const dimensionedScalar & kappa
Coulomb constant: default SI units: [N.m2/C2].
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
rhoReactionThermo & thermo
Definition: createFields.H:28
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
dynamicFvMesh & mesh
const dimensionedScalar & mu
Atomic mass unit.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
scalar Cp(const scalar p, const scalar T) const
Definition: EtoHthermo.H:2
messageStream Info