Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
8af9e44d
Commit
8af9e44d
authored
Mar 07, 2013
by
Spencer Sherwin
Browse files
Updated summary and activated SVV homo1D parameters
parent
25238e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
solvers/IncNavierStokesSolver/EquationSystems/VelocityCorrectionScheme.cpp
View file @
8af9e44d
...
@@ -87,13 +87,10 @@ namespace Nektar
...
@@ -87,13 +87,10 @@ namespace Nektar
ASSERTL0
(
i
!=
(
int
)
LibUtilities
::
SIZE_TimeIntegrationMethod
,
"Invalid time integration type."
);
ASSERTL0
(
i
!=
(
int
)
LibUtilities
::
SIZE_TimeIntegrationMethod
,
"Invalid time integration type."
);
m_session
->
MatchSolverInfo
(
"SpectralVanishingViscosity"
,
"True"
,
m_useSpecVanVisc
,
false
);
m_session
->
MatchSolverInfo
(
"SpectralVanishingViscosity"
,
"True"
,
m_useSpecVanVisc
,
false
);
if
(
m_useSpecVanVisc
)
m_session
->
LoadParameter
(
"SVVCutoffRatio"
,
m_sVVCutoffRatio
,
0.75
);
{
m_session
->
LoadParameter
(
"SVVDiffCoeff"
,
m_sVVDiffCoeff
,
0.1
);
m_session
->
LoadParameter
(
"SVVCutoffRatio"
,
m_sVVCutoffRatio
,
0.75
);
m_session
->
LoadParameter
(
"SVVDiffCoeff"
,
m_sVVDiffCoeff
,
0.1
);
}
if
(
m_HomogeneousType
==
eHomogeneous1D
)
if
(
m_HomogeneousType
==
eHomogeneous1D
)
{
{
ASSERTL0
(
m_nConvectiveFields
>
2
,
"Expect to have three velcoity fields with homogenous expansion"
);
ASSERTL0
(
m_nConvectiveFields
>
2
,
"Expect to have three velcoity fields with homogenous expansion"
);
...
@@ -377,7 +374,7 @@ namespace Nektar
...
@@ -377,7 +374,7 @@ namespace Nektar
if
(
m_useHomo1DSpecVanVisc
)
if
(
m_useHomo1DSpecVanVisc
)
{
{
cout
<<
"
\t
Smoothing : Spectral vanishing viscosity (homogeneous1D
)
"
<<
m_sVVCutoffRatio
<<
", diff coeff = "
<<
m_sVVDiffCoeff
<<
")"
<<
endl
;
cout
<<
"
\t
Smoothing : Spectral vanishing viscosity (homogeneous1D
, cut off ratio =
"
<<
m_sVVCutoffRatio
<<
", diff coeff = "
<<
m_sVVDiffCoeff
<<
")"
<<
endl
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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