Skip to content
GitLab
Menu
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
24371a1d
Commit
24371a1d
authored
Jun 05, 2019
by
Andrew Heather
Browse files
BUG: set the oriented flag - see
#1324
parent
289a7acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C
View file @
24371a1d
...
...
@@ -270,22 +270,19 @@ Foam::BlendedInterfacialModel<modelType>::F() const
f2
=
blending_
.
f2
(
pair1In2_
.
dispersed
(),
pair2In1_
.
dispersed
());
}
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>>
x
auto
x
=
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>>
::
New
(
new
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
IOobject
(
IOobject
(
modelType
::
typeName
+
":F"
,
pair_
.
phase1
().
mesh
().
time
().
timeName
(),
pair_
.
phase1
().
mesh
(),
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
,
false
),
modelType
::
typeName
+
":F"
,
pair_
.
phase1
().
mesh
().
time
().
timeName
(),
pair_
.
phase1
().
mesh
(),
dimensioned
<
Type
>
(
modelType
::
dimF
,
Zero
)
)
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
,
false
),
pair_
.
phase1
().
mesh
(),
dimensioned
<
Type
>
(
modelType
::
dimF
,
Zero
)
);
if
(
model_
.
valid
())
...
...
@@ -338,24 +335,23 @@ Foam::BlendedInterfacialModel<modelType>::Ff() const
);
}
tmp
<
surfaceScalarField
>
x
auto
x
=
tmp
<
surfaceScalarField
>
::
New
(
new
surfaceScalarField
IOobject
(
IOobject
(
modelType
::
typeName
+
":Ff"
,
pair_
.
phase1
().
mesh
().
time
().
timeName
(),
pair_
.
phase1
().
mesh
(),
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
,
false
),
modelType
::
typeName
+
":Ff"
,
pair_
.
phase1
().
mesh
().
time
().
timeName
(),
pair_
.
phase1
().
mesh
(),
dimensionedScalar
(
modelType
::
dimF
*
dimArea
,
Zero
)
)
IOobject
::
NO_READ
,
IOobject
::
NO_WRITE
,
false
),
pair_
.
phase1
().
mesh
(),
dimensionedScalar
(
modelType
::
dimF
*
dimArea
,
Zero
)
);
x
.
ref
().
setOriented
();
if
(
model_
.
valid
())
{
x
.
ref
()
+=
model_
->
Ff
()
*
(
f1
()
-
f2
());
...
...
Write
Preview
Supports
Markdown
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