Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
94ed45c1
Commit
94ed45c1
authored
Dec 20, 2015
by
Henry Weller
Browse files
alphaContactAngleFvPatchScalarField, constantAlphaContactAngleFvPatchScalarField: minor update
parent
f0e0fe69
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/transportModels/twoPhaseProperties/alphaContactAngle/alphaContactAngle/alphaContactAngleFvPatchScalarField.C
View file @
94ed45c1
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -24,9 +24,9 @@ License
\*---------------------------------------------------------------------------*/
#include "alphaContactAngleFvPatchScalarField.H"
#include "addToRunTimeSelectionTable.H"
#include "fvPatchFieldMapper.H"
#include "volMesh.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -69,19 +69,6 @@ Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
{}
Foam
::
alphaContactAngleFvPatchScalarField
::
alphaContactAngleFvPatchScalarField
(
const
alphaContactAngleFvPatchScalarField
&
acpsf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
fvPatchFieldMapper
&
mapper
)
:
fixedGradientFvPatchScalarField
(
acpsf
,
p
,
iF
,
mapper
),
limit_
(
acpsf
.
limit_
)
{}
Foam
::
alphaContactAngleFvPatchScalarField
::
alphaContactAngleFvPatchScalarField
(
const
fvPatch
&
p
,
...
...
@@ -106,6 +93,19 @@ Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
}
Foam
::
alphaContactAngleFvPatchScalarField
::
alphaContactAngleFvPatchScalarField
(
const
alphaContactAngleFvPatchScalarField
&
acpsf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
fvPatchFieldMapper
&
mapper
)
:
fixedGradientFvPatchScalarField
(
acpsf
,
p
,
iF
,
mapper
),
limit_
(
acpsf
.
limit_
)
{}
Foam
::
alphaContactAngleFvPatchScalarField
::
alphaContactAngleFvPatchScalarField
(
const
alphaContactAngleFvPatchScalarField
&
acpsf
...
...
src/transportModels/twoPhaseProperties/alphaContactAngle/constantAlphaContactAngle/constantAlphaContactAngleFvPatchScalarField.C
View file @
94ed45c1
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -24,9 +24,9 @@ License
\*---------------------------------------------------------------------------*/
#include "constantAlphaContactAngleFvPatchScalarField.H"
#include "addToRunTimeSelectionTable.H"
#include "volMesh.H"
#include "fvPatchFieldMapper.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
@@ -45,30 +45,30 @@ constantAlphaContactAngleFvPatchScalarField
Foam
::
constantAlphaContactAngleFvPatchScalarField
::
constantAlphaContactAngleFvPatchScalarField
(
const
constantAlphaContactAngleFvPatchScalarField
&
gcpsf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
fvPatchFieldMapper
&
mapper
const
dictionary
&
dict
)
:
alphaContactAngleFvPatchScalarField
(
gcpsf
,
p
,
iF
,
mapper
),
theta0_
(
gcpsf
.
theta0_
)
{}
alphaContactAngleFvPatchScalarField
(
p
,
iF
,
dict
),
theta0_
(
readScalar
(
dict
.
lookup
(
"theta0"
)))
{
evaluate
();
}
Foam
::
constantAlphaContactAngleFvPatchScalarField
::
constantAlphaContactAngleFvPatchScalarField
(
const
constantAlphaContactAngleFvPatchScalarField
&
gcpsf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
dictionary
&
dict
const
fvPatchFieldMapper
&
mapper
)
:
alphaContactAngleFvPatchScalarField
(
p
,
iF
,
dict
),
theta0_
(
readScalar
(
dict
.
lookup
(
"theta0"
)))
{
evaluate
();
}
alphaContactAngleFvPatchScalarField
(
gcpsf
,
p
,
iF
,
mapper
),
theta0_
(
gcpsf
.
theta0_
)
{}
Foam
::
constantAlphaContactAngleFvPatchScalarField
::
...
...
src/transportModels/twoPhaseProperties/alphaContactAngle/constantAlphaContactAngle/constantAlphaContactAngleFvPatchScalarField.H
View file @
94ed45c1
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -25,8 +25,11 @@ Class
Foam::constantAlphaContactAngleFvPatchScalarField
Description
A constant alphaContactAngle scalar boundary condition
(alphaContactAngleFvPatchScalarField)
A constant alphaContactAngle scalar boundary condition.
SeeAlso
Foam::alphaContactAngleFvPatchScalarField
Foam::temperatureDependentAlphaContactAngleFvPatchScalarField
SourceFiles
constantAlphaContactAngleFvPatchScalarField.C
...
...
Write
Preview
Markdown
is supported
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