If you look at the IncNavierStokesSolver in VelocityCorrectionScheme.cpp you will find a function
void VelocityCorrectionScheme::v_SolveViscous(
const Array<OneD, const Array<OneD, NekDouble> > &Forcing,
Array<OneD, Array<OneD, NekDouble> > &outarray,
const NekDouble aii_Dt)
{
StdRegions::ConstFactorMap factors;
if(m_useSpecVanVisc)
{
factors[StdRegions::eFactorSVVCutoffRatio] = m_sVVCutoffRatio;
factors[StdRegions::eFactorSVVDiffCoeff] = m_sVVDiffCoeff/m_kinvis;
}
// Solve Helmholtz system and put in Physical space
for(int i = 0; i < m_nConvectiveFields; ++i)
{
// Setup coefficients for equation
factors[StdRegions::eFactorLambda] = 1.0/aii_Dt/m_diffCoeff[i];
m_fields[i]->HelmSolve(Forcing[i], m_fields[i]->UpdateCoeffs(),
NullFlagList, factors);
m_fields[i]->BwdTrans(m_fields[i]->GetCoeffs(),outarray[i]);
}
}
From what I can see here the SVV is then turned on for all components of the convected fields (nConvectiveFields) so I believe it should either be on for all components or off. Is this what you have observed?
Cheers,
Spencer.
PS We are planning our Nektar++ workshop from June 10th-12th in Exeter if you are available. Information will be circulated shortly.
Hi all,
I'd like to study scalar mixing in the jets-in-cross-flow case using IncNavierStokesSolver (an SVV-LES simulation). According to the user guide, I can simply add a transport equation for a scalar in the condition file. However, I'm not sure what
would be the easiest way to apply the SVV filter on the scalar field.
Have someone tried this before? Any help is much appreciated.
BR,
Vishal
---
Vishal SAINI
Master of Research,
University of Cambridge.
Master in Turbulence
EC Lille, ENSIP and ENSMAFrance.
(+44) 7 459 186 139 (UK)
(+33) 7 58 24 84 02 (France)
_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Spencer Sherwin FREng, FRAeS
Head, Aerodynamics,
Director of Research Computing Service,
Professor of Computational Fluid Mechanics,
Department of Aeronautics,
s.sherwin@imperial.ac.uk South Kensington Campus,
Phone: +44 (0)20 7594 5052 Imperial College London,
Fax: +44 (0)20 7594 1974 London, SW7 2AZ, UK
http://www.imperial.ac.uk/people/s.sherwin/