Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
90a9cd06
Commit
90a9cd06
authored
Dec 20, 2017
by
sergio
Browse files
ENH: Constructing coeff volScalarField with 'calculated' Bc's for compressible flow to
avoid unphysical 'fixedValue' at boundaries
parent
b14e7b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/pressure/pressure.C
View file @
90a9cd06
...
...
@@ -180,8 +180,16 @@ bool Foam::functionObjects::pressure::calc()
(
new
volScalarField
(
resultName_
,
coeff
(
pRef
(
pDyn
(
p
,
rhoScale
(
p
))))
IOobject
(
resultName_
,
p
.
mesh
().
time
().
timeName
(),
p
.
mesh
(),
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
),
coeff
(
pRef
(
pDyn
(
p
,
rhoScale
(
p
)))),
fvPatchField
<
scalar
>::
calculatedType
()
)
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment