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
9f37c3c5
Commit
9f37c3c5
authored
8 years ago
by
Henry Weller
Browse files
Options
Downloads
Patches
Plain Diff
transportModels::interfaceProperties: simplified interface
parent
ddc694e6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/transportModels/interfaceProperties/interfaceProperties.C
+6
-0
6 additions, 0 deletions
...transportModels/interfaceProperties/interfaceProperties.C
src/transportModels/interfaceProperties/interfaceProperties.H
+2
-15
2 additions, 15 deletions
...transportModels/interfaceProperties/interfaceProperties.H
with
8 additions
and
15 deletions
src/transportModels/interfaceProperties/interfaceProperties.C
+
6
−
0
View file @
9f37c3c5
...
@@ -222,6 +222,12 @@ Foam::interfaceProperties::nearInterface() const
...
@@ -222,6 +222,12 @@ Foam::interfaceProperties::nearInterface() const
}
}
void
Foam
::
interfaceProperties
::
correct
()
{
calculateK
();
}
bool
Foam
::
interfaceProperties
::
read
()
bool
Foam
::
interfaceProperties
::
read
()
{
{
alpha1_
.
mesh
().
solverDict
(
alpha1_
.
name
()).
lookup
(
"cAlpha"
)
>>
cAlpha_
;
alpha1_
.
mesh
().
solverDict
(
alpha1_
.
name
()).
lookup
(
"cAlpha"
)
>>
cAlpha_
;
...
...
This diff is collapsed.
Click to expand it.
src/transportModels/interfaceProperties/interfaceProperties.H
+
2
−
15
View file @
9f37c3c5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
========= |
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
License
License
...
@@ -127,16 +127,6 @@ public:
...
@@ -127,16 +127,6 @@ public:
return
nHatf_
;
return
nHatf_
;
}
}
const
volScalarField
&
K
()
const
{
return
K_
;
}
const
dimensionedScalar
&
sigma
()
const
{
return
sigma_
;
}
tmp
<
volScalarField
>
sigmaK
()
const
tmp
<
volScalarField
>
sigmaK
()
const
{
{
return
sigma_
*
K_
;
return
sigma_
*
K_
;
...
@@ -148,10 +138,7 @@ public:
...
@@ -148,10 +138,7 @@ public:
// Field values are 1 near and 0 away for the interface.
// Field values are 1 near and 0 away for the interface.
tmp
<
volScalarField
>
nearInterface
()
const
;
tmp
<
volScalarField
>
nearInterface
()
const
;
void
correct
()
void
correct
();
{
calculateK
();
}
//- Read transportProperties dictionary
//- Read transportProperties dictionary
bool
read
();
bool
read
();
...
...
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