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
ed8f5012
Commit
ed8f5012
authored
Aug 01, 2011
by
Henry
Browse files
Removed unused declarations
parent
80ebb46a
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/dieselSpray/spraySubModels/atomizationModel/LISA/LISA.C
View file @
ed8f5012
...
...
@@ -109,10 +109,6 @@ void Foam::LISA::atomizeParcel
scalar
rhoFuel
=
fuels
.
rho
(
1.0e+5
,
p
.
T
(),
p
.
X
());
scalar
nuFuel
=
muFuel
/
rhoFuel
;
vector
uDir
=
p
.
U
()
/
mag
(
p
.
U
());
scalar
uGas
=
mag
(
vel
&
uDir
);
// Might be the relative velocity between Liquid and Gas, but using the
// absolute velocity of the parcel as suggested by the authors
// scalar U = mag(p.Urel(vel));
...
...
src/lagrangian/spray/submodels/BreakupModel/SHF/SHF.C
View file @
ed8f5012
...
...
@@ -154,9 +154,6 @@ bool Foam::SHF<CloudType>::update
scalar
reLiquid
=
0
.
5
*
Urmag
*
d
/
mu
;
scalar
ohnesorge
=
sqrt
(
weLiquid
)
/
(
reLiquid
+
VSMALL
);
vector
acceleration
=
Urel
/
tMom
;
vector
trajectory
=
U
/
mag
(
U
);
scalar
weGasCorr
=
weGas
/
(
1
.
0
+
weCorrCoeff_
*
ohnesorge
);
// droplet deformation characteristic time
...
...
src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint/linearAxialAngularSpring/linearAxialAngularSpring.C
View file @
ed8f5012
...
...
@@ -85,7 +85,6 @@ Foam::sixDoFRigidBodyMotionRestraints::linearAxialAngularSpring::restrain
vector
refDir
=
rotationTensor
(
vector
(
1
,
0
,
0
),
axis_
)
&
vector
(
0
,
1
,
0
);
vector
oldDir
=
refQ_
&
refDir
;
vector
newDir
=
motion
.
orientation
()
&
refDir
;
if
(
mag
(
oldDir
&
axis_
)
>
0
.
95
||
mag
(
newDir
&
axis_
)
>
0
.
95
)
...
...
@@ -93,10 +92,8 @@ Foam::sixDoFRigidBodyMotionRestraints::linearAxialAngularSpring::restrain
// Directions getting close to the axis, change reference
refDir
=
rotationTensor
(
vector
(
1
,
0
,
0
),
axis_
)
&
vector
(
0
,
0
,
1
);
vector
oldDir
=
refQ_
&
refDir
;
vector
newDir
=
motion
.
orientation
()
&
refDir
;
oldDir
=
refQ_
&
refDir
;
newDir
=
motion
.
orientation
()
&
refDir
;
}
// Removing any axis component from oldDir and newDir and normalising
...
...
src/postProcessing/functionObjects/forces/pointPatchFields/derived/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionRestraint/tabulatedAxialAngularSpring/tabulatedAxialAngularSpring.C
View file @
ed8f5012
...
...
@@ -95,10 +95,8 @@ Foam::sixDoFRigidBodyMotionRestraints::tabulatedAxialAngularSpring::restrain
// Directions getting close to the axis, change reference
refDir
=
rotationTensor
(
vector
(
1
,
0
,
0
),
axis_
)
&
vector
(
0
,
0
,
1
);
vector
oldDir
=
refQ_
&
refDir
;
vector
newDir
=
motion
.
orientation
()
&
refDir
;
oldDir
=
refQ_
&
refDir
;
newDir
=
motion
.
orientation
()
&
refDir
;
}
// Removing any axis component from oldDir and newDir and normalising
...
...
src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C
View file @
ed8f5012
...
...
@@ -457,7 +457,7 @@ scalar reactingOneDim::addMassSources(const label patchI, const label faceI)
scalar
reactingOneDim
::
solidRegionDiffNo
()
const
{
scalar
DiNum
=
0
.
0
;
scalar
meanDiNum
=
0
.
0
;
if
(
regionMesh
().
nInternalFaces
()
>
0
)
{
surfaceScalarField
KrhoCpbyDelta
...
...
@@ -468,8 +468,6 @@ scalar reactingOneDim::solidRegionDiffNo() const
);
DiNum
=
max
(
KrhoCpbyDelta
.
internalField
())
*
time_
.
deltaTValue
();
meanDiNum
=
average
(
KrhoCpbyDelta
.
internalField
())
*
time
().
deltaTValue
();
}
return
DiNum
;
...
...
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