Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a11b93be
Commit
a11b93be
authored
Apr 11, 2018
by
Mark Olesen
Browse files
Merge remote-tracking branch 'origin/master' into develop
parents
0e669fcb
1ac7f2e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/OSspecific/POSIX/POSIX.C
View file @
a11b93be
...
...
@@ -57,10 +57,10 @@ Description
#include <sys/stat.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <dlfcn.h>
#include <link.h>
#include <netinet/in.h>
#ifdef USE_RANDOM
#include <climits>
#if INT_MAX != 2147483647
...
...
@@ -679,12 +679,12 @@ double Foam::highResLastModified(const fileName& name, const bool followLink)
// Ignore an empty name
if
(
!
name
.
empty
())
{
fileStat
fileStatus
(
name
);
fileStat
fileStatus
(
name
,
followLink
);
if
(
fileStatus
.
isValid
())
{
return
fileStatus
.
status
().
st_mtime
+
1e-9
*
fileStatus
.
status
().
st_
a
tim
.
tv_nsec
;
+
1e-9
*
fileStatus
.
status
().
st_
m
tim
.
tv_nsec
;
}
}
...
...
src/thermophysicalModels/reactionThermo/rhoReactionThermo/rhoReactionThermos.C
View file @
a11b93be
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -260,6 +260,14 @@ makeReactionMixtureThermo
icoPoly8EThermoPhysics
);
makeReactionMixtureThermo
(
rhoThermo
,
rhoReactionThermo
,
heRhoThermo
,
multiComponentMixture
,
icoPoly8TranspJanafEThermoPhysics
);
// Multi-component reaction thermo
...
...
@@ -365,6 +373,14 @@ makeReactionMixtureThermo
icoPoly8HThermoPhysics
);
makeReactionMixtureThermo
(
rhoThermo
,
rhoReactionThermo
,
heRhoThermo
,
multiComponentMixture
,
icoPoly8TranspJanafHThermoPhysics
);
// Multi-component reaction thermo
...
...
src/thermophysicalModels/specie/include/thermoPhysicsTypes.H
View file @
a11b93be
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -120,6 +120,20 @@ namespace Foam
8
>
icoPoly8HThermoPhysics
;
typedef
polynomialTransport
<
species
::
thermo
<
janafThermo
<
perfectGas
<
specie
>
>
,
sensibleEnthalpy
>
,
8
>
icoPoly8TranspJanafHThermoPhysics
;
// thermo physics types based on sensibleInternalEnergy
typedef
...
...
@@ -188,6 +202,20 @@ namespace Foam
>
,
8
>
icoPoly8EThermoPhysics
;
typedef
polynomialTransport
<
species
::
thermo
<
janafThermo
<
perfectGas
<
specie
>
>
,
sensibleInternalEnergy
>
,
8
>
icoPoly8TranspJanafEThermoPhysics
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
Write
Preview
Markdown
is supported
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