Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
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
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
ca4a0e1a
Commit
ca4a0e1a
authored
3 years ago
by
Robin Kamenicky
Committed by
Kutalmış Berçin
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
BUG: linearTsubDiameter: fix the definition of bubble diameter (fixes
#2312
)
parent
0cbd8eab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/phaseSystemModels/reactingEuler/multiphaseSystem/diameterModels/linearTsubDiameter/linearTsubDiameter.C
+3
-3
3 additions, 3 deletions
...em/diameterModels/linearTsubDiameter/linearTsubDiameter.C
with
3 additions
and
3 deletions
src/phaseSystemModels/reactingEuler/multiphaseSystem/diameterModels/linearTsubDiameter/linearTsubDiameter.C
+
3
−
3
View file @
ca4a0e1a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
\\/ M anipulation |
\\/ M anipulation |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Copyright (C) 2018-2019 OpenFOAM Foundation
Copyright (C) 2018-2019 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
Copyright (C) 2020
-2022
OpenCFD Ltd.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
License
License
This file is part of OpenFOAM.
This file is part of OpenFOAM.
...
@@ -126,7 +126,7 @@ void Foam::diameterModels::linearTsub::correct()
...
@@ -126,7 +126,7 @@ void Foam::diameterModels::linearTsub::correct()
const
volScalarField
Tsub
const
volScalarField
Tsub
(
(
liquid
.
thermo
().
T
()
-
satModel
.
Tsat
(
liquid
.
thermo
().
p
())
satModel
.
Tsat
(
liquid
.
thermo
().
p
())
-
liquid
.
thermo
().
T
()
);
);
d_
=
max
d_
=
max
...
@@ -135,7 +135,7 @@ void Foam::diameterModels::linearTsub::correct()
...
@@ -135,7 +135,7 @@ void Foam::diameterModels::linearTsub::correct()
min
min
(
(
d2_
,
d2_
,
(
d1_
*
(
Tsub
-
Tsub2_
)
+
d2_
*
(
Tsub
-
Tsub1_
))
/
(
Tsub
2
_
-
Tsub
1
_
)
(
d1_
*
(
Tsub
-
Tsub2_
)
-
d2_
*
(
Tsub
-
Tsub1_
))
/
(
Tsub
1
_
-
Tsub
2
_
)
)
)
);
);
}
}
...
...
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