Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Commits
33e9ae33
Commit
33e9ae33
authored
8 years ago
by
Andrew Heather
Browse files
Options
Downloads
Patches
Plain Diff
ENH: rhoPimple[DyM]Foam - updated treatment for dpdt
parent
44ce9567
No related branches found
No related tags found
2 merge requests
!121
Merge develop into master for v1706 release
,
!114
Feature second order restart
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/solvers/compressible/rhoPimpleFoam/createFields.H
+2
-16
2 additions, 16 deletions
...cations/solvers/compressible/rhoPimpleFoam/createFields.H
src/finiteVolume/cfdTools/compressible/createDpdt.H
+18
-0
18 additions, 0 deletions
src/finiteVolume/cfdTools/compressible/createDpdt.H
with
20 additions
and
16 deletions
applications/solvers/compressible/rhoPimpleFoam/createFields.H
+
2
−
16
View file @
33e9ae33
...
@@ -35,8 +35,7 @@ volVectorField U
...
@@ -35,8 +35,7 @@ volVectorField U
IOobject
::
MUST_READ
,
IOobject
::
MUST_READ
,
IOobject
::
AUTO_WRITE
IOobject
::
AUTO_WRITE
),
),
mesh
,
mesh
true
);
);
#include
"compressibleCreatePhi.H"
#include
"compressibleCreatePhi.H"
...
@@ -57,20 +56,7 @@ autoPtr<compressible::turbulenceModel> turbulence
...
@@ -57,20 +56,7 @@ autoPtr<compressible::turbulenceModel> turbulence
)
)
);
);
Info
<<
"Creating field dpdt
\n
"
<<
endl
;
#include
"createDpdt.H"
volScalarField
dpdt
(
IOobject
(
"dpdt"
,
runTime
.
timeName
(),
mesh
,
IOobject
::
READ_IF_PRESENT
,
IOobject
::
AUTO_WRITE
),
mesh
,
dimensionedScalar
(
"dpdt"
,
p
.
dimensions
()
/
dimTime
,
0
)
);
#include
"createK.H"
#include
"createK.H"
...
...
This diff is collapsed.
Click to expand it.
src/finiteVolume/cfdTools/compressible/createDpdt.H
0 → 100644
+
18
−
0
View file @
33e9ae33
Info
<<
"Creating field dpdt
\n
"
<<
endl
;
volScalarField
dpdt
(
IOobject
(
"dpdt"
,
runTime
.
timeName
(),
mesh
,
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
),
fvc
::
ddt
(
p
)
);
if
(
!
thermo
.
dpdt
())
{
dpdt
==
dimensionedScalar
(
"0"
,
dpdt
.
dimensions
(),
0
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment