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
993b7af5
Commit
993b7af5
authored
2 years ago
by
Kutalmış Berçin
Committed by
Andrew Heather
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
BUG: contactAngleForce: avoid suppresing the film entering the domain (fixes
#2651
)
parent
6f2c609a
No related branches found
No related tags found
1 merge request
!584
ENH: dynamicContactAngleForce: new finite-area contact-angle force model
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/regionFaModels/liquidFilm/subModels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C
+15
-0
15 additions, 0 deletions
.../contactAngleForces/contactAngleForce/contactAngleForce.C
with
15 additions
and
0 deletions
src/regionFaModels/liquidFilm/subModels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C
+
15
−
0
View file @
993b7af5
...
@@ -167,6 +167,21 @@ tmp<faVectorMatrix> contactAngleForce::correct(areaVectorField& U)
...
@@ -167,6 +167,21 @@ tmp<faVectorMatrix> contactAngleForce::correct(areaVectorField& U)
}
}
}
}
for
(
const
faPatchScalarField
&
sigmaBf
:
sigma
.
boundaryField
())
{
const
faPatch
&
p
=
sigmaBf
.
patch
();
if
(
!
p
.
coupled
())
{
const
labelUList
&
faces
=
p
.
edgeFaces
();
forAll
(
sigmaBf
,
edgei
)
{
const
label
face0
=
faces
[
edgei
];
force
[
face0
]
=
Zero
;
}
}
}
if
(
film
().
regionMesh
().
time
().
writeTime
())
if
(
film
().
regionMesh
().
time
().
writeTime
())
{
{
...
...
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